Merge pull request #2081 from pybricks/v3.3.0b9

V3.3.0b9
This commit is contained in:
laurensvalk
2023-10-26 22:33:47 +02:00
committed by GitHub
4 changed files with 63 additions and 21 deletions
+43 -1
View File
@@ -4,10 +4,51 @@
## [Unreleased]
## [2.2.0-beta.9] - 2023-10-26
### 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
@@ -965,7 +1006,8 @@ Prerelease changes are documented at [support#48].
<!-- links for version headings -->
[Unreleased]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.8...HEAD
[Unreleased]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.9...HEAD
[2.2.0-beta.9]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.8..v2.2.0-beta.9
[2.2.0-beta.8]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.7..v2.2.0-beta.8
[2.2.0-beta.7]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.6..v2.2.0-beta.7
[2.2.0-beta.6]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.5..v2.2.0-beta.6
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@pybricks/pybricks-code",
"version": "2.2.0-beta.8",
"version": "2.2.0-beta.9",
"license": "MIT",
"author": "The Pybricks Authors",
"repository": {
@@ -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",
+1 -1
View File
@@ -114,7 +114,7 @@ async function init(): Promise<void> {
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(),
]);
+15 -15
View File
@@ -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