diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-07-08 21:15:57 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-08 21:15:57 +0000 |
| commit | ca667f124f20825a0624ae3d6ef3de9def033d90 (patch) | |
| tree | e6c007038a9be18611d3fb24566b29736a4bdd4e | |
| parent | 51e46636254f3e56f467b3d44ed10c7a20e1814a (diff) | |
| parent | 22e77cb675a2405472cd6d28b66172e311713ee1 (diff) | |
Merge pull request #4289 from rursprung/prepare-release-for-embassy-rp
prepare release for `embassy-rp` & dependencies
| -rw-r--r-- | embassy-embedded-hal/CHANGELOG.md | 6 | ||||
| -rw-r--r-- | embassy-embedded-hal/release.toml | 5 | ||||
| -rw-r--r-- | embassy-executor/CHANGELOG.md | 17 | ||||
| -rw-r--r-- | embassy-executor/release.toml | 5 | ||||
| -rw-r--r-- | embassy-futures/CHANGELOG.md | 14 | ||||
| -rw-r--r-- | embassy-futures/release.toml | 5 | ||||
| -rw-r--r-- | embassy-net-driver-channel/CHANGELOG.md | 5 | ||||
| -rw-r--r-- | embassy-net-driver-channel/release.toml | 5 | ||||
| -rw-r--r-- | embassy-rp/CHANGELOG.md | 29 | ||||
| -rw-r--r-- | embassy-rp/release.toml | 5 | ||||
| -rw-r--r-- | embassy-time-driver/CHANGELOG.md | 6 | ||||
| -rw-r--r-- | embassy-time-driver/release.toml | 5 | ||||
| -rw-r--r-- | embassy-time/CHANGELOG.md | 11 | ||||
| -rw-r--r-- | embassy-time/release.toml | 5 | ||||
| -rw-r--r-- | embassy-usb-driver/CHANGELOG.md | 11 | ||||
| -rw-r--r-- | embassy-usb-driver/release.toml | 5 | ||||
| -rw-r--r-- | embassy-usb/CHANGELOG.md | 10 | ||||
| -rw-r--r-- | embassy-usb/release.toml | 5 | ||||
| -rwxr-xr-x | release/bump-dependency.sh | 2 |
19 files changed, 149 insertions, 7 deletions
diff --git a/embassy-embedded-hal/CHANGELOG.md b/embassy-embedded-hal/CHANGELOG.md index 224036af4..6f0655adf 100644 --- a/embassy-embedded-hal/CHANGELOG.md +++ b/embassy-embedded-hal/CHANGELOG.md | |||
| @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## Unreleased | 8 | <!-- next-header --> |
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - `SpiDevice` cancel safety: always set CS pin to high on drop | ||
| 12 | - Update `embassy-sync` to v0.7.0 | ||
| 9 | 13 | ||
| 10 | ## 0.3.0 - 2025-01-05 | 14 | ## 0.3.0 - 2025-01-05 |
| 11 | 15 | ||
diff --git a/embassy-embedded-hal/release.toml b/embassy-embedded-hal/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-embedded-hal/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-executor/CHANGELOG.md b/embassy-executor/CHANGELOG.md index 608c67724..914863a83 100644 --- a/embassy-executor/CHANGELOG.md +++ b/embassy-executor/CHANGELOG.md | |||
| @@ -5,9 +5,22 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## unreleased | 8 | <!-- next-header --> |
| 9 | 9 | ## Unreleased - ReleaseDate | |
| 10 | |||
| 11 | - Added `SpawnToken::id` | ||
| 12 | - Task pools are now statically allocated on stable rust. All `task-arena-size-*` features have been removed and are no longer necessary. | ||
| 13 | - New trace hooks: `_embassy_trace_poll_start` & `_embassy_trace_task_end` | ||
| 14 | - Added task naming capability to tracing infrastructure | ||
| 15 | - Added `Executor::id` & `Spawner::executor_id` | ||
| 16 | - Disable `critical-section/std` for arch-std | ||
| 17 | - Added possibility to select an executor in `#[embassy_executor::main]` | ||
| 18 | - Fix AVR executor | ||
| 19 | - executor: Make state implementations and their conditions match | ||
| 10 | - Added support for Cortex-A and Cortex-R | 20 | - Added support for Cortex-A and Cortex-R |
| 21 | - Added support for `-> impl Future<Output = ()>` in `#[task]` | ||
| 22 | - Fixed `Send` unsoundness with `-> impl Future` tasks | ||
| 23 | - Marked `Spawner::for_current_executor` as `unsafe` | ||
| 11 | 24 | ||
| 12 | ## 0.7.0 - 2025-01-02 | 25 | ## 0.7.0 - 2025-01-02 |
| 13 | 26 | ||
diff --git a/embassy-executor/release.toml b/embassy-executor/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-executor/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-futures/CHANGELOG.md b/embassy-futures/CHANGELOG.md new file mode 100644 index 000000000..eb76cdc4a --- /dev/null +++ b/embassy-futures/CHANGELOG.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # Changelog for embassy-futures | ||
| 2 | |||
| 3 | All notable changes to this project will be documented in this file. | ||
| 4 | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
| 7 | |||
| 8 | <!-- next-header --> | ||
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - Preserve location information for `defmt` in `fmt` calls ([#3085](https://github.com/embassy-rs/embassy/pull/3085)) | ||
| 12 | - Fixed soundness issue in `select_slice` ([#3328](https://github.com/embassy-rs/embassy/pull/3328)) | ||
| 13 | - Added `select5` and `select6` ([#3430](https://github.com/embassy-rs/embassy/pull/3430)) | ||
| 14 | - Added `is_x` methods for all `EitherN` enum variants (#[3650](https://github.com/embassy-rs/embassy/pull/3650)) | ||
diff --git a/embassy-futures/release.toml b/embassy-futures/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-futures/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-net-driver-channel/CHANGELOG.md b/embassy-net-driver-channel/CHANGELOG.md index d7af7e55d..a5c81cf4d 100644 --- a/embassy-net-driver-channel/CHANGELOG.md +++ b/embassy-net-driver-channel/CHANGELOG.md | |||
| @@ -5,7 +5,10 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## Unreleased | 8 | <!-- next-header --> |
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - Update `embassy-sync` to v0.7.0 | ||
| 9 | 12 | ||
| 10 | ## 0.3.0 - 2024-08-05 | 13 | ## 0.3.0 - 2024-08-05 |
| 11 | 14 | ||
diff --git a/embassy-net-driver-channel/release.toml b/embassy-net-driver-channel/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-net-driver-channel/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-rp/CHANGELOG.md b/embassy-rp/CHANGELOG.md index 7ac0a47cb..52bf0038e 100644 --- a/embassy-rp/CHANGELOG.md +++ b/embassy-rp/CHANGELOG.md | |||
| @@ -5,7 +5,34 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## Unreleased | 8 | <!-- next-header --> |
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - Fix wrong `funcsel` on RP2350 gpout/gpin ([#3975](https://github.com/embassy-rs/embassy/pull/3975)) | ||
| 12 | - Fix potential race condition in `ADC::wait_for_ready` ([#4012](https://github.com/embassy-rs/embassy/pull/4012)) | ||
| 13 | - `flash`: rename `BOOTROM_BASE` to `BOOTRAM_BASE` ([#4014](https://github.com/embassy-rs/embassy/pull/4014)) | ||
| 14 | - Remove `Peripheral` trait & rename `PeripheralRef` to `Peri` ([#3999](https://github.com/embassy-rs/embassy/pull/3999)) | ||
| 15 | - Fix watchdog count on RP235x ([#4021](https://github.com/embassy-rs/embassy/pull/4021)) | ||
| 16 | - I2C: ensure that wakers are registered before checking status of `wait_on` helpers ([#4043](https://github.com/embassy-rs/embassy/pull/4043)) | ||
| 17 | - Modify `Uarte` and `BufferedUarte` initialization to take pins before interrupts ([#3983](https://github.com/embassy-rs/embassy/pull/3983)) | ||
| 18 | - `uart`: increase RX FIFO watermark from 1/8 to 7/8 ([#4055](https://github.com/embassy-rs/embassy/pull/4055)) | ||
| 19 | - Add `spinlock_mutex` ([#4017](https://github.com/embassy-rs/embassy/pull/4017)) | ||
| 20 | - Enable input mode for PWM pins on RP235x and disable it on drop ([#4093](https://github.com/embassy-rs/embassy/pull/4093)) | ||
| 21 | - Add `impl rand_core::CryptoRng for Trng` ([#4096](https://github.com/embassy-rs/embassy/pull/4096)) | ||
| 22 | - `pwm`: enable pull-down resistors for pins in `Drop` implementation ([#4115](https://github.com/embassy-rs/embassy/pull/4115)) | ||
| 23 | - Rewrite PIO onewire implementation ([#4128](https://github.com/embassy-rs/embassy/pull/4128)) | ||
| 24 | - Implement RP2040 overclocking ([#4150](https://github.com/embassy-rs/embassy/pull/4150)) | ||
| 25 | - Implement RP235x overclocking ([#4187](https://github.com/embassy-rs/embassy/pull/4187)) | ||
| 26 | - `trng`: improve error handling ([#4139](https://github.com/embassy-rs/embassy/pull/4139)) | ||
| 27 | - Remove `<T: Instance>` from `Uart` and `BufferedUart` ([#4155](https://github.com/embassy-rs/embassy/pull/4155)) | ||
| 28 | - Make bit-depth of I2S PIO program configurable ([#4193](https://github.com/embassy-rs/embassy/pull/4193)) | ||
| 29 | - Add the possibility to document `bind_interrupts` `struct`s ([#4206](https://github.com/embassy-rs/embassy/pull/4206)) | ||
| 30 | - Add missing `Debug` and `defmt::Format` `derive`s for ADC & `AnyPin` ([#4205](https://github.com/embassy-rs/embassy/pull/4205)) | ||
| 31 | - Add `rand-core` v0.9 support ([#4217](https://github.com/embassy-rs/embassy/pull/4217)) | ||
| 32 | - Update `embassy-sync` to v0.7.0 ([#4234](https://github.com/embassy-rs/embassy/pull/4234)) | ||
| 33 | - Add compatibility with ws2812 leds that have 4 addressable lights ([#4236](https://github.com/embassy-rs/embassy/pull/4236)) | ||
| 34 | - Implement input/output inversion ([#4237](https://github.com/embassy-rs/embassy/pull/4237)) | ||
| 35 | - Add `multicore::current_core` API ([#4362](https://github.com/embassy-rs/embassy/pull/4362)) | ||
| 9 | 36 | ||
| 10 | ## 0.4.0 - 2025-03-09 | 37 | ## 0.4.0 - 2025-03-09 |
| 11 | 38 | ||
diff --git a/embassy-rp/release.toml b/embassy-rp/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-rp/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-time-driver/CHANGELOG.md b/embassy-time-driver/CHANGELOG.md index 744b0f648..b61a10bf6 100644 --- a/embassy-time-driver/CHANGELOG.md +++ b/embassy-time-driver/CHANGELOG.md | |||
| @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | <!-- next-header --> | ||
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - Allow inlining on time driver boundary | ||
| 12 | - add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK` | ||
| 13 | |||
| 8 | ## 0.2.0 - 2025-01-02 | 14 | ## 0.2.0 - 2025-01-02 |
| 9 | 15 | ||
| 10 | - The `allocate_alarm`, `set_alarm_callback`, `set_alarm` functions have been removed. | 16 | - The `allocate_alarm`, `set_alarm_callback`, `set_alarm` functions have been removed. |
diff --git a/embassy-time-driver/release.toml b/embassy-time-driver/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-time-driver/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-time/CHANGELOG.md b/embassy-time/CHANGELOG.md index 09e951ce4..a0c1abe8d 100644 --- a/embassy-time/CHANGELOG.md +++ b/embassy-time/CHANGELOG.md | |||
| @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | <!-- next-header --> | ||
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - Allow inlining on time driver boundary | ||
| 12 | - Add `saturating_add` and `saturating_sub` to `Instant` | ||
| 13 | - Add `Instant::try_from_*` constructor functions | ||
| 14 | - Add `Duration::try_from_*` constructor functions | ||
| 15 | - Don't select `critical-section` impl for `std` | ||
| 16 | - Manually implement the future for `with_timeout` | ||
| 17 | - Add 133MHz tick rate to support PR2040 @ 133MHz when `TIMERx`'s `SOURCE` is set to `SYSCLK` | ||
| 18 | |||
| 8 | ## 0.4.0 - 2025-01-02 | 19 | ## 0.4.0 - 2025-01-02 |
| 9 | 20 | ||
| 10 | - `embassy-time-driver` updated from v0.1 to v0.2. | 21 | - `embassy-time-driver` updated from v0.1 to v0.2. |
diff --git a/embassy-time/release.toml b/embassy-time/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-time/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-usb-driver/CHANGELOG.md b/embassy-usb-driver/CHANGELOG.md new file mode 100644 index 000000000..c02daefdf --- /dev/null +++ b/embassy-usb-driver/CHANGELOG.md | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # Changelog for embassy-usb-driver | ||
| 2 | |||
| 3 | All notable changes to this project will be documented in this file. | ||
| 4 | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
| 7 | |||
| 8 | <!-- next-header --> | ||
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - Add `embedded_io_async::Error` implementation for `EndpointError` ([#4176](https://github.com/embassy-rs/embassy/pull/4176)) | ||
diff --git a/embassy-usb-driver/release.toml b/embassy-usb-driver/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-usb-driver/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/embassy-usb/CHANGELOG.md b/embassy-usb/CHANGELOG.md index 76fafed31..51db5f03e 100644 --- a/embassy-usb/CHANGELOG.md +++ b/embassy-usb/CHANGELOG.md | |||
| @@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## Unreleased | 8 | <!-- next-header --> |
| 9 | ## Unreleased - ReleaseDate | ||
| 10 | |||
| 11 | - `UAC1`: unmute by default ([#3992](https://github.com/embassy-rs/embassy/pull/3992)) | ||
| 12 | - `cdc_acm`: `State::new` is now `const` ([#4000](https://github.com/embassy-rs/embassy/pull/4000)) | ||
| 13 | - Add support for CMSIS-DAP v2 USB class ([#4107](https://github.com/embassy-rs/embassy/pull/4107)) | ||
| 14 | - Reduce `UsbDevice` builder logs to `trace` ([#4130](https://github.com/embassy-rs/embassy/pull/4130)) | ||
| 15 | - Implement `embedded-io-async` traits for USB CDC ACM ([#4176](https://github.com/embassy-rs/embassy/pull/4176)) | ||
| 16 | - Update `embassy-sync` to v0.7.0 | ||
| 9 | 17 | ||
| 10 | ## 0.4.0 - 2025-01-15 | 18 | ## 0.4.0 - 2025-01-15 |
| 11 | 19 | ||
diff --git a/embassy-usb/release.toml b/embassy-usb/release.toml new file mode 100644 index 000000000..fb6feaf21 --- /dev/null +++ b/embassy-usb/release.toml | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | pre-release-replacements = [ | ||
| 2 | {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, | ||
| 3 | {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, | ||
| 4 | {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## Unreleased - ReleaseDate\n", exactly=1}, | ||
| 5 | ] | ||
diff --git a/release/bump-dependency.sh b/release/bump-dependency.sh index 07511d229..97f73cddc 100755 --- a/release/bump-dependency.sh +++ b/release/bump-dependency.sh | |||
| @@ -8,4 +8,4 @@ | |||
| 8 | # | 8 | # |
| 9 | CRATE=$1 | 9 | CRATE=$1 |
| 10 | TARGET_VER=$2 | 10 | TARGET_VER=$2 |
| 11 | find . -name "Cargo.toml" | xargs sed -rie "s/($CRATE = \{.*version = \")[0-9]+.[0-9]+.?[0-9]*(\".*)/\1$TARGET_VER\2/g" | 11 | find . -name "Cargo.toml" | xargs sed -ri "s/($CRATE = \{.*version = \")[0-9]+.[0-9]+.?[0-9]*(\".*)/\1$TARGET_VER\2/g" |
