Skip to content

Releases: google/schema-dts

schema-dts & schema-dts-gen v0.4.3

25 Oct 01:44
1585e62
Compare
Choose a tag to compare

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

25 Oct 01:33
Compare
Choose a tag to compare

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

30 May 17:39
Compare
Choose a tag to compare

Changelog

Changes in schema-dts and schema-dts-gen

  • Fixes URL, XPathSelector, Integer, and other derived-datatypes (Issue #24, PR #25)

Generated Schema Diff: https://www.diffchecker.com/Tmi8bLpL

schema-dts & schema-dts-gen v0.4.0

20 May 22:53
Compare
Choose a tag to compare

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 the export 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

12 Mar 03:46
f1a30a4
Compare
Choose a tag to compare

Fixes

  • Fixes to make script directly executable from npx

schema-dts & schema-dts-gen v0.3.1

29 Jan 20:15
Compare
Choose a tag to compare

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)

schema-dts & schema-dts-gen v0.3.0

29 Jan 20:19
131fdd8
Compare
Choose a tag to compare

Change Log

New Features

  • Switch default target of schema-dts-gen to all-layers (#11)
  • Switch schema-dts outputs to all-layers (#11)
  • Sorts output of generated file to make it easier to diff (#10)

Bug Fixes

  • Define Booleans as an Enumeration rather than a native boolean (#12)