Skip to content

v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 22:22

πŸ”— Features

  • c59238a core: Add Attributed element
  • 6b5a494 attr_parse: Allow deriving ParseOption on enums if the from_parse option is used
  • de3d1e1 core: Add Error::call_site() utility
  • 00546d8 core: Add ModulePrefix.chain method as an analog to removed suffix functionality

πŸ”— Removals

πŸ”— Maintenance

  • a2a4942 Add IDE config files
  • a43c1f7 Add lints.rust Cargo configs
  • 9b09f58 core: Expect () instead of _ in internal ToSynError implementations
  • dc20cb8 ❗ use dep: syntax for optional dependencies
  • f8b3c3b Add development cargo keyword
  • 1065928 Bump versions to v2

πŸ”— CI & Build

  • 697e66c Add rm to allowed Semantic PRs types
  • 1bc174e Refactor feature matrix tests

πŸ”— Refactors

  • 266c89e ❗ core: Base ModulePrefix off an array & move consts out of struct impl
  • a85764f ❗ core: Rename ImplFor to GenericImpl & refactor to use builder pattern
  • e285fd7 Use sealed crate instead of own seal! macro
  • b439b26 ❗ Hide GenericImpl struct behind a generic-impl feature
  • e81483c ❗ core: Hide ModulePrefix behind a module-prefix feature
  • 8c0d265 core: Minor internal extract_fields imports refactor

πŸ”— Documentation

  • 30b705c core: ToSynError code docs improved
  • 94bb7e3 attr_parse: fix missing syn doc link
  • 197619b add coverage badge
  • 8008d2e Add more examples

❗ Breaking Changes

BREAKING CHANGE: ModulePrefixSuffixed & associated functionality removed

BREAKING CHANGE: ModulePrefix API changed - see commit.

BREAKING CHANGE: nightly cargo feature removed

BREAKING CHANGE: SimpleAttr removed

BREAKING CHANGE: ImplFor renamed to GenericImpl & made to use builder pattern instead of new with all arguments

BREAKING CHANGE: msrv bumped to 1.71.0

BREAKING CHANGE: GenericImpl (previously ImplFor) now hidden behind a generic-impl feature

BREAKING CHANGE: ModulePrefix struct now hidden behind a module-prefix feature

BREAKING CHANGE: derive feature removed; its functionality now comes baseline with attr_parse


28 commits since the previous release, v1.3.1.

- Your friendly neighbourhood πŸ€– semantic release bot