Skip to content

Releases: NexRX/restructed

v0.2.1

24 Sep 11:13
Compare
Choose a tag to compare

v0.2.1 - OpenAPI Examples

What's Changed

feat(#3): Added automatic trait example implementation for #[oai(example)] attributes

Full Changelog: v0.2.0...v0.2.1

v0.2.1a

24 Sep 11:09
Compare
Choose a tag to compare

v0.2.1a - TryFrom & Fixes (Unreleased)

What's Changed

feat: Added a generated impl of TryFrom<Generated> for Original on enums
fix: Using the #[model] attribute with base and fields empty/unexpected results
doc: Fixed up mistakes

Full Changelog: v0.2.0...v0.2.1a

v0.2.0

11 Mar 17:04
3f220c8
Compare
Choose a tag to compare

v0.2.0 - Base, Defaults & More + Partial Rewrite

What's Changed

  • feat: Added #[model] attribute to apply a set of base and/or default arguments to all models
  • feat: fields & omits can now be applied to both view & patch models
  • feat: support for paths (e.g. some::module::DeriveMe) in the derive list for generated models
  • feat Attribute filtering as a means to keep certains attributes. Limited release, only supporting none, oai, deriveless or all.
  • fix: removed un-needed dependacies outside of dev/testing
  • fix/breaking: removed direct integration for welds and typedbuilder (Instead use the new #[model] system)

Full Changelog: v0.1.4...v0.2.0

v0.1.4

09 Feb 21:40
Compare
Choose a tag to compare

Whats New?

  • Enum support for view models
  • Docs at the field level now carry over

Full Changelog: v0.1.3...v0.1.4

v0.1.3

21 Dec 16:18
67da650
Compare
Choose a tag to compare

feat: made omit arg no longer required
fix: weld support regarding function names
misc: Also added more tests and comment

v0.1.2

21 Dec 15:16
Compare
Choose a tag to compare
  • Fixed a bug where default_derives was not registered properly for view models