Files
expressjs.com/tr/changelog/4x.md
2025-04-07 11:33:44 -05:00

6.8 KiB
Raw Blame History

layout, title, menu, lang, description, sitemap
layout title menu lang description sitemap
page Express 4.x Sürüm Notları changelog tr Stay updated with the release change log for Express.js 4.x, detailing new features, bug fixes, and important changes across versions. false
# Release Change Log

4.15.3 - Release date: 2017-05-16

{: id="4.15.3"}

The 4.15.3 patch release including some minor bug fixes:

  • Fix error when `res.set` cannot add charset to `Content-Type`.
  • Fix missing `</html>` in HTML document.

For a complete list of changes in this release, see History.md.

4.15.2 - Release date: 2017-03-06

{: id="4.15.2"}

The 4.15.2 patch release including a minor bug fix:

  • Fix regression parsing keys starting with `[` in the extended (default) query parser.

For a complete list of changes in this release, see History.md.

4.15.1 - Release date: 2017-03-05

{: id="4.15.1"}

The 4.15.1 patch release including a minor bug fix:

  • Fix compatibility issue when using the datejs 1.x library where the [`express.static()` middleware](/{{ page.lang }}/4x/api.html#express.static) and [`res.sendFile()` method](/{{ page.lang }}/4x/api.html#res.sendFile) would incorrectly respond with 412 Precondition Failed.

For a complete list of changes in this release, see History.md.

4.15.0 - Release date: 2017-03-01

{: id="4.15.0"}

The 4.15.0 minor release includes bug fixes, performance improvements, and other minor feature additions, including:

  • Starting with this version, Express supports Node.js 7.x.
  • The [`express.static()` middleware](/{{ page.lang }}/4x/api.html#express.static) and [`res.sendFile()` method](/{{ page.lang }}/4x/api.html#res.sendFile) now support the `If-Match` and `If-Unmodified-Since` request headers.
  • Update to [jshttp/etag module](https://www.npmjs.com/package/etag) to generate the default ETags for responses which work when Node.js has [FIPS-compliant crypto enabled](https://nodejs.org/dist/latest/docs/api/cli.html#cli_enable_fips).
  • Various auto-generated HTML responses like the default not found and error handlers will respond with complete HTML 5 documents and additional security headers.

For a complete list of changes in this release, see History.md.

4.14.1 - Release date: 2017-01-28

{: id="4.14.1"}

The 4.14.1 patch release includes bug fixes and performance improvements, including:

For a complete list of changes in this release, see History.md.

4.14.0 - Release date: 2016-06-16

{: id="4.14.0"}

The 4.14.0 minor release includes bug fixes, security update, performance improvements, and other minor feature additions, including:

  • Starting with this version, Express supports Node.js 6.x.
  • Update to [jshttp/negotiator module](https://www.npmjs.com/package/negotiator) fixes a [regular expression denial of service vulnerability](https://npmjs.com/advisories/106).
  • The [`res.sendFile()` method](/{{ page.lang }}/4x/api.html#res.sendFile) now accepts two new options: `acceptRanges` and `cacheControl`.
    • acceptRanges (defaut is true), enables or disables accepting ranged requests. When disabled, the response does not send the Accept-Ranges header and ignores the contents of the Range request header.

    • cacheControl, (default is true), enables or disables the Cache-Control response header. Disabling it will ignore the maxAge option.

    • res.sendFile has also been updated to handle Range header and redirections better.

  • The [`res.location()` method](/{{ page.lang }}/4x/api.html#res.location) and [`res.redirect()` method](/{{ page.lang }}/4x/api.html#res.redirect) will now URL-encode the URL string, if it is not already encoded.
  • The performance of the [`res.json()` method](/{{ page.lang }}/4x/api.html#res.json) and [`res.jsonp()` method](/{{ page.lang }}/4x/api.html#res.jsonp) have been improved in the common cases.
  • The [jshttp/cookie module](https://www.npmjs.com/package/cookie) (in addition to a number of other improvements) has been updated and now the [`res.cookie()` method](/{{ page.lang }}/4x/api.html#res.cookie) supports the `sameSite` option to let you specify the [SameSite cookie attribute](https://tools.ietf.org/html/draft-west-first-party-cookies-07).

    {% include admonitions/note.html content="This attribute has not yet been fully standardized, may change in the future, and many clients may ignore it."%}

    The possible value for the sameSite option are:

    • true, which sets the SameSite attribute to Strict for strict same site enforcement.
    • false, which does not set the SameSite attribute.
    • 'lax', which sets the SameSite attribute to Lax for lax same site enforcement.
    • 'strict', which sets the SameSite attribute to Strict for strict same site enforcement.
  • Absolute path checking on Windows, which was incorrect for some cases, has been fixed.
  • IP address resolution with proxies has been greatly improved.
  • The [`req.range()` method](/{{ page.lang }}/4x/api.html#req.range) options object now supports a `combine` option (`false` by default), which when `true`, combines overlapping and adjacent ranges and returns them as if they were specified that way in the header.

For a complete list of changes in this release, see History.md.