Skip to content

Commit 1cf18d1

Browse files
authored
Release 1.1.1 (#290)
1 parent e1928da commit 1cf18d1

File tree

8 files changed

+38
-28
lines changed

8 files changed

+38
-28
lines changed

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Fixed
1313

14+
### Removed
15+
16+
## [1.1.1] - 2025-03-02
17+
18+
### Added
19+
20+
### Fixed
21+
1422
- \[Rust\]: Fix the alignment of structs in unions [#289](https://github.com/planus-org/planus/pull/289)
1523

1624
### Removed
@@ -121,7 +129,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
121129

122130
- Initial release
123131

124-
[Unreleased]: https://github.com/planus-org/planus/compare/v1.1.0...HEAD
132+
[Unreleased]: https://github.com/planus-org/planus/compare/v1.1.1...HEAD
133+
[1.1.1]: https://github.com/planus-org/planus/compare/v1.1.0...v1.1.1
125134
[1.1.0]: https://github.com/planus-org/planus/compare/v1.0.0...v1.1.0
126135
[1.0.0]: https://github.com/planus-org/planus/compare/v0.4.0...v1.0.0
127136
[0.4.0]: https://github.com/planus-org/planus/compare/v0.3.1...v0.4.0

Cargo.lock

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
license = "MIT/Apache-2.0"
88
repository = "https://github.com/planus-org/planus"
99
rust-version = "1.75"
10-
version = "1.1.0"
10+
version = "1.1.1"
1111

1212
[workspace.dependencies]
1313
askama = "0.12"
@@ -41,13 +41,13 @@ vec_map = "0.8.2"
4141

4242
# Our crates
4343
array-init-cursor = { version = "0.2.0", path = "crates/array-init-cursor" }
44-
planus = { version = "1.1.0", path = "crates/planus", default-features = false }
45-
planus-buffer-inspection = { version = "1.1.0", path = "crates/planus-buffer-inspection" }
46-
planus-codegen = { version = "1.1.0", path = "crates/planus-codegen" }
47-
planus-inspector = { version = "1.1.0", path = "crates/planus-inspector" }
48-
planus-lexer = { version = "1.1.0", path = "crates/planus-lexer" }
49-
planus-translation = { version = "1.1.0", path = "crates/planus-translation" }
50-
planus-types = { version = "1.1.0", path = "crates/planus-types" }
44+
planus = { version = "1.1.1", path = "crates/planus", default-features = false }
45+
planus-buffer-inspection = { version = "1.1.1", path = "crates/planus-buffer-inspection" }
46+
planus-codegen = { version = "1.1.1", path = "crates/planus-codegen" }
47+
planus-inspector = { version = "1.1.1", path = "crates/planus-inspector" }
48+
planus-lexer = { version = "1.1.1", path = "crates/planus-lexer" }
49+
planus-translation = { version = "1.1.1", path = "crates/planus-translation" }
50+
planus-types = { version = "1.1.1", path = "crates/planus-types" }
5151

5252
# used for doctests
5353
planus-example = { path = "examples/rust" }

RELEASE-CHECKLIST.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
- Grep for the old version number
66
- Run `cargo make regenerate-examples`
77
- Update CHANGELOG.md, including links at the bottom
8-
- Remember to update `Cargo.lock`
8+
- Remember to update `Cargo.lock` in test/
99
- Commit changes to a branch and make a PR
1010
- Run `cargo publish --dry-run` on PR branch
1111
- Wait for CI and merge PR to main branch
1212
- Run `cargo publish` on main branch
13+
* This might help: `for f in crates/*/Cargo.toml; do echo === $f ===; rg ^planus $f; echo; done`
1314
- Push tag and make a github release
1415
- Make an announcement on discord

crates/planus-codegen/src/templates/rust/namespace.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pub use root::*;
44

5-
const _: () = ::planus::check_version_compatibility("planus-1.1.0");
5+
const _: () = ::planus::check_version_compatibility("planus-1.1.1");
66

77
{% for docstring in docstrings.iter_strings() %}
88
/// {{ docstring }}

crates/planus/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ pub use crate::{
4040
#[doc(hidden)]
4141
pub const fn check_version_compatibility(s: &str) {
4242
match s.as_bytes() {
43-
b"planus-1.1.0" => (),
43+
b"planus-1.1.1" => (),
4444
_ => panic!(
45-
"Your generated code is out of date, please regenerate using planus version 1.1.0"
45+
"Your generated code is out of date, please regenerate using planus version 1.1.1"
4646
),
4747
}
4848
}

examples/rust/src/monster_generated.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pub use root::*;
22

3-
const _: () = ::planus::check_version_compatibility("planus-1.1.0");
3+
const _: () = ::planus::check_version_compatibility("planus-1.1.1");
44

55
/// The root namespace
66
///

test/Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)