Commit graph

433 commits

Author SHA1 Message Date
rom1504bot
f258c76b3a
Release 1.51.0 (#1354)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-04 21:23:47 +01:00
u9g
d6b4e82eb1
Add type to serverKey in server (#1349)
* add types to serverKey in server

* don't change dep order
2024-12-04 21:22:11 +01:00
dependabot[bot]
590dc33fed
Bump @types/node from 20.16.15 to 22.7.9 (#1345)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.16.15 to 22.7.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-27 21:29:40 +01:00
rom1504bot
89de052d44
Release 1.50.0 (#1346)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-26 23:54:20 +02:00
Grooble
5bebac3662
1.21 Support (#1342)
* Update default version

* Update README

* 1.21.1

* Update version.js

* Update ci.yml

* Update version.js

* add values for vec2f and ChatTypes

* fix lint

* fix server tests

* fix lint

* update mcdata

* remove debug install

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2024-10-26 23:52:46 +02:00
rom1504bot
11e8594bb4
Release 1.49.0 (#1339)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-13 01:09:14 +02:00
Romain Beaumont
0b0012d60f
support 1.20.6 (#1338)
* support 1.20.6

* change default version

* bump mcdata

* update mcdata
2024-10-13 01:08:18 +02:00
rom1504bot
81d7c71c93
Release 1.48.0 (#1336)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-13 00:00:06 +02:00
extremeheat
9b029e8b6f
1.20.5 (#1309)
* 1.20.5

* update examples

* Update for 1.20.5 chat_command_signed with seperateSignedChatCommandPacket feature

* updates

* update java

* re-enable packet tests

* Update client.js

add debug code after decompress

* Update client.js

* Update ci.yml

* Add `arrayWithLengthOffset` type to interpeter

* Update minecraft.js

* Update compiler-minecraft.js

* Update minecraft.js

* lint

* remote custom ci install

* Update package.json

* Update packetTest.js add Slot, SlotComponent

* Update packetTest.js

* Update packetTest.js

* Fix lint.

* Fix declare_recipes, Slot

* Update package.json

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2024-10-12 23:55:36 +02:00
rom1504bot
e50b604a60
Release 1.47.0 (#1288)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-26 01:20:24 +01:00
William Gaylord
1d9a38253a
1.20.3 / 1.20.4 support (#1275)
* Inital 1.20.3 update, bring in minecraft-data with 1.20.3 support and add it to the versions

* Add data for packetTest for explosion packet.

* Add 1.20.4 to version list.

* Add fix for 1.20.3+ NBT isntead of strings for chat. Not happy with this but it does work.

* Fix linting

* Update version.js

Remove 1.20.3 since its the same as 1.20.4. (As suggested)

* Comment how handleNBTStrings works.

* Removed debug console.log

* Update README.md

* chat packet nbt handling fix, use feature

* big endian UUID, add back `text` wrapper

* use prismarine-chat in client test

* expose _handleNbtComponent

* use prismarine-chat exposed processNbtMessage

* fix pre-1.20.4

* Update package.json

* Update server.js

* Update server.js

add missing import

* update server hello world

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
2024-02-26 01:14:49 +01:00
rom1504bot
f97a2367ba
Release 1.46.0 (#1285)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-11 16:09:25 +01:00
rom1504bot
eaf4c2e003
Release 1.45.0 (#1270)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-28 00:51:49 +01:00
extremeheat
112926da0c
Pc1.20.2 (#1265)
* Initial changes for 1.20.2

* add NBT serialize tag type handling

* update tests

* Update pnbt and mcdata for nbt change

* lint

* fix wrong param to sizeOfNbt

* fix dupe NBT types

* move nbt logic to prismarine-nbt

* update tests

* update tests

* disable protodef validator in pluginChannel

* Fix state desync

* dump loginPacket.json in test output

* enable validation

* remove testing line in ci.yml

* update pnbt to 2.5.0

* update doc for `playerJoin`

* Update serializer.js

* update examples

* lint

* disable client bundle handling if bundle becomes too big

* Update client.js

* bump mcdata

* add soundSource and packedChunkPos example test values

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-12-28 00:48:10 +01:00
Romain Beaumont
1740124c47
Improve CI setup for per version tests (#1267)
* Improve CI setup: move lint out of per version

* fix

* Simplify go back to all per version.

* refactor cycle test to use supported versions

* fix cycle packet test

* Add v to version to avoid 1.19 running every 1.19 minor.

* Add quotes.

* Use versions from js file in ci.yml

* Fix ci.yml syntax.

* Fix matrix read.

* fix

* fix

* fix gitignore
2023-12-28 00:12:23 +01:00
rom1504bot
827b6cdb61
Release 1.44.0 (#1250)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-05 15:27:09 +02:00
dependabot[bot]
94b9c228b0
Bump @types/readable-stream from 2.3.15 to 4.0.0 (#1247)
Bumps [@types/readable-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/readable-stream) from 2.3.15 to 4.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/readable-stream)

---
updated-dependencies:
- dependency-name: "@types/readable-stream"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-29 10:27:33 +02:00
Frej Alexander Nielsen
2e45c7f4ab
Release 1.43.2 (#1239)
* Update package.json

* Update HISTORY.md
2023-07-16 20:34:44 +02:00
Romain Beaumont
05e5a701f0
Release 1.43.1 (#1235)
* Update HISTORY.md

* Update package.json
2023-06-27 13:21:17 +02:00
Romain Beaumont
fa0116386b
Temporarily make node 18 not required in package.json 2023-06-27 13:20:01 +02:00
Romain Beaumont
f404b8d94b
Release 1.43.0 (#1234)
* Update package.json

* Update HISTORY.md
2023-06-24 21:12:42 +02:00
PondWader
960df173cc
1.20 (#1232)
* 1.20

* Add 1.20 to README

* bump mcdata

* clean

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-24 21:09:41 +02:00
Augustin Mauroy
1376cf6a31
chore(runtime): use LTS V18 (#1224)
* chore(runtime): use LTS V18

* chore(workflows): update

* remove usage `node:`

* Update packetTest.js

* Update client.js

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-03 23:17:27 +02:00
Romain Beaumont
1af5a36fb0
Release 1.42.0 2023-06-03 22:09:51 +02:00
extremeheat
2718bc64c0
1.19.4 (#1226)
* Rename 'session' (packet) to chat_session_update to fix auth event conflict

* impl packet "bundle" grouping, add client.writeBundle(packets)

* fix handling, test

* test 1.19.4

* 1.19.4 test ci

* test ci against mcdata fork

* lint

* fix delim

* fix 1.19.3 being skipped

* Update ci.yml

* Update package.json

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-03 21:54:31 +02:00
dependabot[bot]
0625b29d52
Bump @types/node from 18.16.13 to 20.2.1 (#1203)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.13 to 20.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-20 13:40:24 +02:00
Frej Alexander Nielsen
f52ab55ef9
Release 1.41.2 (#1091)
* Update package.json

* Update HISTORY.md
2023-03-24 23:28:19 +01:00
extremeheat
49d218b08c
Release 1.41.1 (#1088)
* Update package.json

* Update HISTORY.md
2023-02-27 21:25:50 +01:00
Romain Beaumont
3974c503e4
Release 1.41.0 (#1082)
* Update HISTORY.md

* Update package.json
2023-02-20 00:01:10 +01:00
Romain Beaumont
a8caf83ea7
Release 1.40.3 (#1077)
* Update package.json

* Update HISTORY.md
2023-01-27 23:19:57 +01:00
Romain Beaumont
84bd97c3cb
Release 1.40.2 (#1075)
* Update HISTORY.md

* Update package.json
2023-01-23 22:11:50 +01:00
Frej Alexander Nielsen
b72cb89fc7
Release 1.40.1 (#1072) 2023-01-22 21:28:31 +01:00
Romain Beaumont
995797f587
Release 1.40.0 (#1070)
* Update HISTORY.md

* Update package.json
2023-01-21 23:16:46 +01:00
Romain Beaumont
c9e900d442
Release 1.39.0 (#1066)
* Update HISTORY.md

* Update package.json
2023-01-19 01:28:25 +01:00
extremeheat
14b138cef8
Release 1.38.1 (#1063) 2023-01-17 10:15:53 +01:00
Romain Beaumont
4f9341e654
Release 1.38.0 (#1058)
* Update package.json

* Update HISTORY.md
2023-01-15 18:41:53 +01:00
LucienHH
28093fb1fb
Realm Joining (#1056)
* Add docs

* Implement Realm joining

* Check for Microsoft auth

* Remove on chat event

* Add realmName option to example

* Passthrough client to `realmAuthenticate`

* Fix overwriting existing authflow

* Don't use  `??=`

* Lint
2023-01-15 18:30:33 +01:00
Romain Beaumont
6aaef7bbe5
Release 1.37.0 (#1051)
* Update HISTORY.md

* Update package.json
2023-01-14 20:41:32 +01:00
extremeheat
367c01567c
Initial 1.19.1/2 signed chat support (#1050)
* Initial 1.19.1/2 signed chat impl

* lint

* remove node 15 nullish operators

* fix undefined uuid error

* handle player left

* fix

* add some feature flags

* fix

* Fix test to use new client.chat() wrapper method

* refactoring

* corrections, working client example

* refactoring

* message expiry checking

* Fix UUID write serialization

* Remove padding from client login to match vanilla client

* Fix server verification

* update packet field terminology

* Add some tech docs
Rename `map` field in Pending to not conflict with Array.map method

* update tech doc

* lint

* Bump mcdata and pauth

* add doc on playerChat event, .chat function

* update doc

* use supportFeature, update doc

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-01-14 20:33:04 +01:00
extremeheat
1efbde1ef7
Release 1.36.2 (#1045)
* Update package.json

* Update HISTORY.md

* Update HISTORY.md

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2022-11-29 02:46:11 +01:00
extremeheat
4ca8523b88
Update microsoftAuth to set default flow option (#1041)
* Update microsoftAuth to set default flow option

Explicitly specify to login through live.com

* Update package.json
2022-11-11 12:35:25 +01:00
IceTank
1f4eb8655b
Release 1.36.1 (#1036) 2022-08-22 18:47:07 +02:00
Romain Beaumont
af31ece024
Release 1.36.0 2022-08-16 01:00:53 +02:00
extremeheat
d7c5053a13
1.19.0 support (#1027)
* Bump mcdata for 1.19

* 1.19 in version.js

* 1.19.0 in ci yml

* Update ci.yml

* Update version.js

* Update package.json

* No fail fast

* Update mcdata

* Update package.json

* Update ci.yml

* [1.19] fix tests and library session code (#1020)

* make tests work, add todo's

* clean up, varlong test, additional todo

* removed log statements, fix for older versions

* Update mcdata

* Update ci.yml

* Update ci.yml

* remove excessive version comments near supportFeature checks

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>

* chat signing implementation

* Update ci.yml

* move some boilerplate to pauth

* update tests

* update chat example

* bump pauth, update doc

* modify test nextMessage func

* lint

* update default version

* add server player verifyMessage

* update doc

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
Co-authored-by: Rob9315 <dev.robk@gmail.com>
2022-08-16 00:57:26 +02:00
Romain Beaumont
e4c797d4d8
Release 1.35.1 (#1024)
* Update HISTORY.md

* Update package.json
2022-07-22 22:20:55 +02:00
dependabot[bot]
446d1d9a85
Bump readable-stream from 3.6.0 to 4.1.0 (#1014)
Bumps [readable-stream](https://github.com/nodejs/readable-stream) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/nodejs/readable-stream/releases)
- [Commits](https://github.com/nodejs/readable-stream/compare/v3.6.0...v4.1.0)

---
updated-dependencies:
- dependency-name: readable-stream
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 22:47:52 +02:00
dependabot[bot]
50de598efe
Bump @types/node from 17.0.45 to 18.0.6 (#1017)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.45 to 18.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 22:47:36 +02:00
IceTank
836675b5b2
Release 1.35.0 2022-06-06 11:53:14 -04:00
dependabot[bot]
74e2ba84ac
Bump standard from 16.0.4 to 17.0.0 (#990)
Bumps [standard](https://github.com/standard/standard) from 16.0.4 to 17.0.0.
- [Release notes](https://github.com/standard/standard/releases)
- [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/standard/compare/v16.0.4...v17.0.0)

---
updated-dependencies:
- dependency-name: standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 13:15:26 -04:00
dependabot[bot]
30053a402f
Bump mocha from 9.2.2 to 10.0.0 (#995)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 13:02:58 -04:00