2
2
3
3
All notable changes to this project will be documented in this file.
4
4
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
6
14
7
15
### Build experience
8
16
@@ -36,6 +44,17 @@ your project.
36
44
[ #160 ] : https://github.com/nginx/ngx-rust/pull/160
37
45
[ #176 ] : https://github.com/nginx/ngx-rust/pull/176
38
46
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
+
39
58
### Allocators
40
59
41
60
` 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]).
64
83
([ #124 ] , [ #161 ] ). No further porting or testing work was done.
65
84
* Reimplementations for ` nginx-sys ` methods and macros that cannot be translated
66
85
with bindgen ([ #131 ] , [ #162 ] , [ #167 ] )
67
- * Improved API for module configuration access ([ #142 ] ).
68
86
* Initial work on the NGINX async runtime ([ #170 ] )
69
87
* The default branch was renamed to ` main ` .
70
88
71
89
[ #91 ] : https://github.com/nginx/ngx-rust/pull/91
72
90
[ #111 ] : https://github.com/nginx/ngx-rust/pull/111
73
91
[ #113 ] : https://github.com/nginx/ngx-rust/pull/113
74
92
[ #131 ] : https://github.com/nginx/ngx-rust/pull/131
75
- [ #142 ] : https://github.com/nginx/ngx-rust/pull/142
76
93
[ #152 ] : https://github.com/nginx/ngx-rust/pull/152
77
94
[ #161 ] : https://github.com/nginx/ngx-rust/pull/161
78
95
[ #162 ] : https://github.com/nginx/ngx-rust/pull/162
@@ -90,7 +107,7 @@ distributions.
90
107
The minimum supported NGINX version is 1.22. The bindings may compile with an
91
108
older version of NGINX, but we do not test that regularly.
92
109
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 )
94
111
95
112
## Release v0.4.1
96
113
* release: ngx 0.4.1 (9d2ce0d)
0 commit comments