Releases: google/schema-dts
Releases · google/schema-dts
schema-dts & schema-dts-gen v0.4.3
Changelog
Changes in schema-dts
- Updated to Schema.org version 4.0 (up from 3.9 in the previous release)
Changes in schema-dts and schema-dts-gen
- Schema.org's
Boolean
can be assigned to a native JS boolean. (#40, see also #37) - Schema.org objects can have an
@id
IRI (#38, PR #39)
Generated Schema Diff: https://www.diffchecker.com/MKIU5MRn
schema-dts & schema-dts-gen v0.4.2
Changelog
Changes in schema-dts
- Updated to Schema.org version 3.9 (up from 3.6 in the previous release)
Changes in schema-dts and schema-dts-gen
- Schema.org's
DataType
is reference-able and generated as an exported tag.
Generated Schema Diff: https://www.diffchecker.com/69AnQNe5
schema-dts & schema-dts-gen v0.4.1
Changelog
Changes in schema-dts and schema-dts-gen
Generated Schema Diff: https://www.diffchecker.com/Tmi8bLpL
schema-dts & schema-dts-gen v0.4.0
Changelog
Changes in schema-dts
- Updates Schema.org to version 3.6 (up from 3.4 in the previous release)
- Non-exported types are slightly restructured to be more readable (see blow)
Changes in schema-dts-gen
- Generated types are slightly restructured to be more readable; the "XyzBase" type will never have a
"@type"
property on it. This will always be added in theexport type Xyz
stage.
Fixes
- Properly escapes class and type names for Schema.org classes whose names are not valid TypeScript Identifier names (e.g. 3DModel becomes _3DModel)
- Some types, e.g. Quantity and it's children, should always accept 'string' as its value.
schema-dts-gen v.0.3.3
Fixes
- Fixes to make script directly executable from
npx
schema-dts & schema-dts-gen v0.3.1
Changelog
Fixes
- Fixes an issue with all-layers transition in v0.3.0 where certain popular "leaf" types like Person would not have a
@type
option available. (#13)