Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs-js/guides/upgrade-to-version-4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
If you are using a node version older than 22, update your runtime environment to a newer version.
On Cloud Foundry you can do this by [setting the node engine in your `package.json`](https://docs.cloudfoundry.org/buildpacks/node/index.html#runtime).

## CSRF Token Fetching is disabled by default

The SAP Cloud SDK will discontinue fetching CSRF tokens per default. From version 4 on you will need to add the csrf() middleware to enable fetching. Also, a failure in token fetching will stop the request execution and not silently be ignored.

Check warning on line 38 in docs-js/guides/upgrade-to-version-4.mdx

View workflow job for this annotation

GitHub Actions / checks

[vale] reported by reviewdog 🐶 [SAP.Weasel] 'silently' is a weasel word! Raw Output: {"message": "[SAP.Weasel] 'silently' is a weasel word!", "location": {"path": "docs-js/guides/upgrade-to-version-4.mdx", "range": {"start": {"line": 38, "column": 225}}}, "severity": "WARNING"}

Check failure on line 38 in docs-js/guides/upgrade-to-version-4.mdx

View workflow job for this annotation

GitHub Actions / checks

[vale] reported by reviewdog 🐶 [SAP.Sentences] Each sentence should have its own line. Raw Output: {"message": "[SAP.Sentences] Each sentence should have its own line.", "location": {"path": "docs-js/guides/upgrade-to-version-4.mdx", "range": {"start": {"line": 38, "column": 141}}}, "severity": "ERROR"}

Check warning on line 38 in docs-js/guides/upgrade-to-version-4.mdx

View workflow job for this annotation

GitHub Actions / checks

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'CSRF' instead of 'csrf'. Raw Output: {"message": "[Vale.Terms] Use 'CSRF' instead of 'csrf'.", "location": {"path": "docs-js/guides/upgrade-to-version-4.mdx", "range": {"start": {"line": 38, "column": 113}}}, "severity": "WARNING"}

Check failure on line 38 in docs-js/guides/upgrade-to-version-4.mdx

View workflow job for this annotation

GitHub Actions / checks

[vale] reported by reviewdog 🐶 [SAP.Sentences] Each sentence should have its own line. Raw Output: {"message": "[SAP.Sentences] Each sentence should have its own line.", "location": {"path": "docs-js/guides/upgrade-to-version-4.mdx", "range": {"start": {"line": 38, "column": 61}}}, "severity": "ERROR"}

## Destination caching is enabled by default

**Destination caching while retrieving destinations via the destination service is now enabled by default.**
Expand Down
Loading