Skip to content

Releases: jbr/fieldwork

fieldwork-v0.5.0

12 Mar 22:14
ab52fd9

Choose a tag to compare

Added

  • [breaking] Instead of impl Into<Option<T>>, Option<impl Into<T>>

Fixed

  • u64 and i64 were not detected as Copy, now they are

Other

  • Merge pull request #99 from jbr/renovate/actions-checkout-6.x
  • Merge pull request #91 from jbr/renovate/prettyplease-0.x-lockfile
  • Merge pull request #92 from jbr/renovate/proc-macro2-1.x-lockfile
  • Merge pull request #93 from jbr/renovate/quote-1.x-lockfile
  • Merge pull request #94 from jbr/renovate/rustversion-1.x-lockfile
  • Merge pull request #95 from jbr/renovate/syn-2.x-lockfile
  • Merge pull request #97 from jbr/renovate/regex-1.x-lockfile
  • (deps) update taiki-e/cache-cargo-install-action action to v3

fieldwork-derive-v0.5.0

12 Mar 22:14
ab52fd9

Choose a tag to compare

Added

  • [breaking] Instead of impl Into<Option>, Option<impl Into>

Fixed

  • u64 and i64 were not detected as Copy, now they are

fieldwork-v0.4.8

23 Feb 18:06
e657336

Choose a tag to compare

Added

  • round out sharp edges in enum interface
  • back out #[variant(...)] attribute for now
  • Initial enum support

Other

  • update README to include enum example
  • update enum docs
  • improve test coverage
  • fix coverage reporting

fieldwork-derive-v0.4.7

23 Feb 18:06
e657336

Choose a tag to compare

Added

  • round out sharp edges in enum interface
  • back out #[variant(...)] attribute for now
  • Initial enum support

Other

  • update README to include enum example
  • improve test coverage
  • s/struct/item/g towards enums
  • make base_expr an arg (towards enums)

fieldwork-v0.4.7

20 Feb 22:14
@jbr jbr
eb2f80b

Choose a tag to compare

Other

  • restructure into a façade crate so docs can be split up

fieldwork-derive-v0.4.6

20 Feb 22:14
@jbr jbr
eb2f80b

Choose a tag to compare

Added

  • take
  • add #[field = false], #[field = true], and #[field = "renamed"]
  • [breaking] rename boolean-returning predicate getters to is_{}
  • [breaking] auto enable copy for common types (currently just bool)
  • [breaking] Deref detection for common types

Other

  • restructure into a façade crate so docs can be split up
  • update README to use #[field]
  • move example higher in readme
  • add documentation for without
  • improve main example
  • fix readme codecov badge
  • update readme
  • add example to readme
  • better emoji
  • make readme links less ugly
  • improve readme, fix link to tests in docs
  • standard repo config and clippy pass

fieldwork-v0.4.6

10 Jul 21:58
0b0ccb9

Choose a tag to compare

Added

  • take

Fixed

  • option_set_some with borrows

Other

  • remove duplication of valid keys
  • fix take test
  • remove mod.expanded.rs
  • rename variable_ident to member for accuracy

fieldwork-v0.4.5

08 Jul 20:43
7ab6161

Choose a tag to compare

Fixed

  • include the correct number of dereferences inside options
  • correctly coerce arrays to slices
  • handle dyn Trait + 'lifetime by wrapping with parens
  • allow specifying copy at the field configuration level

Other

  • (deps) update rust crate trybuild to v1.0.106
  • actually compile expansion tests
  • gitignore debug.rs
  • add a missing backtick
  • (deps) update swatinem/rust-cache action to v2.8.0
  • use field = "" syntax for tuple example

fieldwork-v0.4.4

07 Jul 02:59
09350aa

Choose a tag to compare

Added

  • add #[field = false], #[field = true], and #[field = "renamed"]
  • add support for a #[field] attribute synonym

Other

  • update README to use #[field]

fieldwork-v0.4.3

07 Jul 01:01
d494a27

Choose a tag to compare

Fixed

  • address poorly-handled nested type detection
  • Do not auto-deref Rc, Cow, or Arc

Other

  • Merge pull request #60 from jbr/fix-deref-mut
  • move example higher in readme