You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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.
Copy file name to clipboardexpand all lines: CHANGELOG.md
+52-2
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ NOTE: In this file, do not use the hard wrap in the middle of a sentence for com
14
14
15
15
-[Prevent abuse of private module.](https://github.com/taiki-e/pin-project/pull/336)
16
16
17
+
- Update minimal version of `syn` to 1.0.84.
18
+
17
19
## [1.0.8] - 2021-07-21
18
20
19
21
-[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:
87
89
88
90
-[Fix drop order of pinned fields in `project_replace`.](https://github.com/taiki-e/pin-project/pull/287)
89
91
90
-
- Update minimal version of `syn` to 1.0.44
92
+
- Update minimal version of `syn` to 1.0.44.
91
93
92
94
## [1.0.0-alpha.1] - 2020-09-22
93
95
@@ -128,41 +130,57 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
128
130
129
131
## [0.4.28] - 2021-03-28
130
132
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
+
131
135
-[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.
132
136
133
137
(NOTE: 1.0 does not have this problem.)
134
138
135
139
## [0.4.27] - 2020-10-11
136
140
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.
138
144
139
145
## [0.4.26] - 2020-10-04
140
146
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
+
141
149
-[Fix drop order of pinned fields in `project_replace`.](https://github.com/taiki-e/pin-project/pull/287)
142
150
143
151
## [0.4.25] - 2020-10-01
144
152
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
+
145
155
-[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.
146
156
147
157
(NOTE: 1.0.0-alpha.1 already contains this change.)
148
158
149
159
## [0.4.24] - 2020-09-26
150
160
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
+
151
163
-[Fix compatibility of generated code with `forbid(future_incompatible)`.](https://github.com/taiki-e/pin-project/pull/282)
152
164
153
165
NOTE: This does not guarantee compatibility with `forbid(future_incompatible)` in the future.
154
166
If rustc adds a new lint, we may not be able to keep this.
155
167
156
168
## [0.4.23] - 2020-07-27
157
169
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
+
158
172
-[Fix compile error with `?Sized` type parameters.](https://github.com/taiki-e/pin-project/pull/263)
159
173
160
174
## [0.4.22] - 2020-06-14
161
175
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
+
162
178
- Documentation improvements.
163
179
164
180
## [0.4.21] - 2020-06-13
165
181
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
+
166
184
-[Deprecated `#[project]`, `#[project_ref]`, and `#[project_replace]` attributes due to some unfixable limitations.](https://github.com/taiki-e/pin-project/pull/244)
167
185
168
186
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
192
210
193
211
## [0.4.20] - 2020-06-07
194
212
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
+
195
215
-[You can now use `project_replace` argument without Replace argument.](https://github.com/taiki-e/pin-project/pull/243)
196
216
This used to require you to specify both.
197
217
@@ -218,10 +238,14 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
218
238
219
239
## [0.4.19] - 2020-06-04
220
240
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
+
221
243
-[Suppress `unused_results` lint in generated code.](https://github.com/taiki-e/pin-project/pull/239)
222
244
223
245
## [0.4.18] - 2020-06-04
224
246
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
+
225
249
-[Support `Self` in more syntax positions inside `#[pinned_drop]` impl.](https://github.com/taiki-e/pin-project/pull/230)
226
250
227
251
-[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
232
256
233
257
## [0.4.17] - 2020-05-18
234
258
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
+
235
261
-[Support naming the projection types.](https://github.com/taiki-e/pin-project/pull/202)
236
262
237
263
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
253
279
254
280
## [0.4.16] - 2020-05-11
255
281
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
+
256
284
-[Fix an issue that users can call internal function generated by `#[pinned_drop]`.](https://github.com/taiki-e/pin-project/pull/223)
257
285
258
286
## [0.4.15] - 2020-05-10
259
287
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
+
260
290
-[`#[project]` attribute can now handle all `project*` attributes in that scope with one wrapper attribute.](https://github.com/taiki-e/pin-project/pull/220)
261
291
262
292
## [0.4.14] - 2020-05-09
263
293
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
+
264
296
-[Add `!Unpin` option to `#[pin_project]` attribute for guarantee the type is `!Unpin`.](https://github.com/taiki-e/pin-project/pull/219)
265
297
266
298
```rust
@@ -295,6 +327,8 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
295
327
296
328
## [0.4.13] - 2020-05-07
297
329
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
+
298
332
-[Fix a regression in 0.4.11.](https://github.com/taiki-e/pin-project/pull/207)
299
333
300
334
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
311
345
312
346
## [0.4.12] - 2020-05-07
313
347
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
+
314
350
- 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).
315
351
316
352
## [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
329
365
330
366
## [0.4.10] - 2020-05-04
331
367
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
+
332
370
-[Add `project_replace` method and `#[project_replace]` attribute.](https://github.com/taiki-e/pin-project/pull/194)
333
371
`project_replace` method is optional and can be enabled by passing the `Replace` argument to `#[pin_project]` attribute.
334
372
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
339
377
340
378
## [0.4.9] - 2020-04-14
341
379
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
+
342
382
-[Fix lifetime inference error when associated types are used in fields.](https://github.com/taiki-e/pin-project/pull/188)
343
383
344
384
-[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
347
387
348
388
## [0.4.8] - 2020-01-27
349
389
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
+
350
392
-[Ensure that users cannot implement `PinnedDrop` without proper attribute argument.](https://github.com/taiki-e/pin-project/pull/180)
351
393
352
394
-[Fix use of `Self` in expression position inside `#[pinned_drop]` impl.](https://github.com/taiki-e/pin-project/pull/177)
353
395
354
396
## [0.4.7] - 2020-01-20
355
397
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
+
356
400
-[Fix support for lifetime bounds.](https://github.com/taiki-e/pin-project/pull/176)
357
401
358
402
## [0.4.6] - 2019-11-20
359
403
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
+
360
406
-[Fix compile error when there is `Self` in the where clause.](https://github.com/taiki-e/pin-project/pull/169)
361
407
362
408
## [0.4.5] - 2019-10-21
363
409
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
+
364
412
-[Fix compile error with `dyn` types.](https://github.com/taiki-e/pin-project/pull/158)
365
413
366
414
## [0.4.4] - 2019-10-17
367
415
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
+
368
418
-[Fix an issue where `PinnedDrop` implementations can call unsafe code without an unsafe block.](https://github.com/taiki-e/pin-project/pull/149)
0 commit comments