Skip to content

Commit 261a16b

Browse files
committed
release: ngx 0.5.0
1 parent a014215 commit 261a16b

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed

CHANGELOG.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## Release v0.5.0-beta
5+
## Release 0.5.0
6+
7+
### Breaking changes
8+
9+
The release contains too many breaking changes to offer a complete migration
10+
guide. We will strive to do better in future releases; meanwhile, we suggest to
11+
look at the changes in example modules:
12+
13+
git diff v0.4.1..v0.5.0 -- examples/*.rs
614

715
### Build experience
816

@@ -36,6 +44,17 @@ your project.
3644
[#160]: https://github.com/nginx/ngx-rust/pull/160
3745
[#176]: https://github.com/nginx/ngx-rust/pull/176
3846

47+
### Module declaration
48+
49+
The traits for declaring a module and accessing module configuration underwent
50+
significant changes in [#142] with the goal of reducing the amount of unsafe
51+
code and enforcing type safety.
52+
53+
See <https://github.com/nginx/ngx-rust/pull/142#issuecomment-2755624647> for a
54+
summary and migration steps.
55+
56+
[#142]: https://github.com/nginx/ngx-rust/pull/142
57+
3958
### Allocators
4059

4160
`ngx` now offers custom allocator support based on the [allocator-api2] crate.
@@ -64,15 +83,13 @@ in NGINX in [`ngx::collections`](./src/collections/) ([#164], [#181]).
6483
([#124], [#161]). No further porting or testing work was done.
6584
* Reimplementations for `nginx-sys` methods and macros that cannot be translated
6685
with bindgen ([#131], [#162], [#167])
67-
* Improved API for module configuration access ([#142]).
6886
* Initial work on the NGINX async runtime ([#170])
6987
* The default branch was renamed to `main`.
7088

7189
[#91]: https://github.com/nginx/ngx-rust/pull/91
7290
[#111]: https://github.com/nginx/ngx-rust/pull/111
7391
[#113]: https://github.com/nginx/ngx-rust/pull/113
7492
[#131]: https://github.com/nginx/ngx-rust/pull/131
75-
[#142]: https://github.com/nginx/ngx-rust/pull/142
7693
[#152]: https://github.com/nginx/ngx-rust/pull/152
7794
[#161]: https://github.com/nginx/ngx-rust/pull/161
7895
[#162]: https://github.com/nginx/ngx-rust/pull/162
@@ -90,7 +107,7 @@ distributions.
90107
The minimum supported NGINX version is 1.22. The bindings may compile with an
91108
older version of NGINX, but we do not test that regularly.
92109

93-
Full changelog: [v0.4.1..v0.5.0-beta](https://github.com/nginx/ngx-rust/compare/v0.4.1...v0.5.0-beta)
110+
Full changelog: [v0.4.1..v0.5.0](https://github.com/nginx/ngx-rust/compare/v0.4.1...v0.5.0)
94111

95112
## Release v0.4.1
96113
* release: ngx 0.4.1 (9d2ce0d)

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rust-version = "1.81.0"
1414

1515
[package]
1616
name = "ngx"
17-
version = "0.5.0-beta"
17+
version = "0.5.0"
1818
autoexamples = false
1919
categories = ["api-bindings", "network-programming"]
2020
description = "FFI bindings to NGINX"
@@ -40,7 +40,7 @@ targets = []
4040
allocator-api2 = { version = "0.3.1", default-features = false }
4141
async-task = { version = "4.7.1", optional = true }
4242
lock_api = "0.4.13"
43-
nginx-sys = { path = "nginx-sys", version = "0.5.0-beta"}
43+
nginx-sys = { path = "nginx-sys", version = "0.5.0"}
4444
pin-project-lite = { version = "0.2.16", optional = true }
4545

4646
[features]

nginx-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nginx-sys"
3-
version = "0.5.0-beta"
3+
version = "0.5.0"
44
categories = ["external-ffi-bindings"]
55
description = "FFI bindings to NGINX"
66
keywords = ["nginx", "ffi", "sys"]

0 commit comments

Comments
 (0)