Skip to content

Commit

Permalink
chore(release): publish
Browse files Browse the repository at this point in the history
  • Loading branch information
robdecker committed Feb 21, 2024
1 parent cc092c8 commit cce9d4d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions packages/next-drupal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,46 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-alpha.1](https://github.com/chapter-three/next-drupal/compare/[email protected]@2.0.0-alpha.1) (2024-02-21)


### Bug Fixes

* **next-drupal:** update TypeScript definition for translatePath and translatePathFromContext ([9f6ae58](https://github.com/chapter-three/next-drupal/commit/9f6ae5816da2339e374b91fa7cc026b3ff0d4709)), closes [#359](https://github.com/chapter-three/next-drupal/issues/359)


* refactor(next-drupal)!: move non-DrupalClient code to src/deprecated ([f04c617](https://github.com/chapter-three/next-drupal/commit/f04c61776cbb7905577865639d1403a1a02428b9))
* feat(next-drupal)!: drop forceIframeSameSiteCookie option ([083cebb](https://github.com/chapter-three/next-drupal/commit/083cebbf33da9bdf40ede4e6f75bc510af9dfa65))
* feat(next-drupal)!: add draft mode to pages router ([a4f8d84](https://github.com/chapter-three/next-drupal/commit/a4f8d840038f2ab6f7a6e733b48240ecade55266)), closes [#502](https://github.com/chapter-three/next-drupal/issues/502)
* feat(next-drupal)!: add public debug() method to DrupalClient ([e0fc4bd](https://github.com/chapter-three/next-drupal/commit/e0fc4bd6697c11803539b5faef68a0e0e897d653)), closes [#668](https://github.com/chapter-three/next-drupal/issues/668)


### Features

* **next-drupal:** add draft mode for app router pages ([7a62a39](https://github.com/chapter-three/next-drupal/commit/7a62a3921ca36291b5a5eeb7db942c006e0645e0)), closes [#502](https://github.com/chapter-three/next-drupal/issues/502)
* **next:** remove scope from preview URL generation and validation process ([dde673d](https://github.com/chapter-three/next-drupal/commit/dde673d1952da918e2fb5a2e05a49ddb2408356b)), closes [#635](https://github.com/chapter-three/next-drupal/issues/635)


### BREAKING CHANGES

* The JsonApiWithAuthOptions type has been renamed to JsonApiWithAuthOption. The
JsonApiWithLocaleOptions type is now considered deprecated for DrupalClient
usage and can be replaced with the JsonApiOptions type.
* The forceIframeSameSiteCookie option to DrupalClient has been removed. The
DrupalClient now automatically makes this change when the Next.js website is
running in development mode (and the change is not needed for production sites).
* The options to the DrupalClient.preview() method were previously ignored. The
options are now passed to the NextApiResponse.setDraftMode() method and their
TypeScript definition have now changed to match the options parameter of the
setDraftMode method.
* DrupalClient previously had a debug property that indicated if debugging was
enabled. This property has been removed and replaced with a debug() method that
accepts a string and logs it as a debug message if debugging is enabled.





# [2.0.0-alpha.0](https://github.com/chapter-three/next-drupal/compare/[email protected]@2.0.0-alpha.0) (2024-01-05)


Expand Down
2 changes: 1 addition & 1 deletion packages/next-drupal/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-drupal",
"description": "Helpers for Next.js + Drupal.",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"sideEffects": false,
"source": [
"src/index.ts",
Expand Down

0 comments on commit cce9d4d

Please sign in to comment.