From 595a17ac4afedd45b265898b034b9024e94b0fde Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Thu, 26 Oct 2023 22:19:53 +0200 Subject: [PATCH] build(deps): Bump firmware, docs, jedi to v3.3.0b9. --- CHANGELOG.md | 39 ++++++++++++++++++++++++ package.json | 6 ++-- src/pybricksMicropython/python-worker.ts | 2 +- yarn.lock | 30 +++++++++--------- 4 files changed, 58 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08821870..b1ae094a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,49 @@ ## [Unreleased] +### Changed +- Updated dependencies. +- Updated firmware and docs to v3.3.0b9: + + ### Added + - Added `hub.buttons` as an alias for `hub.button` on buttons with one + hub ([support#1254]). + - Implemented `brake` for `DriveBase` ([support#881]). + + ### Changed + - The `use_gyro` method is added to the normal `DriveBase` class instead of + having a separate `GyroDriveBase` class. Since the latter was only released + in beta versions, this is not a breaking change ([support#1054]). + - New color distance function used by the color sensors that is more + consistent when distinguishing user-provided colors ([pybricks-micropython#104]). + - Updated the unreleased BLE API to ensure sent and received objects are the + same. Allows one of the supported types or a list/tuple thereof. + + ### Fixed + - Improved external device detection speed ([support#1140]). + - Fixed Powered Up Tilt Sensor not working ([support#1189]). + - Fixed `surface=False` not working in `ColorSensor` ([support#1232]). + - Fixed `PUPDevice.write` not selecting correct mode ([support#1213]). + - Fixed City Hub turning back on after shutdown ([support#1195]). + - Fixed SPIKE hubs not broadcasting at all when attempting to broadcast in a + tight loop ([support#1151]). + + [pybricks-micropython#104]: https://github.com/pybricks/pybricks-micropython/pull/104 + [support#881]: https://github.com/pybricks/support/issues/881 + [support#1054]: https://github.com/pybricks/support/issues/1054 + [support#1140]: https://github.com/pybricks/support/issues/1140 + [support#1151]: https://github.com/pybricks/support/issues/1151 + [support#1189]: https://github.com/pybricks/support/issues/1189 + [support#1195]: https://github.com/pybricks/support/issues/1195 + [support#1213]: https://github.com/pybricks/support/issues/1213 + [support#1232]: https://github.com/pybricks/support/issues/1232 + [support#1254]: https://github.com/pybricks/support/issues/1254 + ### Fixed - Fixed starting DFU flash while another was still in progress ([support#1146]). [support#1146]: https://github.com/pybricks/support/issues/1146 + ## [2.2.0-beta.8] - 2023-07-07 ### Changed diff --git a/package.json b/package.json index dc9b37ef..22624f50 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "@babel/core": "^7.22.17", "@blueprintjs/core": "^5.3.2", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", - "@pybricks/firmware": "7.7.0", - "@pybricks/ide-docs": "2.9.0", + "@pybricks/firmware": "7.8.0", + "@pybricks/ide-docs": "2.10.0", "@pybricks/images": "^1.3.0", - "@pybricks/jedi": "1.9.0", + "@pybricks/jedi": "1.10.0", "@pybricks/mpy-cross-v5": "^2.0.0", "@pybricks/mpy-cross-v6": "^2.0.0", "@pybricks/python-program-analysis": "^2.0.0", diff --git a/src/pybricksMicropython/python-worker.ts b/src/pybricksMicropython/python-worker.ts index 6079c3b9..354c1bb9 100644 --- a/src/pybricksMicropython/python-worker.ts +++ b/src/pybricksMicropython/python-worker.ts @@ -114,7 +114,7 @@ async function init(): Promise { new URL('@pybricks/jedi/docstring-parser.whl', import.meta.url).toString(), new URL('@pybricks/jedi/jedi.whl', import.meta.url).toString(), new URL('@pybricks/jedi/parso.whl', import.meta.url).toString(), - new URL('@pybricks/jedi/pybricks-jedi.whl', import.meta.url).toString(), + new URL('@pybricks/jedi/pybricks_jedi.whl', import.meta.url).toString(), new URL('@pybricks/jedi/pybricks.whl', import.meta.url).toString(), new URL('@pybricks/jedi/typing_extensions.whl', import.meta.url).toString(), ]); diff --git a/yarn.lock b/yarn.lock index e7b4312c..62dcdf02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2682,19 +2682,19 @@ __metadata: languageName: node linkType: hard -"@pybricks/firmware@npm:7.7.0": - version: 7.7.0 - resolution: "@pybricks/firmware@npm:7.7.0" +"@pybricks/firmware@npm:7.8.0": + version: 7.8.0 + resolution: "@pybricks/firmware@npm:7.8.0" dependencies: jszip: ^3.7.1 - checksum: def86290fe49cb285291110d433eae1514928ff3728222840b14ab038d97a19277cefd77e912e99ef96b3fe6bd9fcea127cd3c8489575d2de7777da7e3f3c3bf + checksum: 7b094d0fc90667744a5b0c3c119ac58bd35e2c103952b75481197f58ee9b376153a6ae7d4b9bd6821ead759b34166aa85d0f8e5ccf6ad03a86c09729f4645c2a languageName: node linkType: hard -"@pybricks/ide-docs@npm:2.9.0": - version: 2.9.0 - resolution: "@pybricks/ide-docs@npm:2.9.0" - checksum: 802ed3ee49cc0220d1f9a82de7a7fb01773da3e644522b339f43bcb91f45aa7a20ce013ce980ff14c4ff83bf43958fdb46d0514e7f4d9ddbfb9bfb5c70cbd373 +"@pybricks/ide-docs@npm:2.10.0": + version: 2.10.0 + resolution: "@pybricks/ide-docs@npm:2.10.0" + checksum: 8d2674892c6adde0d5d2ac93d388ea0be10b3b970ee75c8a06ad1f113170db630f35bacaff75df9fc17175056cc57ccc3b7d514cd5ea505366769c3571bd53c8 languageName: node linkType: hard @@ -2705,10 +2705,10 @@ __metadata: languageName: node linkType: hard -"@pybricks/jedi@npm:1.9.0": - version: 1.9.0 - resolution: "@pybricks/jedi@npm:1.9.0" - checksum: b290a33503357d80a3df1ec94459d524f5746f11a77f83ffca0e7a0bf437fb11fa7817745faae1d11dad91af3caa6b6abe8b6bc216e52354a808b6c5425f6f30 +"@pybricks/jedi@npm:1.10.0": + version: 1.10.0 + resolution: "@pybricks/jedi@npm:1.10.0" + checksum: 337f20e0ea7fc7889d2eae9e4f442339869a3d5615def32fa435e5692712f35503d92904645bd3fbcfc6a2c69e0b98969e1284c075861b466134499f75e274b3 languageName: node linkType: hard @@ -2733,10 +2733,10 @@ __metadata: "@babel/core": ^7.22.17 "@blueprintjs/core": ^5.3.2 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.11 - "@pybricks/firmware": 7.7.0 - "@pybricks/ide-docs": 2.9.0 + "@pybricks/firmware": 7.8.0 + "@pybricks/ide-docs": 2.10.0 "@pybricks/images": ^1.3.0 - "@pybricks/jedi": 1.9.0 + "@pybricks/jedi": 1.10.0 "@pybricks/mpy-cross-v5": ^2.0.0 "@pybricks/mpy-cross-v6": ^2.0.0 "@pybricks/python-program-analysis": ^2.0.0