22
33All 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.
90107The minimum supported NGINX version is 1.22. The bindings may compile with an
91108older 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)
0 commit comments