-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters