Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 6, 2021

Bumps schema-dts from 0.8.2 to 1.0.0.

Release notes

Sourced from schema-dts's releases.

schema-dts & schema-dts-gen v1.0.0

schema-dts and schema-dts-gen are both now considered stable & mature 🎉

Changes in schema-dts

  • Updates the package file layout for schema-dts.

    This should be a backwards-compatible change if you use the public API surface area (as in, import from "schema-dts" only).

  • v1.0.0 is otherwise identical to v0.11.0. The SemVer-incompatible version bump is done to reflect current maturity of this package.

Changes in schema-dts-gen

  • Breaking: schema-dts-gen is now upgraded to ESM.
    • If importing it directly, you must use ES6 imports, e.g. import {} from "schema-dts-gen";
    • The minimum Node.js supported version is now 14.x.

Infrastructure Changes

In addition to the above changes, v1.0.0 also brings a completely overhauled repository structure to schema-dts.

  • Now using NPM workspaces and adopting a more traditional monorepo structure for both packages
  • Simplifies build dependency between schema-dts-gen and schema-dts
  • Migrate from Travis-CI.org (deprecated) to GitHub Actions.
    • Also start running tests for Node.js 14 and 16 to catch issues.
  • schema-dts is now has its own test suite using // @ts-expect-error and tsc.
  • schema-dts is built from schema-dts-gen by running it as an NPM script, just as we expect downstream clients of schema-dts-gen to do so

schema-dts & schema-dts-gen v0.11.0

Changes in schema-dts & schema-dts-gen

  • Role, OrganizationRole and others are allowed to be use in place of all properties in Schema.org. See #143 & notes in #164
    • This also corrects the "Role" type to be generic. A Role type (and its sub classes) is contextual in the context of the property it is used in. E.g. Role in an alumniOf will have a nested alumniOf property, for example:

      import { Person, WithContext } from 'schema-dts';
      const p: WithContext<Person> = {
      '@​context': 'https://schema.org',
      '@​type': 'Person',
      name: 'Delia Derbyshire',
      sameAs: 'http://en.wikipedia.org/wiki/Delia_Derbyshire',
      alumniOf: {
      '@​type': 'OrganizationRole',
      alumniOf: {
      '@​type': 'CollegeOrUniversity',
      name: 'University of Cambridge',
      sameAs: 'http://en.wikipedia.org/wiki/University_of_Cambridge'
      },
      startDate: '1959'
      }
      };

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [schema-dts](https://github.com/google/schema-dts/tree/HEAD/packages/schema-dts) from 0.8.2 to 1.0.0.
- [Release notes](https://github.com/google/schema-dts/releases)
- [Commits](https://github.com/google/schema-dts/commits/v1.0.0/packages/schema-dts)

---
updated-dependencies:
- dependency-name: schema-dts
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 6, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 28, 2022

Superseded by #210.

@dependabot dependabot bot closed this Feb 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/schema-dts-1.0.0 branch February 28, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants