2015-05-29 07:24:12 -04:00
# History
2023-01-18 19:28:25 -05:00
2024-12-04 15:23:47 -05:00
## 1.51.0
* [Add type to serverKey in server (#1349) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/d6b4e82eb170984380e7ea9f125ea5d72777bef2 ) (thanks @u9g )
* [support 1.21.3 (#1347) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/2224d824065908e910520dfa8ea9f3f3ade242e4 ) (thanks @rom1504 )
* [Bump @types/node from 20.16.15 to 22.7.9 (#1345) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/590dc33fed2100e77ef58e7db716dfc45eb61159 ) (thanks @dependabot [bot])
2024-10-26 17:54:20 -04:00
## 1.50.0
* [1.21 Support (#1342) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/5bebac36620d8f8ec256d19483e20e643d63de2a ) (thanks @GroobleDierne )
2024-10-12 19:09:14 -04:00
## 1.49.0
* [support 1.20.6 (#1338) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/0b0012d60f0f1648be5ff705e7694bb1cd4ec37c ) (thanks @rom1504 )
2024-10-12 18:00:06 -04:00
## 1.48.0
* [1.20.5 (#1309) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/9b029e8b6f33d4e8ee1476de6821bad942f1ab6b ) (thanks @extremeheat )
* [Fix realms loading issue due to createClient plugin init order (#1303) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/7057ad979b416192ada235f2f4e3b5eb26af5fa1 ) (thanks @extremeheat )
* [Update doc (#1300) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/495eed56ab230b2615596590064671356d86a2dc ) (thanks @extremeheat )
* [Fix handling of disconnect in versionChecking on 1.20.3+. (#1291) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/ccab9fb39681f3ebe0d264e2a3f833aa3c5a1ac7 ) (thanks @wgaylord )
2024-02-25 19:20:24 -05:00
## 1.47.0
* [1.20.3 / 1.20.4 support (#1275) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/1d9a38253a28a515d82fffa13806cb0874c5b36c ) (thanks @wgaylord )
2024-02-11 10:09:25 -05:00
## 1.46.0
* [Ensure `onReady` in client is called once (#1287) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/85a26a52944c89af273bc974380b438073280981 ) (thanks @extremeheat )
* [Acknowledge returning to configuration state if in play state. (#1284) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/092e10c53d33a7b9be52b5cbb67b1e3e55ac2690 ) (thanks @wgaylord )
* [Allow commands not to be signed (#1277) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/21240f8ab2fd41c76f50b64e3b3a945f50b25b5e ) (thanks @forester302 )
* [Add test to make sure version that are tested are mentioned in the RE… (#1276) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/80d038bd61d1933daa1e5e3251635be9ce2116b6 ) (thanks @rom1504 )
* [Print if there is a diff in packets in the cycle packet test (#1273) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/614be919d0f20a43e238751c829a6d584ae636cd ) (thanks @rom1504 )
* [Align supported versions with mineflayer (#1272) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/ccaf538ffd2ab1e25dabd752d721f97bd8bd188f ) (thanks @rom1504 )
2023-12-27 18:51:49 -05:00
## 1.45.0
* [Pc1.20.2 (#1265) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/112926da0cb2490934d122dd8ed7b79f3f6de8eb ) (thanks @extremeheat )
* [Improve CI setup for per version tests (#1267) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/1740124c4722c2c49f8aed0d708ff5ebecc7743c ) (thanks @rom1504 )
* [Allow to create custom client & communication between clients (#1254) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/9e991094761d51243cb28a33bb45630f3064511d ) (thanks @zardoy )
* [Fixed 'unsignedContent' field using nonexistent 'packet.unsignedContent' when emitting 'playerChat' event. (#1263) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/066a2b3646cb8bef6be1fa974597b975aaf08d42 ) (thanks @Ynfuien )
* [Add chat typing to client (#1260) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/788bff289030fa66c980de82d82cb953bf76332b ) (thanks @IceTank )
* [chat: Only sign command args when profile keys defined (#1257) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/0ac8c087a28b3ccc73f8eea5941e4902e33c494e ) (thanks @evan -goode)
2023-08-05 09:27:09 -04:00
## 1.44.0
* [Send chat commands as chat commands instead of chat messages for 1.19.3-1.20.1 (#1241) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/41f9e4ac4a35b0ce241264a3f964c4874d96a119 ) (thanks @lkwilson )
* [Fix end bundle bundle_delimiter packet not being emitted (#1248) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/35b2aa536a4739c11fe78f6e8e5c591abd0b0498 ) (thanks @PondWader )
* [Bump @types/readable-stream from 2.3.15 to 4.0.0 (#1247) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/94b9c228b07bbaf210aa9f90ab240cb6aa9d7751 ) (thanks @dependabot [bot])
* [fix broken link (#1243) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/cc9aa9416101407421bdd085002ec2b26ccfbc83 ) (thanks @FurriousFox )
* [Add command gh workflow allowing to use release command in comments (#1244) ](https://github.com/PrismarineJS/node-minecraft-protocol/commit/1a4cfa7f5ee1a896b6a924708536d3f956cb869e ) (thanks @rom1504 )
2023-07-16 14:34:44 -04:00
## 1.43.2
* Fix client sending chat_session_update when local UUID does not match UUID on server (@frej4189)
2023-06-27 07:21:17 -04:00
## 1.43.1
* Temporarily make node 18 not required in package.json
2023-06-24 15:12:42 -04:00
## 1.43.0
* 1.20.0 and .1 support (@PondWader)
2023-06-03 15:57:10 -04:00
## 1.42.0
* 1.19.4 support (@extremeheat)
* Fix plugin channels support (@turikhay)
* Typo in "cypher" property check (@XHawk87)
* Add ipc connection option for servers (@IceTank)
* bug fix (@extremeheat)
## 1.41.2
2023-03-24 18:28:19 -04:00
* Fix client sending session packet while server is in login state (@frej4189)
* Fix client attempting to sign messages on offline servers (@frej4189)
2023-02-27 15:25:50 -05:00
## 1.41.1
* Revert "Fix client sending chat_session packet before server state transition"
2023-02-19 18:01:10 -05:00
## 1.41.0
* Catch errors in custom payloads (@frej4189)
* Fix client sending session packet when server is in offline mode (@frej4189)
* Fix client sending chat_session packet before server state transition (@frej4189)
2023-01-27 17:19:57 -05:00
## 1.40.3
* Use consistent parameter naming for systemChat event
2023-01-23 16:11:50 -05:00
## 1.40.2
* Small chat.js fix (@frej4189)
2023-01-22 15:28:31 -05:00
## 1.40.1
* Fix offline mode (@frej4189)
2023-01-21 17:16:46 -05:00
## 1.40.0
* Add more fields to playerChat event (@frej4189)
* Update to 1.19.3 (@frej4189)
2023-01-18 19:28:25 -05:00
## 1.39.0
* Use non-zero salt (@frej4189)
* Mark message as insecure if unsigned content is present (@frej4189)
2015-05-29 07:24:12 -04:00
2023-01-17 04:15:53 -05:00
## 1.38.1
* Update chat example for 1.19 (#1059) (@frej4189)
* Fix chat not working on offline servers (#1060) (@frej4189)
2023-01-15 12:41:53 -05:00
## 1.38.0
* Update convenience chat events (@frej4189)
* Realm Joining (@LucienHH )
* Fix chat previews not working (@frej4189)
2023-01-14 14:41:32 -05:00
## 1.37.0
2023-01-15 12:41:53 -05:00
* 1.19.1/2 signed chat support (@frej4189 @extremeheat )
2023-01-14 14:41:32 -05:00
2022-11-28 20:46:11 -05:00
## 1.36.2
* Throw error on minecraft-data protocol version mismatch (#1044)
* Make "fakeHost" option working
* Update microsoftAuth to set default flow option
## 1.36.1
2022-08-22 12:47:07 -04:00
* Fix new types not being optional. (@IceTank) [#1033 ](https://github.com/PrismarineJS/node-minecraft-protocol/pull/1033 )
2022-08-15 19:00:53 -04:00
## 1.36.0
* Use offline mode as default authentication, fallback to offline mode if invalid option. (@Kashalls)
* Provide interface for using not at all supported alternative accounts. (@Kashalls)
* 1.19 support (@extremeheat)
* Fix unhandled promise rejection on ms auth (@IceTank)
2022-07-22 16:20:55 -04:00
## 1.35.1
* add custom minecraft type varlong which aliases to varint @rob9315
2022-06-06 11:53:14 -04:00
## 1.35.0
* Add option to not answer to pings (@matthi4s)
* Add fallback version for dynamic version (@matthi4s)
* Add motdMsg to createServer (@IceTank & @U9G )
* Bump mocha to 10.x
* Bump standard to 17.x
2022-04-17 16:36:33 -04:00
## 1.34.0
* Export defaultVersion (@matthi4s)
* Fix missing readable-stream types (@IceTank)
2022-04-11 07:31:22 -04:00
## 1.33.0
* Bump mcdata
2022-04-10 09:18:09 -04:00
## 1.32.2
* fix: cross version ping
2022-03-20 10:59:09 -04:00
## 1.32.1
* fix protocolValidation not being optional in .d.ts typings (@IceTank)
2022-03-11 10:26:56 -05:00
## 1.32.0
* add protocolValidation field to server and client options (@RichardDorian)
* fix plugin channel registration (@RichardDorian)
* allows false value for profilesFolder (@Robbilie)
2022-03-01 16:46:15 -05:00
## 1.31.0
* 1.18.2
2021-12-26 09:59:58 -05:00
## 1.30.0
* add reasons for client.end() & fix issues (@U5B)
2021-12-18 22:21:36 -05:00
## 1.29.1
2021-12-26 09:59:58 -05:00
2021-12-18 22:21:36 -05:00
* Remove entitlement check in microsoftAuth (#929)
2021-12-10 20:15:07 -05:00
## 1.29.0
* 1.18.0 support
2021-12-02 18:27:41 -05:00
## 1.28.1
* Fix microsoft auth error condition handling (@extremeheat)
2021-11-14 07:00:53 -05:00
## 1.28.0
2021-12-02 18:27:41 -05:00
2021-11-14 07:00:53 -05:00
* Fixed TypeScript error TS2769 when authenticating with mojang (#922) (@liquiddevelopmentnet)
* Update prismarine-auth usage (#923) (@extremeheat)
* types(Client): fix events (#918) (@muchnameless and Robert Hartmann)
* add default for authTitle (#920) (@U5B)
* Update ping function return type and make callback optional (#909) (@ShayBox)
* Fixed typo's (#915) (@OscarNOW)
* Add the ability to send a fake hostname in set_protocol (#913) (@GhqstMC and u9g)
2021-11-03 19:24:39 -04:00
## 1.27.2
* try again to enable prismarine-auth
2021-11-02 20:28:01 -04:00
## 1.27.1
* revert prismarine-auth usage for now (see https://github.com/panva/jose/issues/307)
2021-11-02 20:15:52 -04:00
## 1.27.0
* use prismarine-auth
2021-11-01 12:28:23 -04:00
## 1.26.6
2021-11-02 20:15:52 -04:00
* Lazily generate serverKey
* Make all events have promiselike returns for async
2021-11-01 12:28:23 -04:00
2021-08-23 14:49:21 -04:00
## 1.26.5
* update Online Mode Exceptions
2021-08-21 17:42:29 -04:00
## 1.26.4
* add once to typescript types for all events
2021-08-21 13:53:41 -04:00
## 1.26.3
* fix typescript types
2021-08-21 13:24:41 -04:00
## 1.26.2
* fix typescript types
2021-08-13 20:34:33 -04:00
## 1.26.1
* temporarily revert prismarine-auth
2021-08-13 19:31:36 -04:00
## 1.26.0
* move microsoft auth to prismarine-auth (@Kashalls)
* Add beforeLogin function option on server (@rob9315)
* Make cache path creation recursive (@DecentralisedTech)
* Mc.ping return a promise and use callbacks (@AngeryFrog)
* Add a way to encode a packet only once and send it to multiple clients (@GroobleDierne)
* launcher_accounts.json account corruption fix (@Moondarker)
2021-04-07 20:33:02 -04:00
## 1.25.0
* add fullBuffer to packet event
2021-03-26 18:59:37 -04:00
## 1.24.2
* Throw if data is not available for a given version (@U9G)
2021-03-22 09:01:13 -04:00
## 1.24.1
* fix write to launcher_accounts.json (@majorblake)
2021-03-20 18:33:42 -04:00
## 1.24.0
* Using launcher_accounts.json as new token source (@Moondarker)
* Fix msa caching bug (@extremeheat)
2021-03-12 20:39:46 -05:00
## 1.23.3
* add a reason to client timeout
2021-03-01 18:34:32 -05:00
## 1.23.2
* Remove test code from microsoftAuth
2021-02-06 05:05:50 -05:00
## 1.23.1
* revert refactor tns dns for now to fix it
2021-01-29 19:26:01 -05:00
## 1.23.0
* add auth type to types (@u9g)
* refactor tcp dns (@Kashalls)
* fix a launcher profile.json problem (@Rob9315)
* Msa device auth (@extremeheat)
2020-12-27 20:45:46 -05:00
## 1.22.0
* Don't stringify every packet if debug not enabled (@evan-goode)
* Add handler for Login Plugin Message (@ph0t0shop)
* Password=false now using offline mode (@dada513)
2020-12-11 20:15:31 -05:00
## 1.21.0
* Integrate Authentication for Microsoft Accounts (thanks @Kashalls )
2020-12-06 12:49:45 -05:00
## 1.20.2
* add back token auth now that mineflayer is fixed
2020-12-05 19:58:53 -05:00
## 1.20.1
* Temporarily revert token auth to fix a bug
2020-12-05 17:32:55 -05:00
## 1.20.0
* Add token auth like the vanilla launcher (save the token) (thanks @ph0t0shop )
* Only use fullReason for the disconnect packet (thanks @DeltaEvo )
* End the serializer instead of unpiping streams (thanks @DeltaEvo )
2020-10-25 11:19:07 -04:00
## 1.19.0
* make auto version more robust by giving up after 5s if no answer to ping is given but the version is returned
2020-10-25 10:02:31 -04:00
## 1.18.0
* client.end with full reason (thanks @redcarti )
* allow immediate shutdown when client is ended (thanks @Svebran )
2020-10-06 16:48:33 -04:00
## 1.17.0
* minecraft 1.16.2 and 1.16.3 support
2020-08-16 18:23:25 -04:00
## 1.16.0
* add buffer to packet event
2020-08-02 19:50:10 -04:00
## 1.15.0
* options for ping timeout and custom auth server
2020-08-02 18:30:42 -04:00
## 1.14.0
* electron support using aes-js (thanks @IdanHo )
* prevent ping hanging if server never replies
2020-06-23 11:15:29 -04:00
## 1.13.0
* minecraft 1.16 support
2020-06-21 12:59:08 -04:00
## 1.12.4
* better hide errors
2020-06-21 12:26:47 -04:00
## 1.12.3
* handle SRV record failure better (useful for tcp shield)
2020-06-15 19:49:03 -04:00
## 1.12.2
* make SRV record correctly propagate host to serverHost field (fix for tcp shield)
2020-06-07 17:26:30 -04:00
## 1.12.1
* fix for some servers in tcpdns (thanks @FTOH )
2020-05-20 06:47:26 -04:00
## 1.12.0
* use protodef compiler, making node-minecraft-protocol 10x faster, thanks for this huge improvement @Karang
2020-02-11 16:23:18 -05:00
## 1.11.0
* proxy support in auth (thanks @IdanHo )
2019-12-29 17:39:50 -05:00
## 1.10.0
* 1.15 support
* socket end timeout (thanks @matthi4s )
* add connect and close to types (thanks @ShayBox )
2019-08-03 19:22:04 -04:00
## 1.9.4
* add reference to node types in typescript types
2019-07-07 18:17:25 -04:00
## 1.9.3
* handle both max-players and maxPlayers in createServer options
2019-07-07 17:40:16 -04:00
## 1.9.2
* check whether version is supported in server auto version detection
2019-07-07 17:30:39 -04:00
## 1.9.1
* throw an unsupported protocol version in createServer when asking for an unsupported version
2019-05-19 19:56:17 -04:00
## 1.9.0
* 1.14.1 support
2018-12-15 12:48:21 -05:00
## 1.8.3
* 1.13.2 tested and supported
* add skipValidation flag for authentication thanks @vlakreeh
* fix compression.js (use Z_SYNC_FLUSH) thanks @lefela4
2018-10-07 14:05:58 -04:00
## 1.8.2
* fix tcp_dns.js checking for SRV lookup
2018-09-25 17:43:56 -04:00
## 1.8.1
* update mcdata : fix loadpath bug for 1.13.1
2018-08-26 10:09:39 -04:00
## 1.8.0
* 1.13.1 support
* better tests
2018-08-25 19:45:28 -04:00
## 1.7.0
* 1.13 support (thanks @lluiscab )
* fix autoversion bug
* fix srv record resolution
2018-08-03 15:13:17 -04:00
## 1.6.0
* added session data to session event
* add hideError option
2018-05-19 20:52:20 -04:00
## 1.5.3
* make decompression more reliable : print an error if a server send a wrong packet instead of crashing
* change codestyle to standard
2018-05-01 15:12:15 -04:00
## 1.5.2
* fix issue with auth.js
* Increase checkoutTimeoutInterval default to 30s in client
2018-01-27 09:24:30 -05:00
## 1.5.1
* Update autoVersion.js to emit errors instead of throwing
* update mcdata and protodef for fixes : packet_title fix + packet_title fixes
2018-01-01 17:05:19 -05:00
## 1.5.0
* support 17w50a (first 1.13 snapshot supported)
* full packet parser for better parsing errors
2017-08-21 03:23:02 -04:00
## 1.4.1
* lock yggdrasil until issue with 1.1.0 is fixed
* support 1.12.1
2017-07-24 03:24:14 -04:00
## 1.4.0
* add http and socks proxy example and related fixes
* remove ursa, use node-rsa and node crypto module instead
* modularize createServer
* dynamic version detection for the server
2017-07-12 07:23:45 -04:00
## 1.3.2
* fix autoversion in online mode
2017-06-19 09:50:11 -04:00
## 1.3.1
* improve autoversion support
* fix tests
2017-06-12 09:36:46 -04:00
## 1.3.0
* 1.12 support
2017-06-08 08:49:59 -04:00
## 1.2.0
2017-01-28 17:50:33 -05:00
2017-06-08 08:49:59 -04:00
* some 1.12 snapshots support
* disable validator for protocol (use too much memory and cpu, and already validated in mcdata tests)
2017-01-28 17:50:33 -05:00
* Added a errorHandler option to createServer.
2017-02-26 14:07:51 -05:00
## 1.1.3
* requires node 6
2017-02-26 13:48:37 -05:00
## 1.1.2
* use last protodef
2016-12-02 08:04:03 -05:00
## 1.1.1
* update to yggdrasil 0.2.0
* Fix the REGISTER channel type
2016-10-08 07:59:09 -04:00
## 1.1.0
* added plugin channel support (thanks @plexigras )
* add doc for client.end
2016-08-04 12:15:56 -04:00
## 1.0.1
* a small fix to autoversion
2016-05-30 17:16:38 -04:00
## 1.0.0
* update prismarine-nbt
* fixed options.favicon in createServer
* enable strict mode
* update to minecraft-data 2.0.0
* finally move to a major version
2016-04-02 19:59:55 -04:00
## 0.19.6
* update mcwrap
* use caret in dependencies
* use debug package
2016-03-17 06:17:41 -04:00
## 0.19.5
* check if e.field is defined when completing serializer/deserializer errors
2016-03-02 13:42:35 -05:00
## 0.19.4
* fix spawn_painting in 1.9
2016-02-29 19:44:14 -05:00
## 0.19.3
* update mcdata again : u8 not byte
2016-02-29 19:35:11 -05:00
## 0.19.2
* some fixes in 1.9 protocol
2016-02-29 12:36:35 -05:00
## 0.19.1
* update mcdata, support 1.9 release
2016-02-27 20:22:55 -05:00
## 0.19.0
* update minecraft-data, support 1.9-pre4
2016-02-23 14:06:34 -05:00
## 0.18.3
* update protodef and minecraft-data for new protocol schema
2016-02-21 13:44:30 -05:00
## 0.18.2
* update protodef
* custom packets
* fix tab_complete in 1.9
2016-02-19 17:50:26 -05:00
## 0.18.1
* update protodef dependency
2016-02-19 06:35:12 -05:00
## 0.18.0
* Supports Minecraft version 1.7.10, 1.8.8 and 1.9 (15w40b and 16w05b)
* improve auto version detection
2016-02-12 09:24:35 -05:00
## 0.17.2
* fix readUUID
2016-02-12 08:56:53 -05:00
## 0.17.1
* use correct default timeout value : 30 for the server, 20 for the client
* fix a small dependency error
2016-02-12 08:46:32 -05:00
## 0.17.0
* requires node>=4
* big refactor of createClient : split in several modules (thanks @deathcap )
* stop using es7
* make it easy to create client plugins (and create minecraft-protocol-forge) (thanks @deathcap )
* use babel6
* add dynamic version support in client
* update minecraft-data
2016-01-04 14:57:16 -05:00
## 0.16.6
* fix latency before the first keep alive
2015-12-21 18:16:21 -05:00
## 0.16.5
* initialize latency to 0
2015-12-21 18:07:27 -05:00
## 0.16.4
* add client.latency (thanks @netraameht )
2015-12-11 09:00:43 -05:00
## 0.16.3
* update protodef : fix bug in switch
* don't write after end and unpipe everything when ending
2015-11-19 17:38:06 -05:00
## 0.16.2
2015-12-11 09:00:43 -05:00
2015-11-19 17:38:06 -05:00
* update protodef version which fix a bug in writeOption
2015-11-19 15:02:31 -05:00
## 0.16.1
2015-11-19 14:45:02 -05:00
* add checkTimeoutInterval to createClient
2015-11-19 15:02:31 -05:00
* parse nbt in all packets (in particular tile_entity_data and update_entity_nbt)
2015-11-19 14:45:02 -05:00
2015-11-11 20:12:47 -05:00
## 0.16.0
2015-11-01 13:15:23 -05:00
* cross version support exposed : version option in createClient and createServer
* expose createSerializer and createDeserializer, createPacketBuffer and parsePacketData are now available in serializer/parser instances (BREAKING CHANGE)
* stop exposing packetFields, packetNames, packetIds, packetStates. That data is available by requiring minecraft-data package (BREAKING CHANGE)
* don't expose version anymore but supportedVersions (BREAKING CHANGE)
* use node-yggdrasil : index.js now doesn't expose yggdrasil, use node-yggdrasil directly if needed (BREAKING CHANGE)
* createServers's beforePing option can now takes an async function
* enable compression by default in createServer
2015-11-01 13:17:14 -05:00
* update ursa to get node4 (and node5) compatibility
2015-11-09 06:23:24 -05:00
* lot of internal changes : using the new general serializing/parsing library ProtoDef
* fix compression in proxy example
* fix gamemode3 in proxy
* generate the same uuidv3 than the vanilla server does in offline mode
2015-11-01 13:15:23 -05:00
2015-09-24 09:06:41 -04:00
## 0.15.0
2015-07-18 13:57:30 -04:00
* UUIDs are now strings instead of arrays. (BREAKING CHANGE)
2015-08-06 08:31:00 -04:00
* Server clients have a new property, client.profile, containing the result
of the yggdrasil authentication
* Protocol.json now lives in minecraft-data
2015-08-24 14:34:55 -04:00
* Don't bubble up errors from client to server. (BREAKING CHANGE). If you want
to catch the client errors, you need to add an error listener on that client.
The old behavior was confusing, error-prone and undocumented !
* Add keepAlive option to createServer, in order to optionally disable it.
* Lots of low-level changes to allow minecraft-data to be more generic.
2015-09-19 19:05:32 -04:00
* NMP code is able to work with both 1.8 and 1.9 data with the same code,
opening a path for cross-versioning.
* The packet events now take two parameters : `function (packetData, packetMetadata)`
* `packetMetadata` contains the packet name, id and state (more may be added later)
* `packetData` contains the actual data content
2015-07-18 13:57:30 -04:00
2015-05-29 07:24:12 -04:00
## 0.14.0
* Huge rewrite of the internals, using transform streams, which eliminates two
classes of problems from node-minecraft-protocol :
* Uncatchable errors being triggered inside the protocol parser
* Packets ariving out of order, causing several race conditions
* All the attributes that were previously exposed via `mc.protocol` are now directly
attached to the `mc` object, e.g. `mc.protocol.states` => `mc.states` . This is
prone to further changes.
* open_window now reports the entityId correctly for horses
* Properly handle the set_compression packet
* Fix small bug in scoreboard_team and player_info packets causing crashes
* Fix the login implementation logging out people from their launchers.
## 0.13.4
* Added hook to modify server ping (thanks [Brian Schlenker ](https://github.com/bschlenk ))
* Exposed the Client class to the browser, after removing node-specific details
* Fixed the examples
* Silenced the "DID NOT PARSE THE WHOLE THING" debug message, and made it print more useful info
* Updated ursa-purejs dependency, which in turned fixed windows version of node-minecraft-protocol.
## 0.13.3
* Fixed readPosition for negative packets (thanks [rom1504 ](https://github.com/rom1504 ))
## 0.13.2
* Fixed particle packet.
* Fixed release. 0.13.1 release was missing an entire folder.
## 0.13.1
* Externalized rsa-wrap library to its own npm module, named ursa-native
* Fixed broken bed-related packets (thanks [rom1504 ](https://github.com/rom1504 ))
## 0.13.0
* Updated protocol version to support 1.8.1 (thanks [wtfaremyinitials ](https://github.com/wtfaremyinitials ))
* Lots of changes in how some formats are handled.
* Crypto now defaults to a pure-js library if URSA is missing, making the lib easier to use on windows.
* Fix a bug in yggdrasil handling of sessions, making reloading a session impossible (thanks [Frase ](https://github.com/mrfrase3 ))
* Set noDelay on the TCP streams, making the bot a lot less laggy.
## 0.12.3
* Fix for/in used over array, causing glitches with augmented Array prototypes (thanks [pelikhan ](https://github.com/pelikhan ))
## 0.12.2
* Updated protocol version to support 1.7.10
* Some bug fixes in parser (thanks [Luke Young ](https://github.com/innoying ))
* 'raw' event to catch all raw buffers (thanks [deathcap ](https://github.com/deathcap ))
* Misc bug fixes
## 0.12.1
* Updated protocol version to support 1.7.6
## 0.12.0
2019-08-03 19:22:04 -04:00
2015-05-29 07:24:12 -04:00
* Updated protocol version to support 1.7.2
* Overhaul the serializer backend to be more general-purpose and future-proof.
* Support listening packets by name (thanks [deathcap ](https://github.com/deathcap ))
* Support reading/writing a raw buffer to the socket.
## 0.11.6
* Updated protocol version to support 1.6.4 (thanks [Matt Bell ](https://github.com/mappum ))
## 0.11.5
* Fix handling of some conditional fields (thanks [Florian Wesch ](https://github.com/dividuum ))
## 0.11.4
* Chat packet string max length fix (thanks [Robin Lambertz ](https://github.com/roblabla ))
## 0.11.3
* packet 0x2c: packet writing fixed, UUID format simplified, tests updated
## 0.11.2
* 1.6.2 support fixes: updated 0x2c packets to include `elementList` and added 0x85 *Tile Editor Open* packets
## 0.11.1
* support minecraft protocol 1.6.2 / protocol version 74 (thanks [Matt Bell ](https://github.com/mappum ))
## 0.11.0
* support minecraft protocol 1.6.1 / protocol version 73 (thanks [Matt Bell ](https://github.com/mappum ))
* *note:* chat packets have a new format (see [the examples ](https://github.com/andrewrk/node-minecraft-protocol/tree/master/examples ) for how to upgrade).
## 0.10.1
* support minecraft protocol 1.5.2 / protocol version 61
## 0.10.0
* Added SRV record support when connecting to a server (thanks [Matt Stith ](https://github.com/stith ))
* 0x66: `shift` renamed to `mode` and changed from bool to byte
## 0.9.0
* 0xce: create changed from bool to byte (thanks [Robin Lambertz ](https://github.com/roblabla ))
## 0.8.1
* fix buffer length checking bug in readSlot() (thanks [Xabier de Zuazo ](https://github.com/zuazo ))
* fix C2 calculation bug (fixed #35 ) (thanks [Xabier de Zuazo ](https://github.com/zuazo ))
* fix oob Buffer at readEntityMetadata (fixed #40 ) (thanks [Xabier de Zuazo ](https://github.com/zuazo ))
## 0.8.0
* fix remaining bugs for 1.5.1 protocol (thanks [Xabier de Zuazo ](https://github.com/zuazo ))
* writing packets is 6% faster (thanks [Matt Bell ](https://github.com/mappum ))
## 0.7.9
* support minecraft protocol 1.5 / protocol version 60 (thanks [Matt Bell ](https://github.com/mappum ))
## 0.7.8
* server: ability to change `motd` and `maxPlayers`
* server: fix incorrect `playerCount`
## 0.7.7
* server: fix crash when client disconnects quickly
## 0.7.6
* onlineModeExceptions are all lowercase now. fixes security hole.
## 0.7.5
* server: add `onlineModeExceptions` . When server is in:
- online mode: these usernames are exempt from online mode.
- offline mode: these usernames must authenticate.
## 0.7.4
* server: online mode: don't log in client until username verification
## 0.7.3
* revert removing socket delays to reduce latency as it was causing
errors and test failures.
* server: Client now emits more predictable 'end' events.
## 0.7.2
* fix objectData writer. This fixes sending an 0x17 packet.
## 0.7.1
* remove socket delays to reduce latency. (thanks [Matt Bell ](https://github.com/mappum ))
## 0.7.0
* `createServer` : rename `encryption-enabled` option to `encryption` to stay
consistent with the examples. (thanks [Robin Lambertz ](https://github.com/roblabla ))
* `createClient` : don't require both `email` and `username` .
- The `username` and `password` arguments are used to authenticate with the
official minecraft servers and determine the case-correct username. If
you have migrated your user account to a mojang login, `username` looks
like an email address.
- If you leave out the `password` argument, `username` is used to connect
directly to the server. In this case you will get kicked if the server is
in online mode.
## 0.6.7
Emit 'error' event instead of crashing when other computers abuse the
minecraft protocol.
Big thanks to [Robin Lambertz ](https://github.com/roblabla ) for this release.
## 0.6.6
* ping: fix calling callback twice when server sends kick
* server: send a kick packet when kicking clients. (thanks [Robin Lambertz ](https://github.com/roblabla ))
* ping: include latency property (thanks [Jan Buschtöns ](https://github.com/silvinci ))
## 0.6.5
* createServer: allow empty options
* server: support online mode and encryption (thanks [Robin Lambertz ](https://github.com/roblabla ))
## 0.6.4
* Allow minecraft username instead of mojang email. (thanks [Robin Lambertz ](https://github.com/roblabla ))
## 0.6.3
* y values when only 1 byte are always unsigned
## 0.6.2
* 0x0e: change face to unsigned byte
## 0.6.1
* 0x0d: fix incorrectly swapped stance and y