Commit graph

424 commits

Author SHA1 Message Date
Romain Beaumont
c22682b9f1
bump mcdata to include a fix for 1.18.1 2022-01-22 18:30:35 +01:00
Romain Beaumont
3a1561b7c8 explicit 1.18.1 support 2022-01-22 17:10:01 +00:00
Romain Beaumont
04092ed2ff
Release 1.30.0 (#946)
* Update HISTORY.md

* Update package.json
2021-12-26 15:59:58 +01:00
dependabot[bot]
81421f05ec
Bump @types/node from 16.11.17 to 17.0.4 (#943)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.17 to 17.0.4.
- [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>
2021-12-26 15:47:50 +01:00
extremeheat
52dc13c0f1
Release 1.29.1 (#939) 2021-12-18 22:21:36 -05:00
Romain Beaumont
d4208b2070
Release 1.29.0 2021-12-11 02:15:07 +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
Romain Beaumont
6095c81a34 Release 1.28.1 2021-12-02 23:27:41 +00:00
extremeheat
8ff8ddcef5
Release 1.28.0 (#924) 2021-11-14 13:00:53 +01:00
dependabot[bot]
0319071da6
Bump prismarine-nbt from 1.6.0 to 2.0.0 (#919)
Bumps [prismarine-nbt](https://github.com/prismarinejs/prismarine-nbt) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/prismarinejs/prismarine-nbt/releases)
- [Changelog](https://github.com/PrismarineJS/prismarine-nbt/blob/master/HISTORY.md)
- [Commits](https://github.com/prismarinejs/prismarine-nbt/compare/1.6.0...2.0.0)

---
updated-dependencies:
- dependency-name: prismarine-nbt
  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>
2021-11-06 22:52:20 -04:00
Romain Beaumont
78f68d1ff9 Release 1.27.2 2021-11-03 23:24:39 +00:00
Romain Beaumont
3603910c2a Revert "Revert "Implement Prismarine-Auth (#884) (#917)""
This reverts commit bd307493cb.
2021-11-03 23:23:56 +00:00
Romain Beaumont
17c9e6e4d2 Release 1.27.1 2021-11-03 00:28:01 +00:00
Romain Beaumont
bd307493cb Revert "Implement Prismarine-Auth (#884) (#917)"
This reverts commit f777f8b8f7.
2021-11-03 00:27:11 +00:00
Romain Beaumont
562389b465 Release 1.27.0 2021-11-03 00:15:52 +00:00
Romain Beaumont
f777f8b8f7
Implement Prismarine-Auth (#884) (#917) 2021-11-03 01:13:40 +01:00
IceTank
4dfe9e5f87
release-1.26.6 (#916) 2021-11-01 17:28:23 +01:00
u9g
655ecbd2a9
Release 1.26.5 (#899) 2021-08-23 14:49:21 -04:00
u9g
634eab0ba1
Release 1.26.4 (#896) 2021-08-21 17:42:29 -04:00
u9g
e264347c61
Release 1.26.3 (#894) 2021-08-21 13:53:41 -04:00
u9g
8847bd5cfd
Release 1.26.2 (#892) 2021-08-21 19:24:41 +02:00
Romain Beaumont
4dc08372c8 Release 1.26.1 2021-08-14 00:34:33 +00:00
Romain Beaumont
8c964b15f6 Revert "Implement Prismarine-Auth (#884)"
This reverts commit 9eb61223cf.
2021-08-14 00:33:59 +00:00
Romain Beaumont
493478858b Release 1.26.0 2021-08-13 23:31:36 +00:00
Jordan Jones
9eb61223cf
Implement Prismarine-Auth (#884)
* remove require-self as dependency

* Working Changes

* Working Changes

* fix(lint)

* Remove unnecessary code

* Use live prismarine-auth package

* Remove unused modules

* cleanup

* upgrade minecraft-data to latest

* Address extremeheat's comments

* Don't check if profileFolder is set to false

* Use updated library

* Update variables

* move option to parameter of function

* upgrade to latest prismarine-auth

* fix cache path

* fix cache path
2021-08-14 01:22:19 +02:00
dependabot[bot]
ac099c1d31
Bump @types/node from 15.14.1 to 16.0.0 (#873)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.14.1 to 16.0.0.
- [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>
2021-07-05 16:40:44 -04: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
5d5d76f35d
try to fix tests working per version (#867)
* try to fix tests working per version

* fix nonpartests

* fix
2021-06-16 23:58:20 +02:00
dependabot[bot]
c9a6484a09
Bump mocha from 8.4.0 to 9.0.0 (#860)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.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/v8.4.0...v9.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>
2021-06-16 22:45:45 +02:00
dependabot-preview[bot]
d22595021b
Bump @types/node from 14.14.43 to 15.0.1 (#853)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.43 to 15.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-02 01:07:10 +02:00
u9g
50af73c912
Fix mcdata in deps (#850) 2021-04-20 12:27:32 +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
IceTank
ebbd93f2b6
Added README and more error Handling to client_socks_proxy example (#846)
* Added README and more error Handling to client_socks_proxy example.

* Lint fixing
2021-04-11 23:15:15 +02:00
Romain Beaumont
61789bbea9
Release 1.25.0 (#844)
* Update HISTORY.md

* Update package.json
2021-04-08 02:33:02 +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
u9g
bdf792c534
Release 1.24.2 (#831)
* Release 1.24.2

* Update HISTORY.md
2021-03-26 23:59:37 +01:00
Romain Beaumont
192e08cd3b
Release 1.24.1 2021-03-22 14:01:13 +01:00
Romain Beaumont
7a2fee1b05 Release 1.24.0 2021-03-20 22:33:42 +00:00
Romain Beaumont
e56355a508 Release 1.23.3 2021-03-13 01:39:46 +00:00
Romain Beaumont
e9cb2ffbd7 Release 1.23.2 2021-03-01 23:34:32 +00:00
Romain Beaumont
34e59fd88e Release 1.23.1 2021-02-06 10:05:50 +00:00
Romain Beaumont
5344f59b52 Release 1.23.0 2021-01-30 00:26:01 +00:00
extremeheat
8f2a027812
Msa device code auth (#806)
* initial msa work

* rm debug code

* Update package.json

* lint, seperate constants, create missing msa cache

* support multiple profiles

* lint

* use shared constants

* fix path issues

* fix token variable

* fix caching msa profile data

* switch clientId to one from microsoft

* store caches in .minecraft, fallback to dev code auth when user+pass fails

* update electron demo, fix error handling, add docs

* fix caching dir

* fix lint

* move to class scope, token fixes

* retry on fail, terminology fixes

* fix promise bug

* cleanup
2021-01-30 01:21:03 +01:00
Romain Beaumont
78aa3d1b6a Release 1.22.0 2020-12-28 01:45:46 +00:00
Romain Beaumont
2843f60e44 Release 1.21.0 2020-12-12 01:15:31 +00:00
Jordan Jones
5d723e9a04
Integrate Authentication for Microsoft Accounts (#788)
* add node-fetch and @xboxreplay/xboxlive-auth for microsoft/xbox auth

* decide which authentication to use based on options;

if options.auth === 'microsoft' then use microsoft/xbox auth, else use Yggdrasil until they kill that.

* push working auth

* commentary

* eslint does not like me :(

* User-Agent works just fine without version

* linting = 95% of development

* revert changes to encrypt.js

* set haveCredentials to whether or not we have a token.

Technically this will always be true so...?

* eslint

* mod+create: api + example

* mod: readme.md
2020-12-11 21:30:48 +01:00
Romain Beaumont
47d96936f5
Release 1.20.2 2020-12-06 18:49:45 +01:00
Romain Beaumont
011b6a189a
Revert "Revert "Add token authentication (#780)""
This reverts commit 14c4886ac4.

Adds back token auth now that mineflayed is fixed
2020-12-06 18:48:52 +01:00
Romain Beaumont
0ac19142c0
Release 1.20.1 2020-12-06 01:58:53 +01:00
Romain Beaumont
14c4886ac4
Revert "Add token authentication (#780)"
This reverts commit 0277091ddc.
This commits introduced a bug in offline mode.
We don't know yet how to fix it, so better revert first and fix later
2020-12-06 01:57:40 +01:00
Romain Beaumont
7be60af77d Release 1.20.0 2020-12-05 22:32:55 +00:00
ph0t0shop
0277091ddc
Add token authentication (#780)
* Add token authentication

* Update package.json

* Update src/client/auth.js

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>

* Remove some deps

* Fix merge conflict + fix some token stuff

* Fix even more stuff + testing

* Change back echo example

* Let -> const + bugfix

* Fixed error handling

* Revert client_echo again...

* Fix linter errors

* Profile improvements

* Stupid linter errors

* Update yggdrasil, remove token auth example, move to client_echo instead

* Update client_echo

* Linter error...

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>
2020-12-05 23:28:12 +01:00
Romain Beaumont
5d80168f20
Make 1.16.4 the tested version (#773) 2020-11-02 20:46:03 +01:00
Romain Beaumont
f7941b9412 update to standard 16 2020-10-31 14:48:53 +00:00
Romain Beaumont
d3ea67a184 Release 1.19.0 2020-10-25 15:19:07 +00:00
Romain Beaumont
8bfbb72e5b Release 1.18.0 2020-10-25 14:02:31 +00:00
Romain Beaumont
99edabb716 update standard to version 15 2020-10-24 13:44:33 +00:00
Romain Beaumont
d763710bd5 Release 1.17.0 2020-10-06 20:48:33 +00:00
Grooble
306b16abcd
1.16.2 and 1.16.3 support (#765)
* Update node-minecraft-data to 2.69.0

* Change default version to 1.16.3

* Update example

* Fix tests

* remove context change for bitfield

* Update README example

* Update tests

* Update examples

* Fix tests

* Update versionChecking for 1.16.3

* Update tests
2020-10-06 22:46:53 +02:00
Romain Beaumont
de731b3e1a Release 1.16.0 2020-08-16 22:23:25 +00:00
Romain Beaumont
3c626cbcb4
Release 1.15.0 2020-08-03 01:50:10 +02:00
Romain Beaumont
0dede4a06b Release 1.14.0 2020-08-02 22:30:42 +00:00
Idan Horowitz
82364c06ce Implement fallback aes-js support for cfb8 2020-08-03 00:38:53 +03:00
Romain Beaumont
61352500da update readme and change default version to 1.16.1 2020-06-27 01:34:13 +00:00
Romain Beaumont
0afc54a12b
Release 1.13.0 2020-06-23 17:15:29 +02:00
Romain Beaumont
cbef0f331f
switch to 1.16 2020-06-23 17:10:22 +02:00
Romain Beaumont
667380497b
update mcdata with fixes 2020-06-23 15:34:38 +02:00
Romain Beaumont
a7a7b5c7e2
Add 1.16-rc1 support
add topBitSetTerminatedArray native type
2020-06-23 03:28:14 +02:00
Romain Beaumont
e22e6f0ef0
move readme to docs folder for gh pages 2020-06-21 19:34:18 +02:00
Romain Beaumont
82824325da
Release 1.12.4 2020-06-21 18:59:08 +02:00
Romain Beaumont
89209cf779
if hide errors is true, don't display partial packet errors, add FAQ 2020-06-21 18:57:39 +02:00
Romain Beaumont
8e4978f379
Release 1.12.3 2020-06-21 18:26:47 +02:00
Romain Beaumont
fce9ae2661
Release 1.12.2 2020-06-16 01:49:03 +02:00
dependabot-preview[bot]
fafd9c0b27
Bump mocha from 7.2.0 to 8.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.0.1.
- [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/v7.2.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:27:56 +00:00
Romain Beaumont
eb549f2ea9
Release 1.12.1 2020-06-07 23:26:30 +02:00
Romain Beaumont
345ab6071d
fix require self setup
required for github action that autopublish
2020-05-22 22:35:51 +02:00
Romain Beaumont
ea5f587a15 add back require-self for now in prepublish script 2020-05-20 10:52:54 +00:00
Romain Beaumont
649ff60e1c Release 1.12.0 2020-05-20 10:52:20 +00:00
Romain Beaumont
19d69d4701
Merge pull request #714 from Karang/karang_compiler
Use protodef compiler
2020-05-20 12:45:41 +02:00
Romain Beaumont
00b6d8aebb
add exit option to mocha to unblock tests 2020-05-20 12:44:11 +02:00
Romain Beaumont
b9350867d7
use latested nbt and protodef to use the compiler 2020-05-20 12:39:18 +02:00
Karang
66619f7ac0 Use compiled prismarine-nbt, simplify 2020-05-18 20:22:26 +02:00
dependabot-preview[bot]
663c485bf5
Bump @types/node from 13.13.6 to 14.0.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.6 to 14.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 09:58:48 +00:00
Karang
446bf2e923 Add protodef compiler 2020-05-16 16:57:04 +02:00
snyk-bot
d2f886a0c7 fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MACADDRESS-567156
2020-05-05 00:28:57 +02:00
Romain Beaumont
28b52a9158
update mcdata, add explicit test for 1.16 (#691)
* update mcdata, add explicit test for 1.16

* Update mcdata again with fix for success packet
2020-03-30 23:55:53 +02:00
Romain Beaumont
b6d47ddc8e
update mcdata and explicit 1.15.2 support 2020-03-28 17:19:58 +01:00
Romain Beaumont
8a143588a2 Release 1.11.0 2020-02-11 21:23:18 +00:00
Idan Horowitz
54380a3cb7
Pass through http agent option to yggdrasil for proxy support (#676)
* initialize yggdrasil with agent option if it exists

* standardjs

* move require statements to the top

* add agent option to docs and ts type information
also removed useless typescript import and moved class fields from wrong class to the correct one

* update proxy examples and add http agents for proxying yggdrasil

* update to agent supporting yggdrasil version
2020-02-11 12:31:24 +01:00
Romain Beaumont
db1c7c31e4
Merge pull request #673 from wvffle/wvffle/yggdrasil
Update yggdrasil
2020-02-02 02:07:51 +01:00
Kasper Seweryn
c56723c65a
Update to v1.2.0 2020-02-02 01:04:48 +00:00
Kasper Seweryn
1904fe31b0
Update yggdrasil 2020-02-01 18:53:15 +00:00
greenkeeper[bot]
5ddf913011
chore(package): update mocha to version 7.0.1 2020-01-26 08:39:22 +00:00
Romain Beaumont
f4f72f1d35
Release 1.10.0 2019-12-29 23:39:50 +01:00
Romain Beaumont
1f56196561
also support for 1.15 2019-12-29 23:35:34 +01:00
Romain Beaumont
c0ae9b1546
update mcdata and bring 1.15.1 support 2019-12-29 22:56:59 +01:00
greenkeeper[bot]
77b963eb4e
chore(package): update @types/node to version 13.1.0 2019-12-23 17:34:42 +00:00
Kasper Seweryn
e36e8fe0d3 Add @waff/yggdrasil
As the author of node-yggdrasil doesn't seem to accept new PRs, I've created a fork which fixes phin error (thanks to @rom1505) and adds more meaningful messages for a couple of CloudFlare errors as proposed in https://github.com/PrismarineJS/mineflayer/issues/880#issuecomment-549127642
2019-11-06 01:40:21 +01:00
greenkeeper[bot]
6aff4da999
chore(package): update standard to version 14.0.0 2019-08-19 21:31:41 +00:00
Romain Beaumont
8e5264dc52 fix lint for new standard version 2019-08-03 23:29:14 +00:00