i18next-express-middleware
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,45 +1,64 @@ | ||
### 1.2.1 | ||
- add language detector to default export [PR153](https://github.com/i18next/i18next-express-middleware/pull/153) | ||
### 1.2.0 | ||
- fixes cookie set crash on newer versions of express (v4) [PR151](https://github.com/i18next/i18next-express-middleware/pull/151) | ||
### 1.1.1 | ||
- fixes 1.1.0 detection should return a string not an array | ||
### 1.1.0 | ||
- support returning fallback language when is set as Object [PR146](https://github.com/i18next/i18next-express-middleware/pull/146) | ||
### 1.0.11 | ||
- check if the headers are sent before cookies set [PR145](https://github.com/i18next/i18next-express-middleware/pull/145) | ||
### 1.0.10 | ||
- Use a named function for the middleware over an anonymous [PR144](https://github.com/i18next/i18next-express-middleware/pull/144) | ||
### 1.0.9 | ||
- Guard against non-string detections [PR141](https://github.com/i18next/i18next-express-middleware/pull/141) | ||
### 1.0.7 | ||
- Fix path detection can crash app (if req.originalUrl is not set) [#137](https://github.com/i18next/i18next-express-middleware/pull/137) | ||
### 1.0.6 | ||
- update cookie dependency adding overwrite flag [#127](https://github.com/i18next/i18next-express-middleware/issues/127) | ||
- update cookie dependency adding overwrite flag [#127](https://github.com/i18next/i18next-express-middleware/issues/127) | ||
### 1.0.5 | ||
- fixes persisting lng on calling changeLanguage [#918](https://github.com/i18next/i18next/issues/918) | ||
### 1.0.4 | ||
- fixes rare issue in race condition of init call in cloned instance | ||
### 1.0.3 | ||
- Fix path lookup logic where query was being included in path [PR125](https://github.com/i18next/i18next-express-middleware/pull/125) | ||
### 1.0.2 | ||
- call next without loading languages if there is no lng | ||
### 1.0.1 | ||
- fixes call to loadLanguages | ||
### 1.0.0 | ||
- use an i18next instance clone instead of a pseudo/mock object, keep clone lng and req.lng in sync | ||
### 0.4.0 | ||
- adds localized routes | ||
- adds default export for es6 users not want to use named exports.default |
@@ -173,3 +173,4 @@ 'use strict'; | ||
missingKeyHandler: missingKeyHandler, | ||
addRoute: addRoute | ||
addRoute: addRoute, | ||
LanguageDetector: LanguageDetector | ||
}; |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "express middleware for i18next", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -222,1 +222,11 @@ # Introduction | ||
``` | ||
-------------- | ||
<h3 align="center">Gold Sponsors</h3> | ||
<p align="center"> | ||
<a href="https://locize.com/" target="_blank"> | ||
<img src="https://raw.githubusercontent.com/i18next/i18next/master/assets/locize_sponsor_240.gif" width="240px"> | ||
</a> | ||
</p> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31635
561
232