Skip to content

Releases: TedDriggs/darling

v0.12.2

24 Feb 15:25
Compare
Choose a tag to compare
  • Impl FromMeta for HashMap with Path and Ident keys

v0.12.1

22 Feb 17:24
Compare
Choose a tag to compare
  • Impl FromMeta for ExprArray and various integer Vecs #122
  • Remove unreachable from darling::ast::Data #123
  • Add darling::ast::Data::try_empty_from #123

v0.12.0

06 Jan 19:00
Compare
Choose a tag to compare
  • 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. Any crates using darling that relied on those attributes being silently ignored could see new errors reported in their dependent crates. #113
  • Impl syn::spanned::Spanned for darling::util::SpannedValue #113
  • Add darling::util::parse_attribute_to_meta_list to provide useful errors during attribute parsing #113
  • Add impl From<syn::Error> for Error to losslessly propagate syn errors #116

v0.11.0

14 Dec 19:58
Compare
Choose a tag to compare
  • Fixes semver breakage from v0.10.3

For additional information, see CHANGELOG.md

v0.10.2

30 Oct 18:42
Compare
Choose a tag to compare
  • Bump syn dependency to 1.0.1 #83 - we were using a feature of syn that wasn't in 1.0.0, which could cause CI failures.

v0.10.1

25 Sep 20:33
Compare
Choose a tag to compare
  • Fix test compilation failure #81

v0.10.0

15 Aug 20:14
Compare
Choose a tag to compare
  • Bump syn and quote to 1.0
  • Bump rust min-version to 1.31

v0.9.0

20 Mar 14:54
c9ef060
Compare
Choose a tag to compare
  • Enable "did you mean" suggestions by default
  • Make darling_core::{codegen, options} private #58
  • Fix Override::as_mut: #66

v0.8.6

18 Mar 20:26
Compare
Choose a tag to compare
  • Added "did you mean" suggestions for unknown fields behind the suggestions flag #60
  • Added Error::unknown_field_with_alts to support the suggestion use-case.
  • Added ast::Fields::len and ast::Fields::is_empty methods.
  • Added LICENSE files to darling_core and darling_macro

v0.8.5

04 Feb 21:30
Compare
Choose a tag to compare
  • Accept unquoted positive numeric literals #52
  • Add FromMeta to the syn::Lit enum and its variants
  • Improve error message for unexpected literal formats to not say "other"