Skip to content

Commit 0a0c7db

Browse files
committed
Update changelog
- 0.4.28 and older releases have been yanked because they failed to compile with syn 1.0.84 and later. See #335 for more. - Mention the minimal version of syn increased in 1.0.9.
1 parent 2c8776b commit 0a0c7db

File tree

1 file changed

+52
-2
lines changed

1 file changed

+52
-2
lines changed

CHANGELOG.md

+52-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ NOTE: In this file, do not use the hard wrap in the middle of a sentence for com
1414

1515
- [Prevent abuse of private module.](https://github.com/taiki-e/pin-project/pull/336)
1616

17+
- Update minimal version of `syn` to 1.0.84.
18+
1719
## [1.0.8] - 2021-07-21
1820

1921
- [Suppress `clippy::use_self` and `clippy::type_repetition_in_bounds` lints in generated code.](https://github.com/taiki-e/pin-project/pull/331)
@@ -87,7 +89,7 @@ Changes since the 1.0.0-alpha.1 release:
8789

8890
- [Fix drop order of pinned fields in `project_replace`.](https://github.com/taiki-e/pin-project/pull/287)
8991

90-
- Update minimal version of `syn` to 1.0.44
92+
- Update minimal version of `syn` to 1.0.44.
9193

9294
## [1.0.0-alpha.1] - 2020-09-22
9395

@@ -128,41 +130,57 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
128130

129131
## [0.4.28] - 2021-03-28
130132

133+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
134+
131135
- [Fix `unused_must_use` warning on unused borrows, which will be added to rustc in the future.](https://github.com/taiki-e/pin-project/pull/322) See [#322](https://github.com/taiki-e/pin-project/pull/322) for more details.
132136

133137
(NOTE: 1.0 does not have this problem.)
134138

135139
## [0.4.27] - 2020-10-11
136140

137-
- Update minimal version of `syn` to 1.0.44
141+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
142+
143+
- Update minimal version of `syn` to 1.0.44.
138144

139145
## [0.4.26] - 2020-10-04
140146

147+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
148+
141149
- [Fix drop order of pinned fields in `project_replace`.](https://github.com/taiki-e/pin-project/pull/287)
142150

143151
## [0.4.25] - 2020-10-01
144152

153+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
154+
145155
- [Suppress `drop_bounds` lint, which will be added to rustc in the future.](https://github.com/taiki-e/pin-project/pull/273) See [#272](https://github.com/taiki-e/pin-project/issues/272) for more details.
146156

147157
(NOTE: 1.0.0-alpha.1 already contains this change.)
148158

149159
## [0.4.24] - 2020-09-26
150160

161+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
162+
151163
- [Fix compatibility of generated code with `forbid(future_incompatible)`.](https://github.com/taiki-e/pin-project/pull/282)
152164

153165
NOTE: This does not guarantee compatibility with `forbid(future_incompatible)` in the future.
154166
If rustc adds a new lint, we may not be able to keep this.
155167

156168
## [0.4.23] - 2020-07-27
157169

170+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
171+
158172
- [Fix compile error with `?Sized` type parameters.](https://github.com/taiki-e/pin-project/pull/263)
159173

160174
## [0.4.22] - 2020-06-14
161175

176+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
177+
162178
- Documentation improvements.
163179

164180
## [0.4.21] - 2020-06-13
165181

182+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
183+
166184
- [Deprecated `#[project]`, `#[project_ref]`, and `#[project_replace]` attributes due to some unfixable limitations.](https://github.com/taiki-e/pin-project/pull/244)
167185

168186
Consider naming the projected type by passing an argument with the same name as the method to the `#[pin_project]` attribute instead.
@@ -192,6 +210,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
192210

193211
## [0.4.20] - 2020-06-07
194212

213+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
214+
195215
- [You can now use `project_replace` argument without Replace argument.](https://github.com/taiki-e/pin-project/pull/243)
196216
This used to require you to specify both.
197217

@@ -218,10 +238,14 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
218238

219239
## [0.4.19] - 2020-06-04
220240

241+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
242+
221243
- [Suppress `unused_results` lint in generated code.](https://github.com/taiki-e/pin-project/pull/239)
222244

223245
## [0.4.18] - 2020-06-04
224246

247+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
248+
225249
- [Support `Self` in more syntax positions inside `#[pinned_drop]` impl.](https://github.com/taiki-e/pin-project/pull/230)
226250

227251
- [Suppress `clippy::type_repetition_in_bounds` and `clippy::used_underscore_binding` lints in generated code.](https://github.com/taiki-e/pin-project/pull/233)
@@ -232,6 +256,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
232256

233257
## [0.4.17] - 2020-05-18
234258

259+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
260+
235261
- [Support naming the projection types.](https://github.com/taiki-e/pin-project/pull/202)
236262

237263
By passing an argument with the same name as the method to the attribute, you can name the projection type returned from the method:
@@ -253,14 +279,20 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
253279

254280
## [0.4.16] - 2020-05-11
255281

282+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
283+
256284
- [Fix an issue that users can call internal function generated by `#[pinned_drop]`.](https://github.com/taiki-e/pin-project/pull/223)
257285

258286
## [0.4.15] - 2020-05-10
259287

288+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
289+
260290
- [`#[project]` attribute can now handle all `project*` attributes in that scope with one wrapper attribute.](https://github.com/taiki-e/pin-project/pull/220)
261291

262292
## [0.4.14] - 2020-05-09
263293

294+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
295+
264296
- [Add `!Unpin` option to `#[pin_project]` attribute for guarantee the type is `!Unpin`.](https://github.com/taiki-e/pin-project/pull/219)
265297

266298
```rust
@@ -295,6 +327,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
295327

296328
## [0.4.13] - 2020-05-07
297329

330+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
331+
298332
- [Fix a regression in 0.4.11.](https://github.com/taiki-e/pin-project/pull/207)
299333

300334
Changes from [0.4.10](https://github.com/taiki-e/pin-project/releases/tag/v0.4.10) and [0.4.12](https://github.com/taiki-e/pin-project/releases/tag/v0.4.12):
@@ -311,6 +345,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
311345

312346
## [0.4.12] - 2020-05-07
313347

348+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
349+
314350
- A release to avoid [a regression in 0.4.11](https://github.com/taiki-e/pin-project/issues/206). No code changes from [0.4.10](https://github.com/taiki-e/pin-project/releases/tag/v0.4.10).
315351

316352
## [0.4.11] - 2020-05-07
@@ -329,6 +365,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
329365

330366
## [0.4.10] - 2020-05-04
331367

368+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
369+
332370
- [Add `project_replace` method and `#[project_replace]` attribute.](https://github.com/taiki-e/pin-project/pull/194)
333371
`project_replace` method is optional and can be enabled by passing the `Replace` argument to `#[pin_project]` attribute.
334372
See [the documentation](https://docs.rs/pin-project/0.4/pin_project/attr.pin_project.html#project_replace) for more details.
@@ -339,6 +377,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
339377

340378
## [0.4.9] - 2020-04-14
341379

380+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
381+
342382
- [Fix lifetime inference error when associated types are used in fields.](https://github.com/taiki-e/pin-project/pull/188)
343383

344384
- [Fix compile error with tuple structs with `where` clauses.](https://github.com/taiki-e/pin-project/pull/186)
@@ -347,24 +387,34 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
347387

348388
## [0.4.8] - 2020-01-27
349389

390+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
391+
350392
- [Ensure that users cannot implement `PinnedDrop` without proper attribute argument.](https://github.com/taiki-e/pin-project/pull/180)
351393

352394
- [Fix use of `Self` in expression position inside `#[pinned_drop]` impl.](https://github.com/taiki-e/pin-project/pull/177)
353395

354396
## [0.4.7] - 2020-01-20
355397

398+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
399+
356400
- [Fix support for lifetime bounds.](https://github.com/taiki-e/pin-project/pull/176)
357401

358402
## [0.4.6] - 2019-11-20
359403

404+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
405+
360406
- [Fix compile error when there is `Self` in the where clause.](https://github.com/taiki-e/pin-project/pull/169)
361407

362408
## [0.4.5] - 2019-10-21
363409

410+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
411+
364412
- [Fix compile error with `dyn` types.](https://github.com/taiki-e/pin-project/pull/158)
365413

366414
## [0.4.4] - 2019-10-17
367415

416+
**NOTE:** This release has been yanked because it [failed to compile with syn 1.0.84 and later](https://github.com/taiki-e/pin-project/pull/335).
417+
368418
- [Fix an issue where `PinnedDrop` implementations can call unsafe code without an unsafe block.](https://github.com/taiki-e/pin-project/pull/149)
369419

370420
## [0.4.3] - 2019-10-15

0 commit comments

Comments
 (0)