UNPKG

1.35 kBMarkdownView Raw
1### 1.0.11
2- check if the headers are sent before cookies set [PR145](https://github.com/i18next/i18next-express-middleware/pull/145)
3
4### 1.0.10
5- Use a named function for the middleware over an anonymous [PR144](https://github.com/i18next/i18next-express-middleware/pull/144)
6
7### 1.0.9
8- Guard against non-string detections [PR141](https://github.com/i18next/i18next-express-middleware/pull/141)
9
10### 1.0.7
11- Fix path detection can crash app (if req.originalUrl is not set) [#137](https://github.com/i18next/i18next-express-middleware/pull/137)
12
13### 1.0.6
14- update cookie dependency adding overwrite flag [#127](https://github.com/i18next/i18next-express-middleware/issues/127)
15
16### 1.0.5
17- fixes persisting lng on calling changeLanguage [#918](https://github.com/i18next/i18next/issues/918)
18
19### 1.0.4
20- fixes rare issue in race condition of init call in cloned instance
21
22### 1.0.3
23- Fix path lookup logic where query was being included in path [PR125](https://github.com/i18next/i18next-express-middleware/pull/125)
24
25### 1.0.2
26- call next without loading languages if there is no lng
27
28### 1.0.1
29- fixes call to loadLanguages
30
31### 1.0.0
32- use an i18next instance clone instead of a pseudo/mock object, keep clone lng and req.lng in sync
33
34### 0.4.0
35- adds localized routes
36- adds default export for es6 users not want to use named exports.default