Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
run: ./tests/pnpm-workflows.test.sh
- name: Install dependencies
run: pnpm install --frozen-lockfile && pnpm run install-dependencies
- name: Run security tests
run: pnpm run test:security
- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps
- name: Run Playwright tests
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## Unreleased

- Fix development-server path traversal in the Gatsby and React examples and redirect header exposure in the React example.
- Correct one-byte and range responses and close unused HEAD request streams in the Gatsby and React development servers. These examples are tested with Node.js 24.
6 changes: 5 additions & 1 deletion examples/gatsbyjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ This example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/s

## Prerequisites

- [Node.js](http://nodejs.org/)
- [Node.js](https://nodejs.org/) 24 (tested and used in CI)

## Development server dependency patch

`npm install` and `npm ci` apply the `webpack-dev-middleware` patch in `patches/` using `patch-package` when npm lifecycle scripts are enabled. Do not use `--ignore-scripts` for this example. It fixes incorrect response lengths for one-byte assets and first-byte ranges and closes unused streams on HEAD requests while retaining the traversal fix. Keep the patch until an upstream release fixes these responses and HEAD stream cleanup and the regression tests pass without it.

## Support, Issues and License Questions

Expand Down
Loading
Loading