diff --git a/python/.changelog.d/+4afd8b1d.fixed b/python/.changelog.d/+4afd8b1d.fixed deleted file mode 100644 index d10815d33a..0000000000 --- a/python/.changelog.d/+4afd8b1d.fixed +++ /dev/null @@ -1 +0,0 @@ -Use `frozenset` for `models.TREZORS` to prevent accidental modification. diff --git a/python/.changelog.d/3442.removed.1 b/python/.changelog.d/3442.removed.1 deleted file mode 100644 index 2b9f9e72d7..0000000000 --- a/python/.changelog.d/3442.removed.1 +++ /dev/null @@ -1 +0,0 @@ -CoSi functionality. diff --git a/python/.changelog.d/3728.added b/python/.changelog.d/3728.added deleted file mode 100644 index a615a73068..0000000000 --- a/python/.changelog.d/3728.added +++ /dev/null @@ -1 +0,0 @@ -Added support for T3B1. diff --git a/python/.changelog.d/3993.added b/python/.changelog.d/3993.added deleted file mode 100644 index db05c85e57..0000000000 --- a/python/.changelog.d/3993.added +++ /dev/null @@ -1 +0,0 @@ -Added support for Trezor models not known by the current version of the library. diff --git a/python/.changelog.d/4000.added b/python/.changelog.d/4000.added deleted file mode 100644 index a3a31bd6dc..0000000000 --- a/python/.changelog.d/4000.added +++ /dev/null @@ -1 +0,0 @@ -Added ability to set Optiga's security event counter to maximum: `trezorctl debug optiga-set-sec-max`. diff --git a/python/.changelog.d/4041.added b/python/.changelog.d/4041.added deleted file mode 100644 index f00a2950f3..0000000000 --- a/python/.changelog.d/4041.added +++ /dev/null @@ -1 +0,0 @@ -Enum for valid device rotations. diff --git a/python/.changelog.d/4076.added b/python/.changelog.d/4076.added deleted file mode 100644 index f3935cbb08..0000000000 --- a/python/.changelog.d/4076.added +++ /dev/null @@ -1 +0,0 @@ -Added pretty-printing of protobuf messages in IPython (`_repr_pretty_`). diff --git a/python/.changelog.d/4089.changed b/python/.changelog.d/4089.changed deleted file mode 100644 index 8a8b3b80b5..0000000000 --- a/python/.changelog.d/4089.changed +++ /dev/null @@ -1 +0,0 @@ -Most USB level errors are now converted to `TransportException`. diff --git a/python/.changelog.d/4089.fixed b/python/.changelog.d/4089.fixed deleted file mode 100644 index 1626297f51..0000000000 --- a/python/.changelog.d/4089.fixed +++ /dev/null @@ -1 +0,0 @@ -It is now possible to interrupt USB communication (via Ctrl+C, or a signal, or any other way). diff --git a/python/.changelog.d/4101.added b/python/.changelog.d/4101.added deleted file mode 100644 index c15dccb4e5..0000000000 --- a/python/.changelog.d/4101.added +++ /dev/null @@ -1 +0,0 @@ -Added support for benchmarks. diff --git a/python/.changelog.d/4119.removed b/python/.changelog.d/4119.removed deleted file mode 100644 index f8c8d2759f..0000000000 --- a/python/.changelog.d/4119.removed +++ /dev/null @@ -1 +0,0 @@ -Removed display_random feature. diff --git a/python/.changelog.d/4155.added b/python/.changelog.d/4155.added deleted file mode 100644 index 66d62bfe34..0000000000 --- a/python/.changelog.d/4155.added +++ /dev/null @@ -1 +0,0 @@ -Added support for entropy check workflow in `device.reset()`. diff --git a/python/.changelog.d/4282.added b/python/.changelog.d/4282.added deleted file mode 100644 index d7c37f0d9b..0000000000 --- a/python/.changelog.d/4282.added +++ /dev/null @@ -1 +0,0 @@ -Added shortcut for loading a debug device with the "academic" SLIP39 seed. diff --git a/python/.changelog.d/4351.added b/python/.changelog.d/4351.added deleted file mode 100644 index 72b264b78e..0000000000 --- a/python/.changelog.d/4351.added +++ /dev/null @@ -1 +0,0 @@ -Added support for lexicographic sorting of pubkeys in multisig. diff --git a/python/.changelog.d/4464.added b/python/.changelog.d/4464.added deleted file mode 100644 index 3cea8e55ac..0000000000 --- a/python/.changelog.d/4464.added +++ /dev/null @@ -1 +0,0 @@ -Introduced `device.setup()` as a cleaner upgrade to `device.reset()`. diff --git a/python/.changelog.d/4464.added.1 b/python/.changelog.d/4464.added.1 deleted file mode 100644 index 2bca4ba58b..0000000000 --- a/python/.changelog.d/4464.added.1 +++ /dev/null @@ -1 +0,0 @@ -Added an `expect` argument to `TrezorClient.call()`, to enforce the returned message type. diff --git a/python/.changelog.d/4464.deprecated b/python/.changelog.d/4464.deprecated deleted file mode 100644 index 1c70033bf2..0000000000 --- a/python/.changelog.d/4464.deprecated +++ /dev/null @@ -1 +0,0 @@ -`device.reset()` is deprecated, migrate to `device.setup()`. diff --git a/python/.changelog.d/4464.deprecated.1 b/python/.changelog.d/4464.deprecated.1 deleted file mode 100644 index 12dda3d95f..0000000000 --- a/python/.changelog.d/4464.deprecated.1 +++ /dev/null @@ -1 +0,0 @@ -String return values are deprecated in functions where the semantic result is a success (specifically those that were returning the message from Trezor's `Success` response). Type annotations are updated to `str | None`, and in a future release those functions will be returning `None` on success, or raise an exception on a failure. diff --git a/python/.changelog.d/4464.deprecated.2 b/python/.changelog.d/4464.deprecated.2 deleted file mode 100644 index 1843512b8b..0000000000 --- a/python/.changelog.d/4464.deprecated.2 +++ /dev/null @@ -1 +0,0 @@ -`@expect` decorator is deprecated -- use `TrezorClient.call(expect=...)` instead. diff --git a/python/.changelog.d/4464.deprecated.3 b/python/.changelog.d/4464.deprecated.3 deleted file mode 100644 index a7dcbca4a0..0000000000 --- a/python/.changelog.d/4464.deprecated.3 +++ /dev/null @@ -1 +0,0 @@ -Return value of `device.recover()` is deprecated. In the future, this function will return `None`. diff --git a/python/.changelog.d/4464.incompatible b/python/.changelog.d/4464.incompatible deleted file mode 100644 index 2c8d4b814b..0000000000 --- a/python/.changelog.d/4464.incompatible +++ /dev/null @@ -1 +0,0 @@ -Return values in `solana` module were changed from the wrapping protobuf messages to the raw inner values (`str` for address, `bytes` for pubkey / signature). diff --git a/python/.changelog.d/4464.incompatible.1 b/python/.changelog.d/4464.incompatible.1 deleted file mode 100644 index f96056584f..0000000000 --- a/python/.changelog.d/4464.incompatible.1 +++ /dev/null @@ -1 +0,0 @@ -`trezorctl device` commands whose default result is a success will not print anything to stdout anymore, in line with Unix philosophy. diff --git a/python/CHANGELOG.md b/python/CHANGELOG.md index a37d368424..d78214f95d 100644 --- a/python/CHANGELOG.md +++ b/python/CHANGELOG.md @@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.13.10] (2025-02-12) +[0.13.10]: https://github.com/trezor/trezor-firmware/compare/python/v0.13.9...python/v0.13.10 + +### Added +- Added support for T3B1. [#3728] +- Added support for Trezor models not known by the current version of the library. [#3993] +- Added ability to set Optiga's security event counter to maximum: `trezorctl debug optiga-set-sec-max`. [#4000] +- Enum for valid device rotations. [#4041] +- Added pretty-printing of protobuf messages in IPython (`_repr_pretty_`). [#4076] +- Added support for benchmarks. [#4101] +- Added support for entropy check workflow in `device.reset()`. [#4155] +- Added shortcut for loading a debug device with the "academic" SLIP39 seed. [#4282] +- Added support for lexicographic sorting of pubkeys in multisig. [#4351] +- Added an `expect` argument to `TrezorClient.call()`, to enforce the returned message type. [#4464] +- Introduced `device.setup()` as a cleaner upgrade to `device.reset()`. [#4464] + +### Changed +- Most USB level errors are now converted to `TransportException`. [#4089] + +### Deprecated +- `@expect` decorator is deprecated -- use `TrezorClient.call(expect=...)` instead. [#4464] +- String return values are deprecated in functions where the semantic result is a success (specifically those that were returning the message from Trezor's `Success` response). Type annotations are updated to `str | None`, and in a future release those functions will be returning `None` on success, or raise an exception on a failure. [#4464] +- `device.reset()` is deprecated, migrate to `device.setup()`. [#4464] +- Return value of `device.recover()` is deprecated. In the future, this function will return `None`. [#4464] + +### Removed +- CoSi functionality. [#3442] +- Removed display_random feature. [#4119] + +### Fixed +- It is now possible to interrupt USB communication (via Ctrl+C, or a signal, or any other way). [#4089] +- Use `frozenset` for `models.TREZORS` to prevent accidental modification. + +### Incompatible changes +- Return values in `solana` module were changed from the wrapping protobuf messages to the raw inner values (`str` for address, `bytes` for pubkey / signature). [#4464] +- `trezorctl device` commands whose default result is a success will not print anything to stdout anymore, in line with Unix philosophy. [#4464] + ## [0.13.9] (2024-06-19) [0.13.9]: https://github.com/trezor/trezor-firmware/compare/python/v0.13.8...python/v0.13.9 @@ -828,8 +865,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#3364]: https://github.com/trezor/trezor-firmware/pull/3364 [#3422]: https://github.com/trezor/trezor-firmware/pull/3422 [#3434]: https://github.com/trezor/trezor-firmware/pull/3434 +[#3442]: https://github.com/trezor/trezor-firmware/pull/3442 [#3496]: https://github.com/trezor/trezor-firmware/pull/3496 [#3504]: https://github.com/trezor/trezor-firmware/pull/3504 [#3636]: https://github.com/trezor/trezor-firmware/pull/3636 +[#3728]: https://github.com/trezor/trezor-firmware/pull/3728 [#3868]: https://github.com/trezor/trezor-firmware/pull/3868 [#3893]: https://github.com/trezor/trezor-firmware/pull/3893 +[#3993]: https://github.com/trezor/trezor-firmware/pull/3993 +[#4000]: https://github.com/trezor/trezor-firmware/pull/4000 +[#4041]: https://github.com/trezor/trezor-firmware/pull/4041 +[#4076]: https://github.com/trezor/trezor-firmware/pull/4076 +[#4089]: https://github.com/trezor/trezor-firmware/pull/4089 +[#4101]: https://github.com/trezor/trezor-firmware/pull/4101 +[#4119]: https://github.com/trezor/trezor-firmware/pull/4119 +[#4155]: https://github.com/trezor/trezor-firmware/pull/4155 +[#4282]: https://github.com/trezor/trezor-firmware/pull/4282 +[#4351]: https://github.com/trezor/trezor-firmware/pull/4351 +[#4464]: https://github.com/trezor/trezor-firmware/pull/4464