diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7acfae3..dbb0cbee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Build and publish release on: push: tags: - - 'v1.*' + - 'v2.*' jobs: build: diff --git a/CHANGELOG.md b/CHANGELOG.md index dc6f597d..e1b61343 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ # Changelog -## [Unreleased] +## [2.0.0-beta.1] - 2022-06-03 ### Added - Added multi-file support ([support#418], [support#465]). @@ -10,6 +10,38 @@ ### Changed - Moved settings. - Accessibility improvements. +- Updated dependencies. +- Updated documentation. +- Updated firmware to v3.2.0b1: + + ### Added + - Added `Stop.NONE` as `then` option for motors. + - Added `Stop.COAST_SMART` as `then` option for motors. + - Made motor deceleration configurable separately from acceleration. + - Enabled `ujson` module. + - Added ability to use more than one `DriveBase` in the same script. + - Added support for battery charging on Prime and essential hubs. + + ### Changed + - Changed how `DriveBases` and `Motor` classes can be used together. + - Raise asynchronous `OSError` instead of `SystemExit` if motor is disconnected + while a program is running. + - Changing settings while a motor is moving no longer raises an exception. Some + settings will not take effect until a new motor command is given. + - Disabled `Motor.control` and `Motor.log` on Move Hub to save space. + - Changed LED color calibration on Prime hub to make yellow less green. + - Updated to upstream MicroPython v1.18. + - Changed imu.acceleration() units to mm/s/s ([pybricks-micropython#88]) for + Move Hub, Technic Hub, and Prime Hub. + + ### Fixed + - Fixed color calibration on Powered Up remote control ([support#424]). + - Fixed 3x3 Light Matrix colors with hue > 255 not working correctly ([support#619]). + + [pybricks-micropython#88]: https://github.com/pybricks/pybricks-micropython/issues/88 + [support#424]: https://github.com/pybricks/support/issues/424 + [support#619]: https://github.com/pybricks/support/issues/619 + ### Fixed - Fix tooltips not closing when expected ([pybricks-code#275]). @@ -253,7 +285,8 @@ Prerelease changes are documented at [support#48]. -[Unreleased]: https://github.com/pybricks/pybricks-code/compare/v1.2.0-beta.1...HEAD +[Unreleased]: https://github.com/pybricks/pybricks-code/compare/v2.0.0-beta.1...HEAD +[2.0.0-beta.1]: https://github.com/pybricks/pybricks-code/compare/v1.2.0-beta.1...v2.0.0-beta.1 [1.2.0-beta.1]: https://github.com/pybricks/pybricks-code/compare/v1.1.0...v1.2.0-beta.1 [1.1.0]: https://github.com/pybricks/pybricks-code/compare/v1.1.0-rc.1...v1.1.0 [1.1.0-rc.1]: https://github.com/pybricks/pybricks-code/compare/v1.1.0-beta.6...v1.1.0-rc.1 diff --git a/package.json b/package.json index b293ea84..a99dfc56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pybricks/pybricks-code", - "version": "1.2.0-beta.1", + "version": "2.0.0-beta.1", "license": "MIT", "author": "The Pybricks Authors", "repository": {