{"ecosystem":"cargo","package":"darling_core","from_version":null,"to_version":null,"changes":[{"from_version":"v0.21.3","to_version":"v0.22.0","change_type":"breaking","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":"v0.21.3","to_version":"v0.22.0","change_type":"breaking","description":"Preserve span information for paths given to `darling::util::Callable` as literal strings","migration_hint":null},{"from_version":"v0.21.3","to_version":"v0.22.0","change_type":"breaking","description":"Fix some documentation typos","migration_hint":null},{"from_version":"v0.14.4","to_version":"v0.20.0","change_type":"breaking","description":"Replace all occurrences of syn::NestedMeta with darling::ast::NestedMeta.","migration_hint":null},{"from_version":"v0.14.4","to_version":"v0.20.0","change_type":"breaking","description":"Replacement for the deprecated AttributeArgs: ```rust // Before parse_macro_input!(args as AttributeArgs); // After match NestedMeta::parse_meta_list(args) { Ok(v) => v, Err(e) => { return TokenStream::from(Error::from(e).write_errors()); } }; ```","migration_hint":null},{"from_version":"v0.14.4","to_version":"v0.20.0","change_type":"breaking","description":"In GenericParamExt, `LifetimeDef` is now `LifetimeParam`.","migration_hint":null},{"from_version":"v0.14.4","to_version":"v0.20.0","change_type":"breaking","description":"In GenericParamExt, `as_lifetime_def` is renamed to `as_lifetime_param`.","migration_hint":null},{"from_version":"v0.14.4","to_version":"v0.20.0","change_type":"breaking","description":"Flag and SpannedValue no longer implement `syn::spanned::Spanned`.","migration_hint":null},{"from_version":"v0.13.4","to_version":"v0.14.0","change_type":"breaking","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":"v0.13.4","to_version":"v0.14.0","change_type":"breaking","description":"Improve validation of enum shapes [#178](https://github.com/TedDriggs/darling/pull/178)","migration_hint":null},{"from_version":"v0.13.4","to_version":"v0.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":"v0.13.4","to_version":"v0.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":"v0.13.4","to_version":"v0.14.0","change_type":"breaking","description":"Bump `syn` dependency to 1.0.91 [#180](https://github.com/TedDriggs/darling/pull/180)","migration_hint":null}],"total":13,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}