Release 1.5.2

master 1.5.2
fengmk2 2017-01-13 14:39:35 +08:00
parent 1f485fde83
commit 6857227777
3 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,9 @@
1.5.2 / 2017-01-13
==================
* fix: make sure signed=false on set/get cookie (#24)
1.5.1 / 2016-05-21
==================

View File

@ -19,7 +19,7 @@ const DEFAULT_OPTIONS = {
functionName: '__',
};
module.exports = (app, options) => {
module.exports = function (app, options) {
options = assign({}, DEFAULT_OPTIONS, options);
const defaultLocale = formatLocale(options.defaultLocale);
const queryField = options.queryField;

View File

@ -1,6 +1,6 @@
{
"name": "koa-locales",
"version": "1.5.1",
"version": "1.5.2",
"description": "koa locales, i18n solution for koa",
"main": "index.js",
"files": [