Skip to content

facet-v0.43.0

Choose a tag to compare

@github-actions github-actions released this 22 Jan 22:14
· 5445 commits to main since this release

Added

  • implement Facet for core::convert::Infallible

Fixed

  • mark function pointers as invariant to prevent lifetime UB
  • (soundness) make OxRef::new and OxMut::new unsafe

Other

  • (bytestring) simplify ByteString impl with vtable_direct! macro
  • Fix #1629: Preserve custom HTML elements during parse/serialize roundtrip
  • Add facet-validate crate for field validation during deserialization
  • Add rust_decimal::Decimal support + fix XML type inference
  • Add rust_decimal::Decimal support to facet-core
  • Add Facet implementation for smol_str::SmolStr
  • Set up release-plz with synchronized versions and trusted publishing
  • Add facet_no_doc cfg for global doc string stripping
  • Fix facet-pretty to respect skip_serializing_if and add HTML roundtrip tests
  • Add html::text attribute for enum variants and comprehensive roundtrip test
  • Fix inconsistent Shape hash (issue #1574)
  • Fix soundness issue: Attr can contain non-Sync data
  • Require 'static for Opaque Facet impl
  • (facet-core) simplify Ox API by requiring T: Facet
  • fix broken intra-doc link to Peek in facet-core
  • Improve AGENTS.md, closes #1551