- Add support for
Int32
values withinAttributes
(#439) - Add
len
andis_empty
toTags
(#438) - Added support for
EnumItem
attributes. #470
- Implement
IntoIterator
for&Attributes
. (#386) - Implement
Extend<(String, Variant)>
forAttributes
. (#386) - Implement
clear
anddrain
forAttributes
. (#409) - Implement
Serialize
andDeserialize
forSharedString
(#414)
- Add
len
andis_empty
methods toAttributes
struct. (#377)
- Implemented
FromStr
forTerrainMaterials
. (#354) MaterialColorsError
andUniqueIdError
are no longer publicly exposed. (#355)- Implemented barebones
SecurityCapabilities
. (#358) - Implement
Display
forSharedStringHash
(#363)
- Added support for
UniqueId
values. (#271) - Changed
BinaryString
's non-human readable serde implementation to be identical toVec<u8>
. (#276) - Added
Font::new
andFont::regular
constructors. (#283) - Added support for
CFrame
values in attributes. (#296) - Added support for
Font
values in attributes. (#299) - Implemented
MaterialColors
. (#323)
- Implemented
Font
. (#248)
Variant::String
now encodes correctly inside ofAttributes
.
Attributes
can now decode from an empty buffer.Attributes
now encodes as an empty buffer when empty.
- Added
Attributes::with
for creating attributes in code more easily. - Implemented
Hash
forVariantTy
.
- Implemented
From<Color3>
forColor3uint8
andFrom<Color3uint8>
forColor3
. (#198)
- Critical fix: changed serde serialization of fields from PascalCase to camelCase. (#191)
- Removed
legacy-compact
feature, which added conversions from rbx_dom_weak 1.x types.
- Changed
Variant
serialization to use Serde's default enum representation.- Before:
{ "type": "Vector2", "value": [1.0, 2.0] }
- After:
{ "Vector2": [1.0, 2.0] }
- Before:
- Implemented
PartialOrd
andOrd
forSharedStringHash
.
- Added
Variant::OptionalCoordinateFrame
.
- Renamed
EnumValue
toEnum
. - Added
Display
andFromStr
implementations forRef
.
Ref
can now represent null explicitly viaRef::none
andRef::is_none
.- Added
Region3
andRegion3int16
toVariant
andVariantType
. - Added
legacy-compat
feature to enable conversions with rbx_dom_weak 1.x.
- Initial release of types crate, should have rough feature parity with rbx_dom_weak.
- API will move a lot before becoming stable.