{"ecosystem":"cargo","package":"darling","from_version":null,"to_version":null,"changes":[{"from_version":"0.5.0","to_version":"0.6.0","change_type":"breaking","description":"Added dedicated `derive(FromMetaItem)` which panics and redirects users to `FromMeta`","migration_hint":null},{"from_version":"0.5.0","to_version":"0.6.0","change_type":"renamed","description":"Renamed `FromMetaItem` to `FromMeta`, and renamed `from_meta_item` method to `from_meta`","migration_hint":null},{"from_version":"0.2.2","to_version":"0.3.0","change_type":"breaking","description":"Update `syn` to 0.12 [#20](https://github.com/TedDriggs/darling/pull/20). Thanks to @Eijebong","migration_hint":null},{"from_version":"0.2.2","to_version":"0.3.0","change_type":"breaking","description":"Update `quote` to 0.4 [#20](https://github.com/TedDriggs/darling/pull/20). Thanks to @Eijebong","migration_hint":null},{"from_version":"0.2.2","to_version":"0.3.0","change_type":"renamed","description":"Rename magic field `body` in derived `FromDeriveInput` structs to `data` to stay in sync with `syn`","migration_hint":null},{"from_version":"0.2.2","to_version":"0.3.0","change_type":"renamed","description":"Rename magic field `data` in derived `FromVariant` structs to `fields` to stay in sync with `syn`","migration_hint":null},{"from_version":"0.21.3","to_version":"0.22.0","change_type":"behavior","description":"Add `#[darling(default = || expr(val))]` support, allowing a closure where a path was previously required [#380](https://github.com/TedDriggs/darling/pull/380)","migration_hint":null},{"from_version":"0.21.3","to_version":"0.22.0","change_type":"breaking","description":"Preserve span information for paths given to `darling::util::Callable` as literal strings","migration_hint":null},{"from_version":"0.21.3","to_version":"0.22.0","change_type":"breaking","description":"Fix some documentation typos","migration_hint":null},{"from_version":"0.21.3","to_version":"0.22.0","change_type":"removed","description":"**BREAKING:** Remove `fnv` dependency, as runtime performance gain does not justify additional dependency. This was exposed to users of `darling::usage`, so it may be breaking for them [#373](https://github.com/TedDriggs/darling/pull/373)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Impl `UsesTypeParams` and `UsesLifetimes` for `WithOriginal` [#215](https://github.com/TedDriggs/darling/issues/215)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Update error message emitted by `<() as FromMeta>::from_list` to allow use of `()` as a `#[darling(flatten)]` target [#353](https://github.com/TedDriggs/darling/issues/353)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Add `util::PreservedStrExpr` [#346](https://github.com/TedDriggs/darling/pull/346)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Make `impl FromMeta for syn::TypePath` support both quote-wrapped and bare values [#351](https://github.com/TedDriggs/darling/issues/351)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Add `#[darling(derive_syn_parse)]` to also impl `syn::parse::Parse` when deriving `FromMeta` [#285](https://github.com/TedDriggs/darling/issues/285)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Add `SpannedValue::into_inner` [#342](https://github.com/TedDriggs/darling/issues/342)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Support parsing attributes which contain keywords [#238](https://github.com/TedDriggs/darling/issues/238)","migration_hint":null},{"from_version":"0.20.11","to_version":"0.21.0","change_type":"breaking","description":"Potentially breaking: Emit error when an attribute path is present in both `attributes` and `forward_attrs`. [#336](https://github.com/TedDriggs/darling/issues/336)","migration_hint":null},{"from_version":"0.14.4","to_version":"0.20.0","change_type":"breaking","description":"The MSRV (minimum supported Rust version) is now 1.56, because of syn.","migration_hint":null},{"from_version":"0.14.4","to_version":"0.20.0","change_type":"breaking","description":"Replace all occurrences of syn::NestedMeta with darling::ast::NestedMeta.","migration_hint":null},{"from_version":"0.14.4","to_version":"0.20.0","change_type":"breaking","description":"In GenericParamExt, `LifetimeDef` is now `LifetimeParam`.","migration_hint":null},{"from_version":"0.14.4","to_version":"0.20.0","change_type":"breaking","description":"Flag and SpannedValue no longer implement `syn::spanned::Spanned`.","migration_hint":null},{"from_version":"0.14.4","to_version":"0.20.0","change_type":"deprecated","description":"Replacement for the deprecated AttributeArgs:","migration_hint":null},{"from_version":"0.14.4","to_version":"0.20.0","change_type":"renamed","description":"In GenericParamExt, `as_lifetime_def` is renamed to `as_lifetime_param`.","migration_hint":null},{"from_version":"0.13.4","to_version":"0.14.0","change_type":"breaking","description":"Bump `syn` dependency to 1.0.91 [#180](https://github.com/TedDriggs/darling/pull/180)","migration_hint":null},{"from_version":"0.13.4","to_version":"0.14.0","change_type":"breaking","description":"Bump `quote` dependency to 1.0.18 [#180](https://github.com/TedDriggs/darling/pull/180)","migration_hint":null},{"from_version":"0.13.4","to_version":"0.14.0","change_type":"breaking","description":"Bump `proc-macro2` dependency to 1.0.37 [#180](https://github.com/TedDriggs/darling/pull/180)","migration_hint":null},{"from_version":"0.13.4","to_version":"0.14.0","change_type":"breaking","description":"Improve validation of enum shapes [#178](https://github.com/TedDriggs/darling/pull/178)","migration_hint":null},{"from_version":"0.13.4","to_version":"0.14.0","change_type":"removed","description":"**BREAKING CHANGE:** Remove many trait impls from `util::Flag`.","migration_hint":null},{"from_version":"0.13.4","to_version":"0.14.0","change_type":"removed","description":"Remove need for `#[darling(default)]` on `Option<T>` and `Flag` fields [#161](https://github.com/TedDriggs/darling/issues/161)","migration_hint":null},{"from_version":"0.11.0","to_version":"0.12.0","change_type":"breaking","description":"Add `impl From<syn::Error> for Error` to losslessly propagate `syn` errors [#116](https://github.com/TedDriggs/darling/pull/116)","migration_hint":null},{"from_version":"0.11.0","to_version":"0.12.0","change_type":"breaking","description":"Add `darling::util::parse_attribute_to_meta_list` to provide useful errors during attribute parsing [#113](https://github.com/TedDriggs/darling/pull/113)","migration_hint":null},{"from_version":"0.11.0","to_version":"0.12.0","change_type":"breaking","description":"Impl `syn::spanned::Spanned` for `darling::util::SpannedValue` [#113](https://github.com/TedDriggs/darling/pull/113)","migration_hint":null},{"from_version":"0.11.0","to_version":"0.12.0","change_type":"breaking","description":"POSSIBLY BREAKING: Derived impls of `FromDeriveInput`, `FromField`, `FromVariant`, and `FromTypeParam` will now error when encountering an attribute `darling` has been asked to parse that isn't a supported shape.","migration_hint":null},{"from_version":"0.10.3","to_version":"0.11.0","change_type":"breaking","description":"Bump minor version due to unexpected breaking change [#107](https://github.com/TedDriggs/darling/issues/107)","migration_hint":null}],"total":35,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"miss"}