Releases: google/react-schemaorg
Releases · google/react-schemaorg
react-schemaorg v2.0.0
v1.3.3
v1.3.2: Merge pull request #38 from Eyas/v132
- Various updates to dependencies.
react-schemaorg v1.3.1
- Minor fix to support other TypeScript versions in peer dependency.
react-schemaorg v1.3.0
react-schemaorg v1.2.0
react-schemaorg v1.1.0
- Document and Support React Helmet usage, see #19
- Improve structure of repo, including testability, linting, etc.
react-schemaorg v1.0.2
react-schemaorg v1.0.1
- 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.
- This should be a no-op in most cases as the Structured Data Testing Tool (and other
- Notes:
react-schemaorg 1.0.0
Updates the schema-dts
dependency to accept all versions >=0.3.1
. Otherwise, proven to be stable and upgrading to "1.0".