Wes Todd
cd7d4397c3
5.1.0
2025-03-28 13:29:16 -05:00
Ulises Gascón
4c4f3ea105
fix(deps): serve-static@^2.2.0 ( #6418 )
...
* Update package.json
* Update History.md
---------
Co-authored-by: Wes Todd <wes@wesleytodd.com >
2025-03-27 19:46:06 -05:00
Ulises Gascón
eb6d12587a
deps: router@^2.2.0 ( #6417 )
2025-03-27 02:47:40 +01:00
Ulises Gascón
f1a2dc884d
deps: type-is@^2.0.1 ( #6420 )
2025-03-27 02:32:28 +01:00
Ulises Gascón
6b51e8ef97
deps: body-parser@^2.2.0 ( #6419 )
2025-03-27 02:31:57 +01:00
Wes Todd
9e97144222
feat(deps): finalhandler@2.1.0 ( #6373 )
...
* feat(deps): finalhandler@2.1.0
* Update History.md
Co-authored-by: Phillip Barta <barta.phillip@gmail.com >
---------
Co-authored-by: Phillip Barta <barta.phillip@gmail.com >
Co-authored-by: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-03-18 19:12:45 -05:00
Wes Todd
1e359f57fc
fix(deps): qs@^6.14.0 ( #6374 )
2025-03-11 22:49:58 +01:00
Andrea Polverino
caa4f68ee8
feat: Extend res.links() to allow adding multiple links with the same rel ( closes #2729 ) ( #4885 )
ci / Lint (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (18, ubuntu-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (18, windows-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (19, ubuntu-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (19, windows-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (20, ubuntu-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (20, windows-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (21, ubuntu-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (21, windows-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (22, ubuntu-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (22, windows-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (23, ubuntu-latest) (push) Has been cancelled
ci / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (23, windows-latest) (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
legacy / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (16, ubuntu-latest) (push) Has been cancelled
legacy / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (16, windows-latest) (push) Has been cancelled
legacy / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (17, ubuntu-latest) (push) Has been cancelled
legacy / Node.js ${{ matrix.node-version }} - ${{matrix.os}} (17, windows-latest) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
ci / coverage (push) Has been cancelled
legacy / coverage (push) Has been cancelled
2025-02-14 10:20:53 -06:00
Juan José
327af123a1
feat: add support for ETag option in res.sendFile ( #6073 )
...
This patch introduces the ability to control the ETag generation
through the `res.sendFile` function. Specifically, the ETag option
is wired to the application's configuration, allowing it to be
enabled or disabled based on the app's settings.
Fixes: https://github.com/expressjs/express/issues/2294
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
2025-02-13 13:39:31 -06:00
Wes Todd
d2de128a32
fix (deps): update deps ( #6337 )
...
fix(deps): mocha@^10.7.3 (closes #6121 )
fix(deps): marked@^15.0.3 (closes #6120 )
fix(deps): express-session@^1.18.1 (closes #6119 )
fix(deps): ejs@^3.1.10 (closes #6117 )
fix(deps): content-type@^1.0.5 (closes #6115 )
fix(deps): connect-redis@^8.0.1 (closes #6114 )
fix(deps): supertest@^6.3.4 (closes #6112 )
Co-authored-by: agungjati <agungjati94@gmail.com >
2025-02-13 10:44:50 -06:00
Agung Jati
2a53336e5d
fix(deps): nyc@^17.1.0 ( #6122 )
2025-02-12 10:47:19 -06:00
Wes Todd
c2f576cbe9
feat(deps): router@^2.1.0 ( #6331 )
2025-02-12 10:09:50 -06:00
Wes Todd
99473c593a
feat(deps): body-parser@^2.1.0 ( #6332 )
2025-02-12 09:44:53 -06:00
Dustin Popp
2d589b644a
fix(docs): retroactively note 5.0.0-beta.1 api change in history file ( #6333 )
...
Signed-off-by: Dustin Popp <dustinpopp@ibm.com >
2025-02-12 09:38:10 -06:00
Phillip Barta
85e48bb8c1
fix(deps): update debug to ^4.4.0 ( #6313 )
2025-02-10 13:41:39 -06:00
Alexander Cerutti
55869f49a6
feat: Added check to support Uint8Array in response sending ( #6285 )
...
Unified usage of ArrayBuffer.isView to comprehend Buffer and removed isView function check
Co-authored-by: Wes Todd <wes@wesleytodd.com >
Added Uint8Array test with encoding
fix: added history.md entry
2025-02-10 11:23:02 -06:00
Jon Koops
256a3d1527
Remove unused depd dependency
...
Signed-off-by: Jon Koops <jonkoops@gmail.com >
2025-01-12 11:08:51 -06:00
Szymon Łągiewka
41113599af
fix(refactor): prefix built-in node module imports
...
Since v5 relies on node >= 18, this is now possible (since v16, v14.18.0
[^1][^2]).
It's functionally irrelevant:
1. It's not required for CJS nor ESM (with a few exceptions [^3])
2. It has no performance promises
However, there are upsides to this approach:
1. It brings clear boundaries to what's a built-in and what's an
external dependency
2. It reduces the risk of importing unwanted deps where a built-in is
expected
3. It's slightly more interoperable with other JS runtimes that provide
node compatibility[^4], albeit only during development. Once imported
from npm, built-ins are assumed.
[^1]:https://nodejs.org/docs/latest-v22.x/api/modules.html#built-in-modules
[^2]:https://github.com/nodejs/node/pull/37246
[^3]:https://nodejs.org/api/modules.html#built-in-modules-with-mandatory-node-prefix
[^4]:https://docs.deno.com/runtime/fundamentals/node/#using-node's-built-in-modules
2025-01-10 11:53:44 -06:00
Phillip Barta
246f6f5aee
fix: Remove utils-merge dependency - use spread syntax instead ( #6091 )
2025-01-08 09:56:16 -06:00
Jon Koops
b11122be85
chore: replace methods dependency with standard library ( #6196 )
2025-01-02 08:00:30 +01:00
Jon Church
52ed64606f
update history.md for acceptParams change ( #6177 )
2024-11-20 14:40:39 -05:00
Phillip Barta
4e92ac9031
cleanup: remove AsyncLocalStorage check from tests ( #6147 )
...
Co-authored-by: Wes Todd <wes@wesleytodd.com >
2024-11-15 10:23:42 -06:00
Phillip9587
9f8589e31c
cleanup: remove unnecessary require for global Buffer
...
The Buffer object is globally available in Node.js, so there is no need to explicitly require it.
2024-11-15 10:16:29 -06:00
Phillip Barta
8cb53ea5c3
refactor: Remove Object.setPrototypeOf polyfill ( #6081 )
2024-10-22 20:22:26 +02:00
Ulises Gascón
d14b2de782
5.0.1
...
PR-URL: https://github.com/expressjs/express/pull/6032
2024-10-08 21:31:10 +02:00
Josh Buker
2027b87a27
fix(deps): cookie@0.7.0
...
Co-authored-by: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2024-10-08 12:10:56 +02:00
Wes Todd
344b022fc7
5.0.0
...
closes #2237
closes https://github.com/expressjs/discussions/issues/233
2024-09-09 23:37:22 -05:00
Wes Todd
0c49926a9b
fix(deps): send@^1.1.0
2024-09-09 23:34:03 -05:00
Wes Todd
b3906cbdde
fix(deps): serve-static@^2.1.0
2024-09-09 23:32:19 -05:00
Wes Todd
fed8c2a885
fix(deps): body-parser@^2.0.1
2024-09-09 23:27:40 -05:00
Blake Embrey
bdd81f8670
Delete back as a magic string ( #5933 )
2024-09-09 20:28:55 -07:00
Wes Todd
f9256ef36f
Merge branch '5.0' into 5-merge
2024-09-09 21:11:23 -05:00
Wes Todd
e5feb9fcc9
Merge tag '4.20.0' into 5.0
2024-09-09 21:07:57 -05:00
Ulises Gascón
21df421ebc
4.20.0
2024-09-10 04:01:43 +02:00
Ulises Gascón
4c9ddc1c47
feat: upgrade to serve-static@0.16.0
2024-09-10 04:01:43 +02:00
Ulises Gascón
9ebe5d500d
feat: upgrade to send@0.19.0 ( #5928 )
2024-09-10 04:01:43 +02:00
Ulises Gascón
ec4a01b6b8
feat: upgrade to body-parser@1.20.3 ( #5926 )
...
PR-URL: https://github.com/expressjs/express/pull/5926
2024-09-10 04:01:43 +02:00
Jon Church
4d713d2b76
update to fresh@2.0.0 ( #5916 )
...
fixes handling of If-Modified-Since in combination with If-None-Match
2024-09-09 17:03:32 -05:00
Blake Embrey
125bb742a3
path-to-regexp@0.1.10 ( #5902 )
...
* path-to-regexp@0.1.10
* Update History.md
2024-09-09 16:02:06 -05:00
Wes Todd
accafc652e
fix(deps): finalhandler@^2.0.0 ( #5899 )
2024-09-02 13:36:21 -05:00
Wes Todd
05f40f4321
fix(deps)!: content-disposition@^1.0.0 ( #5884 )
2024-08-31 13:09:21 -05:00
Wes Todd
402e7f653f
fix(deps): type-is@^2.0.0 ( #5883 )
2024-08-31 12:31:31 -05:00
Wes Todd
4e61d0100d
fix(deps)!: mime-types@^3.0.0 ( #5882 )
2024-08-31 11:06:25 -05:00
Wes Todd
7748475747
fix(deps): accepts@^2.0.0 ( #5881 )
2024-08-31 10:55:04 -05:00
S M Mahmudul Hasan
91a58b5b03
cookie-signature@^1.2.1 ( #5833 )
...
* upgraded `cookie-signature` to 1.2.1
* declared cookie-signature deps in history
* add caret in version
2024-08-23 18:17:12 -05:00
Carlos Serrano
13e6894393
chore: qs@6.13.0 ( #5847 )
...
Co-authored-by: Wes Todd <wtodd@netflix.com >
2024-08-23 14:10:16 -07:00
Wes Todd
65b62065d2
fix(deps) serve-staic@2.0.0 ( #5790 )
2024-08-23 14:07:45 -07:00
Anna Bocharova
0b243b1aee
5.x: Upgrading merge-descriptors with allowing minors ( #5782 )
...
* Upgrading `merge-descriptors` with allowing minors in v5
* Using ^2.0.0 as per request
* Reflecting in History.md.
* Update History.md
2024-08-23 13:37:27 -07:00
Blake Embrey
c5addb9a17
deps: path-to-regexp@0.1.8 ( #5603 )
2024-08-21 20:15:02 -07:00
Carlos Serrano
09831580ec
refactor: replace 'path-is-absolute' dep with node:path isAbsolute method ( #5830 )
...
* refactor: replace 'path-is-absolute' dep with node:path isAbsolute method
* docs: add path-is-absolute dep removal to History.md
2024-08-17 10:21:29 -05:00