Commit graph

26 commits

Author SHA1 Message Date
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
Romain Beaumont
1a4cfa7f5e
Add command gh workflow allowing to use release command in comments (#1244) 2023-07-22 14:39:59 +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
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
Frej Alexander Nielsen
cf1f67117d
Update to 1.19.3 (#1069)
* Add 1.19.3 player_info parsing

* player_remove packet parsing

* 1.19.3 chat parsing

* Outgoing chat for 1.19.3

* Fix lint

* Server chat validation

* add 1.19.2 and 1.19.3 in version.js

* Add 1.19.2 and 1.19.3 in ci.yml

* Deprecated client.verifyMessage for server clients

* Update docs

* Deprecate client.verifyMessage for server clients

* Fix tests

* Fix lint

* Fix packetTest

* Fix test

* Remove unneeded log statement

* Update types/docs

* Remove unnecessary feature check

* Remove _session from docs

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-01-21 20:31:17 +01: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
jojomatik
d641634fe9 Release 1.34.0 (#988)
* Update package.json

* Update HISTORY.md
2022-04-18 19:30:09 +00:00
Romain Beaumont
9e94d9d901
1.18.2 (#967)
* Update README.md

* Update version.js

* Update ci.yml
2022-03-01 22:44:50 +01:00
Romain Beaumont
3a1561b7c8 explicit 1.18.1 support 2022-01-22 17:10:01 +00:00
Romain Beaumont
601f86fc8f
remove issuehunt funding method 2021-12-20 03:23:16 +01:00
Romain Beaumont
d4bc14a583
fix mc 1.18 (#934)
* use java 17 for mc 1.18

* increase timeout because 1.18 server is slow to boot

* add chunkBlockEntity value in packet test
2021-12-12 19:07:50 +01:00
Romain Beaumont
e1db56a32d
1.18 support (#930)
* update mcdata

* Update version.js

* Update ci.yml

* Update README.md

* Update version.js
2021-12-11 02:12:07 +01:00
u9g
014635f772
Explicitly add 1.17.1 support (#876)
* Explicitly add 1.17.1 support

* Update ci.yml

* Update README.md
2021-07-18 18:36:33 +02:00
u9g
75e5316e8b
make port discovery automatic & update java ver for 1.17 (#869)
* make port discovery automatic

* try to use promise instead of promisify

* update java version

* add faster timeout

* increase timeout duration for server startup

* Update ci.yml

* update ram

* update java again

* Update clientTest.js

* actually skip online

* Update clientTest.js

* comment out

* fix comment

* properly await server data deletion

* fix serverTest for 1.17 with backwards compat

* add back dimension to login packet

* remove comment

* remove duplicated dimension in server test

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-06-29 00:27:37 +02:00
Romain Beaumont
aac922dd3d
Make 1.17 explicitly tested (#866)
* Make 1.17 explicitly tested

* update readme
2021-06-17 00:05:04 +02:00
u9g
3813d4de7d
Make ci clearer as to what version is being tested (#861)
* Make ci clearer as to what version is being tested

* Update ci.yml

* fix

* fix
2021-06-13 04:54:16 +02:00
dependabot-preview[bot]
4d0135f186
Upgrade to GitHub-native Dependabot (#854)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-02 01:03:36 +02:00
u9g
6df20541b4
Add snapshot 21w07a support (#838)
* Add snapshot `21w07a` support

* Update package.json

* Update version.js

* Update ci.yml

* update mcdata

* Update README.md

* Update mcdata

* Add 21w07a to tested versions

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-04-16 22:56:39 +02:00
u9g
d3c16e48fb
Add packet cycletests (#842)
* Add packet cycletests

* add mcPackets to deps

* Update and rename cycleTest.js to non-par-test.js

* Add exclude to npm run test for non par tests

* Add seperate job for non-par-tests

* fix indentation

* make tests non-parallel

* fix yml

* fix exclude pattern

* fix test matching

* Fix protocol not being updated for different mc versions

* dynamically get packets to test

* get rid of unused var

* rename non-par-test
2021-04-07 16:13:57 +02:00
Romain Beaumont
45c04cb460
Create FUNDING.yml 2020-12-14 01:10:34 +01:00
Gjum
0d0b4d5af2
[CI] update to actions/setup-java@v1.4.3 (#785)
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

see also #780
2020-12-04 19:55:52 +01:00
Romain Beaumont
fcd54d2c0e
Update bug_report.md 2020-06-21 19:10:12 +02:00
Romain Beaumont
4f48c7874a Update issue templates 2020-06-21 19:04:23 +02:00
Romain Beaumont
5dba05e7d5
switch to ga ci 2020-06-07 23:31:42 +02:00
Romain Beaumont
ec44eeb3b2
Add npm publish workflow to automatically release to npm
It will be triggered when a "Release XXX" commit is done containing an update of the package.json version
It will add a tag with the right version automatically

uses github action https://github.com/marketplace/actions/publish-to-npm
2020-05-16 22:37:30 +02:00