Skip to content

Releases: google/react-schemaorg

react-schemaorg v2.0.0

19 Jul 20:22
2895bdb
Compare
Choose a tag to compare

There are no functional changes in this version, but we bump the minimum Node version to 12.0.0, and the minimum EcmaScript version to ES2019.

v1.3.3

02 Jun 19:36
Compare
Choose a tag to compare
  • Trim down source maps from output package. The actual sources were never packaged in react-schemaorg
  • Remove unnecessary tsconfig tsconfig.tsbuildinfo from package.

v1.3.2: Merge pull request #38 from Eyas/v132

02 Jun 19:22
b610c54
Compare
Choose a tag to compare
  • Various updates to dependencies.

react-schemaorg v1.3.1

02 Jun 19:15
Compare
Choose a tag to compare
  • Minor fix to support other TypeScript versions in peer dependency.

react-schemaorg v1.3.0

02 Jun 19:14
c9855fc
Compare
Choose a tag to compare
  • Support @graph key (#29, #30)
  • Readme fix (#27)

react-schemaorg v1.2.0

20 Jul 18:53
2c8a1a8
Compare
Choose a tag to compare

react-schemaorg v1.1.0

19 Jun 17:59
9111688
Compare
Choose a tag to compare
  • Document and Support React Helmet usage, see #19
  • Improve structure of repo, including testability, linting, etc.

react-schemaorg v1.0.2

11 May 18:11
e18a895
Compare
Choose a tag to compare
  • Target ES5 instead of ES2015, allowing build toolchains that don't know about "class" syntax to work. #17
  • Add an optional "space" property to render JSON-LD #15

react-schemaorg v1.0.1

17 Mar 15:17
d53cf25
Compare
Choose a tag to compare
  • Fixes XSS vulnerability (Issue #9 PR #10)
  • As a result, a safe JSON-LD parsing technique in accordance with the JSON-LD standard is used, which escapes characters like &, <, >, ", and ' into their corresponding HTML entities.

Behavioral changes

  • Certain characters will be escaped within the JSON-LD into their corresponding HTML entities.
    • Notes:
      • This should be a no-op in most cases as the Structured Data Testing Tool (and other <script type="application/ld+json"> parsers will unescape these)
      • If you're embedding HTML content somewhere in your JSON-LD, rely on this script to escape it, so as to avoid escaping it more than once. (HTML entity escaping is not idempotent)
      • SDTT will actually double unescape content, so you'll only start seeing your data mis-parsed if it was already double escaped and is now being triple escaped.

react-schemaorg 1.0.0

22 May 18:20
be31192
Compare
Choose a tag to compare

Updates the schema-dts dependency to accept all versions >=0.3.1. Otherwise, proven to be stable and upgrading to "1.0".