Skip to content

Commit 264075a

Browse files
authored
0.66.0 release preparation (rust-lang#2555)
* Update changelog * Bump versions
1 parent 2665f1c commit 264075a

File tree

4 files changed

+94
-79
lines changed

4 files changed

+94
-79
lines changed

CHANGELOG.md

Lines changed: 89 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -7,129 +7,133 @@
77
- [Removed](#removed)
88
- [Fixed](#fixed)
99
- [Security](#security)
10-
- [0.65.1](#0651)
11-
- [Fixed](#fixed-1)
12-
- [0.65.0](#0650)
10+
- [0.66.0](#0660)
1311
- [Added](#added-1)
1412
- [Changed](#changed-1)
1513
- [Removed](#removed-1)
16-
- [0.64.0](#0640)
14+
- [0.65.1](#0651)
15+
- [Fixed](#fixed-1)
16+
- [0.65.0](#0650)
1717
- [Added](#added-2)
1818
- [Changed](#changed-2)
19-
- [0.63.0](#0630)
19+
- [Removed](#removed-2)
20+
- [0.64.0](#0640)
2021
- [Added](#added-3)
2122
- [Changed](#changed-3)
22-
- [Removed](#removed-2)
23-
- [0.62.0](#0620)
23+
- [0.63.0](#0630)
2424
- [Added](#added-4)
2525
- [Changed](#changed-4)
26-
- [Fixed](#fixed-2)
27-
- [0.61.0](#0610)
26+
- [Removed](#removed-3)
27+
- [0.62.0](#0620)
2828
- [Added](#added-5)
2929
- [Changed](#changed-5)
30+
- [Fixed](#fixed-2)
31+
- [0.61.0](#0610)
32+
- [Added](#added-6)
33+
- [Changed](#changed-6)
3034
- [Fixed](#fixed-3)
3135
- [0.60.1](#0601)
3236
- [Fixed](#fixed-4)
3337
- [0.60.0](#0600)
34-
- [Added](#added-6)
38+
- [Added](#added-7)
3539
- [Fixed](#fixed-5)
36-
- [Changed](#changed-6)
37-
- [Removed](#removed-3)
40+
- [Changed](#changed-7)
41+
- [Removed](#removed-4)
3842
- [0.59.2](#0592)
3943
- [0.59.1](#0591)
4044
- [Fixed](#fixed-6)
4145
- [0.59.0](#0590)
42-
- [Added](#added-7)
46+
- [Added](#added-8)
4347
- [Fixed](#fixed-7)
44-
- [Changed](#changed-7)
48+
- [Changed](#changed-8)
4549
- [0.58.1](#0581)
46-
- [Added](#added-8)
47-
- [0.58.0](#0580)
4850
- [Added](#added-9)
51+
- [0.58.0](#0580)
52+
- [Added](#added-10)
4953
- [Fixed](#fixed-8)
50-
- [Changed](#changed-8)
54+
- [Changed](#changed-9)
5155
- [Deprecated](#deprecated)
52-
- [Removed](#removed-4)
56+
- [Removed](#removed-5)
5357
- [Fixed](#fixed-9)
5458
- [Security](#security-1)
5559
- [0.57.0](#0570)
56-
- [Added](#added-10)
60+
- [Added](#added-11)
5761
- [Fixed](#fixed-10)
5862
- [0.56.0](#0560)
59-
- [Added](#added-11)
60-
- [Changed](#changed-9)
63+
- [Added](#added-12)
64+
- [Changed](#changed-10)
6165
- [Fixed](#fixed-11)
6266
- [0.55.1](#0551)
6367
- [Fixed](#fixed-12)
6468
- [0.55.0](#0550)
65-
- [Removed](#removed-5)
66-
- [Added](#added-12)
67-
- [Changed](#changed-10)
68-
- [Fixed](#fixed-13)
69-
- [0.54.1](#0541)
69+
- [Removed](#removed-6)
7070
- [Added](#added-13)
7171
- [Changed](#changed-11)
72-
- [Fixed](#fixed-14)
73-
- [0.54.0](#0540)
72+
- [Fixed](#fixed-13)
73+
- [0.54.1](#0541)
7474
- [Added](#added-14)
7575
- [Changed](#changed-12)
76+
- [Fixed](#fixed-14)
77+
- [0.54.0](#0540)
78+
- [Added](#added-15)
79+
- [Changed](#changed-13)
7680
- [Fixed](#fixed-15)
7781
- [0.53.3](#0533)
78-
- [Added](#added-15)
82+
- [Added](#added-16)
7983
- [Fixed](#fixed-16)
8084
- [0.53.2](#0532)
81-
- [Changed](#changed-13)
85+
- [Changed](#changed-14)
8286
- [0.53.1](#0531)
83-
- [Added](#added-16)
84-
- [0.53.0](#0530)
8587
- [Added](#added-17)
86-
- [Changed](#changed-14)
87-
- [Fixed](#fixed-17)
88-
- [0.52.0](#0520)
88+
- [0.53.0](#0530)
8989
- [Added](#added-18)
9090
- [Changed](#changed-15)
91+
- [Fixed](#fixed-17)
92+
- [0.52.0](#0520)
93+
- [Added](#added-19)
94+
- [Changed](#changed-16)
9195
- [Fixed](#fixed-18)
9296
- [0.51.1](#0511)
9397
- [Fixed](#fixed-19)
94-
- [Changed](#changed-16)
98+
- [Changed](#changed-17)
9599
- [0.51.0](#0510)
96100
- [Fixed](#fixed-20)
97-
- [Changed](#changed-17)
98-
- [Added](#added-19)
99-
- [0.50.0](#0500)
101+
- [Changed](#changed-18)
100102
- [Added](#added-20)
101-
- [0.49.3](#0493)
103+
- [0.50.0](#0500)
102104
- [Added](#added-21)
105+
- [0.49.3](#0493)
106+
- [Added](#added-22)
103107
- [0.49.2](#0492)
104-
- [Changed](#changed-18)
108+
- [Changed](#changed-19)
105109
- [0.49.1](#0491)
106110
- [Fixed](#fixed-21)
107-
- [Changed](#changed-19)
111+
- [Changed](#changed-20)
108112
- [0.49.0](#0490)
109-
- [Added](#added-22)
113+
- [Added](#added-23)
110114
- [Fixed](#fixed-22)
111-
- [Changed](#changed-20)
115+
- [Changed](#changed-21)
112116
- [0.48.1](#0481)
113117
- [Fixed](#fixed-23)
114118
- [0.48.0](#0480)
115-
- [Changed](#changed-21)
119+
- [Changed](#changed-22)
116120
- [Fixed](#fixed-24)
117121
- [0.47.4](#0474)
118-
- [Added](#added-23)
122+
- [Added](#added-24)
119123
- [0.47.3](#0473)
120-
- [Changed](#changed-22)
124+
- [Changed](#changed-23)
121125
- [0.47.2](#0472)
122126
- [Fixed](#fixed-25)
123127
- [0.47.1](#0471)
124-
- [Changed](#changed-23)
128+
- [Changed](#changed-24)
125129
- [Fixed](#fixed-26)
126130
- [0.47.0](#0470)
127-
- [Changed](#changed-24)
131+
- [Changed](#changed-25)
128132
- [Fixed](#fixed-27)
129133
- [0.33.1 .. 0.46.0](#0331--0460)
130-
- [Added](#added-24)
131-
- [Removed](#removed-6)
132-
- [Changed](#changed-25)
134+
- [Added](#added-25)
135+
- [Removed](#removed-7)
136+
- [Changed](#changed-26)
133137
- [Fixed](#fixed-28)
134138
- [0.33.1](#0331)
135139
- [Fixed](#fixed-29)
@@ -139,30 +143,38 @@
139143
- [0.32.1](#0321)
140144
- [Fixed](#fixed-31)
141145
- [0.32.0](#0320)
142-
- [Added](#added-25)
143-
- [Changed](#changed-26)
144-
- [Fixed](#fixed-32)
145-
- [0.31.0](#0310)
146146
- [Added](#added-26)
147147
- [Changed](#changed-27)
148+
- [Fixed](#fixed-32)
149+
- [0.31.0](#0310)
150+
- [Added](#added-27)
151+
- [Changed](#changed-28)
148152
- [Deprecated](#deprecated-1)
149-
- [Removed](#removed-7)
153+
- [Removed](#removed-8)
150154
- [Fixed](#fixed-33)
151155
- [0.30.0](#0300)
152-
- [Added](#added-27)
153-
- [Changed](#changed-28)
156+
- [Added](#added-28)
157+
- [Changed](#changed-29)
154158
- [Deprecated](#deprecated-2)
155159
- [Fixed](#fixed-34)
156160
- [0.29.0](#0290)
157-
- [Added](#added-28)
158-
- [Changed](#changed-29)
161+
- [Added](#added-29)
162+
- [Changed](#changed-30)
159163
- [Fixed](#fixed-35)
160164

161165
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
162166

163167
--------------------------------------------------------------------------------
164168

165-
# Unreleased
169+
# Unreleased
170+
171+
## Added
172+
## Changed
173+
## Removed
174+
## Fixed
175+
## Security
176+
177+
# 0.66.0
166178

167179
## Added
168180

@@ -171,7 +183,9 @@
171183
* Added the `--generate-shell-completions` CLI flag to generate completions for
172184
different shells.
173185
* The `--wrap-static-fns` option can now wrap `va_list` functions as variadic functions
174-
with the experimental `wrap_as_variadic_fn` callback.
186+
with the experimental `ParseCallbacks::wrap_as_variadic_fn` method.
187+
* Add target mappings for riscv32imc and riscv32imac.
188+
* Add the `ParseCallbacks::field_visibility` method to modify field visibility.
175189

176190
## Changed
177191

@@ -181,31 +195,32 @@
181195
statement and only call the static function instead.
182196
* The `--wrap-static-fns` option no longer emits wrappers for static variadic
183197
functions.
184-
* Depfiles generated with `--depfile` or `Builder::depfile` will now be
185-
properly generate module names and paths that include spaces by escaping
186-
them. To make the escaping clear and consistent, backslashes are also
187-
escaped.
198+
* Depfiles generated with `--depfile` or `Builder::depfile` will now properly
199+
generate module names and paths that include spaces by escaping them. To make
200+
the escaping clear and consistent, backslashes are also escaped.
188201
* Updated `bitflags` dependency to 2.2.1. This changes the API of `CodegenConfig`.
189202
* Prettyplease formatting is gated by an optional, enabled by default Cargo
190203
feature when depending on `bindgen` as a library.
191204
* Items are now parsed in the order they appear in source files. This may result in
192205
auto-generated `_bindgen_*` names having a different index.
206+
* Use default visibility for padding fields: Previously, padding fields were
207+
always public. Now, they follow the default visibility for the type they are
208+
in.
209+
* Compute visibility of bitfield unit based on actual field visibility: A
210+
bitfield unit field and its related functions now have their visibility
211+
determined based on the most private between the default visibility and the
212+
actual visibility of the bitfields within the unit.
213+
214+
## Removed
193215
* Remove redundant Cargo features, which were all implicit:
194216
- bindgen-cli: `env_logger` and `log` removed in favor of `logging`
195217
- bindgen (lib):
196218
+ `log` removed in favor of `logging`
197219
+ `which` removed in favor of `which-logging`
198220
+ `annotate-snippets` removed in favor of `experimental`
199-
* Add target mappings for riscv32imc and riscv32imac.
200-
201-
## Removed
202-
203-
## Fixed
204221

205222
* Prettyplease is available as a `Formatter` variant now.
206223

207-
## Security
208-
209224
# 0.65.1
210225

211226
## Fixed

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.

bindgen-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ readme = "../README.md"
1111
repository = "https://github.com/rust-lang/rust-bindgen"
1212
documentation = "https://docs.rs/bindgen"
1313
homepage = "https://rust-lang.github.io/rust-bindgen/"
14-
version = "0.65.1"
14+
version = "0.66.0"
1515
edition = "2018"
1616
rust-version = "1.64.0"
1717

@@ -20,7 +20,7 @@ path = "main.rs"
2020
name = "bindgen"
2121

2222
[dependencies]
23-
bindgen = { path = "../bindgen", version = "=0.65.1", features = ["__cli", "experimental"] }
23+
bindgen = { path = "../bindgen", version = "=0.66.0", features = ["__cli", "experimental"] }
2424
clap = { version = "4", features = ["derive"] }
2525
clap_complete = "4"
2626
env_logger = { version = "0.10.0", optional = true }

bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ readme = "../README.md"
1414
repository = "https://github.com/rust-lang/rust-bindgen"
1515
documentation = "https://docs.rs/bindgen"
1616
homepage = "https://rust-lang.github.io/rust-bindgen/"
17-
version = "0.65.1"
17+
version = "0.66.0"
1818
edition = "2018"
1919
build = "build.rs"
2020
# If you change this, also update README.md and msrv in .github/workflows/bindgen.yml

0 commit comments

Comments
 (0)