Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @prismicio/client from 6.7.3 to 7.1.0 #686

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 19, 2023

Bumps @prismicio/client from 6.7.3 to 7.1.0.

Release notes

Sourced from @​prismicio/client's releases.

v7.1.0

See CHANGELOG.md for details.

v7.0.1

See CHANGELOG.md for details.

v7.0.0

We’re excited to release a new major version of @prismicio/client, the core Prismic package for creating web apps with Prismic and JavaScript.

@prismicio/client v7 combines @prismicio/client, @prismicio/helpers, and @prismicio/types into one package, offering a leaner API with a smaller footprint on your project.

import { createClient, asText, RichTextField } from "@prismicio/client"
// Create a Prismic client
const client = createClient("example-repo-name")
// Query for documents
const page = await client.getByUID("page", "home")
// Convert rich text fields to plain text
const title = asText(page.data.title)
//                             ^ Typed as RichTextField

As a result of the streamlining, @prismicio/helpers and @prismicio/types are now considered deprecated.

Benefits of upgrading

  • One single package now covers core Prismic usage (compared to 3 required before)
  • Deprecated APIs from @prismcio/client v5 and v6 were removed
  • Deprecated APIs from @prismicio/helpers v2 were removed
  • Deprecated APIs from @prismicio/types v0 were removed
  • Improved code-splitting and tree shaking

How to upgrade

Upgrading is straightforward, but requires a few changes to your project.

See the @prismicio/client v7 Migration Guide for instructions.

Any questions?

Please leave any questions about @prismicio/client v7 in the Prismic Community announcement thread.

If you encounter a bug or would like to request a new feature, open an issue on GitHub.

v7.0.0-alpha.5

No release notes provided.

... (truncated)

Changelog

Sourced from @​prismicio/client's changelog.

7.1.0 (2023-06-07)

Features

Bug Fixes

  • type PrismicDocument.*_publication_date as TimestampField<"filled"> (#304) (7cce22a)

7.0.1 (2023-05-22)

Bug Fixes

  • properly resolve types when using TypeScript's latest module resolution strategy (#300) (a2b1084)

Documentation

7.0.0 (2023-05-17)

Check out the migration guide for how to migrate to @prismicio/client v7

Bug Fixes

  • update Prismic terms to use the latest language style (#293) (1fce99c)

Documentation

  • update link resolver, route resolver, and rich text serializer names (#297) (a991a6c)

Chore

  • @​prismicio/types-internal: upgrade @​prismicio/types-internal dependency (#294) (edaa83d)

6.8.0 (2023-05-15)

Features

  • add fetchOptions parameter to control fetch() (#291) (a492a40)

... (truncated)

Commits
  • 0ef6b86 chore(release): 7.1.0
  • 9e604d3 feat: add unstable_mapSliceZone() (#302)
  • 7cce22a fix: type PrismicDocument.*_publication_date as TimestampField\<"filled"> ...
  • db85d21 ci: remove Node.js 14 (EOL) from workflows
  • c68a557 feat(customtype): support new format property (#295)
  • 5f7fbb6 ci: update test matrix
  • 6f6b038 ci: update test matrix
  • 8bd6385 chore(release): 7.0.1
  • a2b1084 fix: properly resolve types when using TypeScript's latest module resolution ...
  • 92b1701 style: fix Prettier
  • Additional commits viewable in compare view

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 [@prismicio/client](https://github.com/prismicio/prismic-client) from 6.7.3 to 7.1.0.
- [Release notes](https://github.com/prismicio/prismic-client/releases)
- [Changelog](https://github.com/prismicio/prismic-client/blob/master/CHANGELOG.md)
- [Commits](prismicio/prismic-client@v6.7.3...v7.1.0)

---
updated-dependencies:
- dependency-name: "@prismicio/client"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 19, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jun 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dev-jotape dev-jotape merged commit 442a955 into main Jun 20, 2023
@dev-jotape dev-jotape deleted the dependabot/npm_and_yarn/prismicio/client-7.1.0 branch June 20, 2023 18:49
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant