625 Commits

Author SHA1 Message Date
github-actions[bot]
daf3c91d03 docs: update external docs (#2176)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2026-02-08 21:35:04 -05:00
Ömer Bakır
7ea85d1404 feat: add OpenJS trademark notice to footer (#2178)
Closes #2172

Signed-off-by: omerbakr <y.omerbakir@gmail.com>
2026-02-04 12:56:24 -05:00
github-actions[bot]
34836ff41f docs: update external docs (#2161)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2026-01-21 21:52:04 -05:00
Efe
16d43efa4c feat: redirects changelog page to github releases (#2136)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2026-01-08 13:30:07 -05:00
krzysdz
73cf5d63f0 docs: document req.params changes in 5.x (#2092)
Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-12-22 10:07:06 -05:00
github-actions[bot]
e34d35a9de docs: update external docs (#2130)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>

Co-authored-by: bjohansebas <103585995+bjohansebas@users.noreply.github.com>
2025-12-14 02:47:01 +00:00
krzysdz
0cfa8d07c1 docs: clarify req.params type and usage with regular expressions (#2101)
Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
2025-12-13 21:23:16 -05:00
github-actions[bot]
a1efc643c0 docs: update external docs (#2122)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2025-12-13 19:51:52 -05:00
github-actions[bot]
7a32b3f231 docs: update external docs (#2120)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2025-11-25 11:04:56 +01:00
Akash-2006
8e273e2767 docs(express.static): add accept-ranges and cache-control options to express.static (#2089)
Co-authored-by: Akash-2006 <skumar169@lenovo.com>

Co-authored-by: efekrskl <8130264+efekrskl@users.noreply.github.com>
Co-authored-by: bjohansebas <103585995+bjohansebas@users.noreply.github.com>
2025-11-14 19:05:57 -05:00
shubham oulkar
edf3ba4285 feat: bottom page navigation component (#2085)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-11-07 18:02:57 -05:00
Efe
738f860585 docs: Fix broken links (#2082)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-10-25 16:43:47 -05:00
github-actions[bot]
90f37f1d59 docs: update external docs (#2059)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2025-10-18 17:30:49 -05:00
shubham oulkar
00e199ad99 feat : improve language picker component (#2040)
Signed-off-by: Shubham Oulkar <oulkarshubhu@gmail.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-09-14 09:32:41 -05:00
Gaurav Kesh Roushan
ae6197f3c1 docs: document array and multiple-args support in req.is (#2042) 2025-08-22 20:19:33 -05:00
Kushal Sharma
53b9a0e2d8 docs: improve the documentation of path matching behavior (#2036)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-08-17 22:40:13 -05:00
shubham oulkar
35e18b624e chore(fonts):reduce font payload (#1999) 2025-08-17 22:34:02 -05:00
Sebastian Beltran
8c1e4b39a2 docs: update res.clearCookie documentation for clarity and accuracy (#2000)
Improve the message by expanding on how the cookie is cleared, and
include a note about the deprecation of the `max-age` and `expires`
options: in Express 4 they are still respected (not ignored), whereas in
Express 5 they are ignored.

ref: https://github.com/expressjs/express/pull/5792
ref: https://github.com/expressjs/express/issues/5640
ref: https://github.com/expressjs/express/pull/5672

closes: https://github.com/expressjs/expressjs.com/issues/1146

Note: We need to manage changes more effectively. Whenever there are
changes, and once they have been released, a PR should be opened here to
update the documentation. Improving these processes will help us keep
our documentation better maintained.

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

Co-authored-by: ShubhamOulkar <91728992+ShubhamOulkar@users.noreply.github.com>
2025-08-15 16:29:10 -05:00
Sebastian Beltran
c2e3f31802 docs: add option to express.urlencoded middleware documentation (#2001)
This option was also not documented. It was added as part of a fix for a
vulnerability (see
https://github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7).

ref: https://github.com/expressjs/express/pull/5926,
afd0f39944
---------

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
Co-authored-by: UlisesGascon <5110813+UlisesGascon@users.noreply.github.com>
2025-08-04 08:35:51 -05:00
shubham oulkar
90e5a311da chore: ♻️ remove jquery (#1964)
* add scroll-to-top and scroll class toggle with vanilla JS

* add language detection

* add  i18n

* Fix bug: there was no class hidden in CSS. Notice was hidden by hide(). Now HTML hidden attribute is used to hide notice using CSS. This improves A11y.

* fix flashing of i18n notice and improve a11y

* add menu highlighting on scroll

* ♻️ remove jquery

* defer app.js

Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>

* remove DOMContentLoaded and fix root margin to 25%

---------

Co-authored-by: bjohansebas <103585995+bjohansebas@users.noreply.github.com>
2025-08-01 19:47:30 -05:00
shubham oulkar
1917b49b99 chore: refactor footer and header icons (#1962)
* refactor footer

* fix icons layout

* remove font awesome icons

* refactor header icons

* redeploy netlify preview

* use absolute path for a svg icons

* replace img elements with CSS background-image and mask-image for theme icons

* fix bugs and remove unused css classes

* apply thin scroller for tables (chrome)

* inherit colors for footer social icons

* simplify openjs icon

* use openjs white logo

* simplify theme icons

* fix theme icons

* fix background color

* fix bugs and refactor theme.js

* remove color flicker

* fix bugs and refactor theme.js

* refactor

* remove comments from svg

* legacy fix: alignment of icons
2025-07-22 08:47:38 -05:00
github-actions[bot]
407f35298c docs: update external docs (#1969)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2025-07-14 21:55:25 -05:00
shubham oulkar
7743e0f856 fix: content overflow on small screen (#1948)
* update tables in 5.x for consistency in design

* update tables in 4.x for consistency in design

* remove content overflow for mobile devices

* remove inline padding from main conatent

---------

Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-07-02 20:24:39 -05:00
Sebastian Beltran
c7b12bd06d Remove strongloop from footer (#1779)
* remove multilingual documentation section from footer

* add acknowledgements section to README

* remove translation acknowledgements from notice files

* remove acknowledgements section from README

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

---------

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-06-30 11:18:26 -05:00
Ayush Kumar
8fc9116931 fix: remove code block rendering in the note section Closes #1949 (#1952)
* fix: remove code block rendering in the note section Closes #1949

* fix: removed markdown from note include to prevent code block rendering

* fix: remove code block rendering from all translation pages

* add markdown attribute

---------

Co-authored-by: shubham oulkar <91728992+ShubhamOulkar@users.noreply.github.com>
2025-06-20 19:24:46 -05:00
github-actions[bot]
9e68fa2c6c Update external docs (#1946)
update external docs

Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-06-10 21:07:52 -05:00
github-actions[bot]
4ea8ef5861 Update external docs (#1938)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-06-06 14:32:23 +02:00
shubham oulkar
30c053b5f1 Eliminate layout shift in menu toggle arrow with CSS-only solution (#1935)
refactor menu toggle arrow
2025-06-05 20:20:31 -05:00
shubham oulkar
124133a2af Normalize i18n notice translation (#1930)
* move i18n notice for crowdin translation

* move i18n notice to general.yaml

* add fallback notice string

* generate dynamic i18n notice link
2025-05-31 20:54:06 -05:00
Rowan Manning
d1f904ae9b Display author avatars in the blog (#1915)
* feat: allow blogs to have multiple authors

This requires us to update the `author` front-matter, requiring it to be
an array of objects instead of a single string. This paves the way for
us to include further author metadata.

For now we only add "name" which expects a string.

* feat: allow linking to author GitHub profiles

This adds the ability for authors to add their GitHub username to the
blog posts they author. If they provide this then their name will be
linked to their GitHub profile page.

* feat: add GitHub profile images to author lines

This adds a small profile image to author lines that have a GitHub.

* feat: add author URLs to the feeds

* fix: space the authors a little more

The authors looked a little bunched up, a left margin on each of them
reads a little better.

Co-Authored-By: Wes Todd <wesleytodd@users.noreply.github.com>

* fix: improve readability of the feed entry Liquid

Co-Authored-By: Sebastian Beltran <bjohansebas@users.noreply.github.com>

* feat: add author image for the technical committee

Co-Authored-By: Sebastian Beltran <bjohansebas@users.noreply.github.com>

* fix: set a width and height on author images

This ensures we still display a circle if, for some reason, the image
that we get isn't a perfect square.

Co-Authored-By: Shubham Oulkar <ShubhamOulkar@users.noreply.github.com>

---------

Co-authored-by: Wes Todd <wesleytodd@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@users.noreply.github.com>
Co-authored-by: Shubham Oulkar <ShubhamOulkar@users.noreply.github.com>
2025-05-29 10:11:07 -05:00
github-actions[bot]
00a676dc8c Update external docs (#1922)
update external docs

Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-05-28 09:55:51 -05:00
Utkarsh
4e625d4157 Replace Google Font with local variable font (#1910)
* Removed the Google OpenSans with fontsource/open-sans

* Placed the fonts inside the project directory itself

* Fixed the fonts not being read

* Removed redundant fonts, and also removed css/fonts

* Changed the font-weight (100 to 700) range

* correct font family name and remove ttf font files

* correcting italic font file name

* Removed ttf fonts and renamed the font fileNames for simplicity

* font imports removed from style.css

* fix: path fix and font preload

* fix: fixed fonts.css order

* chore: removed additional whitespaces

---------

Co-authored-by: shubham oulkar <91728992+ShubhamOulkar@users.noreply.github.com>
2025-05-28 09:04:43 -05:00
github-actions[bot]
230fc6b32a Update external docs (#1906)
update external docs

Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-05-27 20:38:27 -05:00
github-actions[bot]
22d36414a3 docs: update external docs (#1900)
Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com>
2025-05-13 02:00:55 +00:00
Phillip Barta
72e664a070 docs: remove deprecated and unmaintained pillarjs utils (#1889) 2025-05-09 14:53:24 +02:00
krzysdz
008255253d Update 5x API docs with missing 4x changes (#1886)
* Include 4.18 API doc updates in 5.x

5c98ee4e94

Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com>

* Copy acceptsLanguages documentation improvements to 5.x

https://github.com/expressjs/expressjs.com/pull/1402

Co-authored-by: Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>

* Add warning boxes to {app,res}.render

5e918ea3a9

Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com>

* Copy warning around securing locals to 5.x

fcaca7fcc6

Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com>

* Copy res.cookie `partitioned` option docs

https://github.com/expressjs/expressjs.com/pull/1456

Co-authored-by: Rich Hodgkins <rhodgkins@gmail.com>

* Update req.body to point to built-in middleware

a5ca5b0edf

Co-Authored-By: Douglas Wilson <doug@somethingdoug.com>

* Copy setting multiple cookies example to 5.x

https://github.com/expressjs/expressjs.com/pull/1063

Co-Authored-By: Mo <hematy61@gmail.com>

---------

Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com>
Co-authored-by: Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>
Co-authored-by: Rich Hodgkins <rhodgkins@gmail.com>
Co-authored-by: Mo <hematy61@gmail.com>
2025-05-01 18:55:30 -05:00
shubham oulkar
20a6669eb7 chore: refactor layout (#1888)
Refactor layouts for unified version handling
2025-04-27 12:11:14 -05:00
shubham oulkar
8f6546c18a feat enhancement : remove regression in express logo (#1887)
* add logo with class selector

* remove logo regression
2025-04-26 10:01:47 -05:00
krzysdz
e69208e74e Reflect body-parser changes in 5.x API docs and include those that where missing (#1883)
* Reflect body-parser changes in 5.x API docs

* Include missing body-parser middleware docs and alphabetize

This is 8225868d73, but for 5.x API.

---------

Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-04-25 22:29:10 -05:00
shubham oulkar
f24f45a281 feat: add copy code btn (#1841)
* test: copy code btn

* add copy btn svg

* add copy code btn

* fix: keyboard a11y and improve design

* show "copied !" text on the copy btn

* remove space in copied text

* Remove text shift

* handle failed copy code

* Minimize delay

* remove outline on code blocks

* refactor copycode.js

* Remove border width

Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>

* Convert timerId into a Number()

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Carlos Stenzel <carlosstenzel@hotmail.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-25 19:51:12 -05:00
krzysdz
021c4d69bb Remove router.param(fn) from 5.x docs (#1884)
It has been deprecated since 4.11.0 and in 5.x `router.param()` requires name as the first argument.

The description in migration guide was copied from `app.param(fn)` that was mentioned there.

Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-04-25 19:17:39 -05:00
krzysdz
ad856cd7e4 Fix links that got broken in #1422 (#1885)
Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
2025-04-25 18:15:34 -05:00
krzysdz
9e00f5aa32 Use 5.x path syntax in API examples (#1878)
* Use 5.x path syntax in .all() API examples

* Update examples in API docs to use Express 5 path syntax

* Use an arrow function in req.route example

---------

Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
2025-04-21 21:02:43 -05:00
shubham oulkar
9a89c2fae7 a11y fix: header navigation landmark (primary navigation) (#1848)
* add primary navigation landmark

* fix layout of home page

* update translation home pages

---------

Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-04-16 21:49:31 -05:00
Rowan Manning
3b8f190f0c feat: add feeds for the blog and vulnerabilities (#1867)
This adds two new feeds to the site: `feed.xml` includes all blog posts,
and `vulnerabilities.xml` includes all posts tagged with
`vulnerabilities`.

Resolves #1763

---------

Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-04-14 22:10:04 -05:00
Sebastian Beltran
0ab83badae remove license link from footer (#1863)
the footer recommended by the foundation doesn't include a link to the
license
(https://github.com/openjs-foundation/artwork?tab=readme-ov-file#copyright-notices-for-project-website-footers)
2025-04-10 20:34:11 -05:00
github-actions[bot]
b77de8af69 Update external docs (#1843) 2025-03-25 15:22:32 -05:00
Sebastian Beltran
3926b2938a fix: remove obsolete X-UA-Compatible meta tag (#1842) 2025-03-25 14:28:22 -05:00
shubham oulkar
461386f1f1 improve accessibility in header buttons (#1833)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-03-23 13:47:39 -05:00
shubham oulkar
76d93934ca feat: use the express logo in the header (#1839)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
2025-03-23 13:20:33 -05:00