Commit 10d0a91a authored by Bryan Tong's avatar Bryan Tong
Browse files

Merge branch 'restoreMainField' into 'master'

Restore main field

See merge request kado/kado!307
parents e53e500e af1a79ee
Pipeline #8808 passed with stage
in 2 minutes and 32 seconds
# Changelog
### 4.3.2
*Released 7/7/21*
* Restore main field, with proper value. Ensured compliance.
* Removed index of Session data on the SessionStoreModel
### 4.3.1
*Pending*
*Released 7/5/21*
* Session.set() now saves automatically and returns a promise that should be
awaited. IN the event multiple session sets are going to happen in the same
method it is advised to use `{ save: false }` as a third option to
`Session.set()` then call `Session.save()` and await the promise at the end.
This is meant to make sure that session saving is not implied to be automatic.
It should be explicit and handled like any other database transaction.
* Remove main field from package.json
### 4.3.0
*Released 2/23/21*
......
......@@ -146,7 +146,7 @@ class SessionStoreModel extends Model {
table.index('ip_index', ['ip'])
table.index('agent_index', ['agent'])
table.index('uid_index', ['uid'])
table.index('data_index', ['data'])
// table.index('data_index', ['data'])
table.index('createdAt_index', ['createdAt'])
table.index('updatedAt_index', ['updatedAt'])
return table
......
......@@ -46,6 +46,7 @@
],
"homepage": "https://kado.org",
"license": "LGPL-3.0",
"main": "./lib/Application.js",
"name": "kado",
"repository": {
"type": "git",
......@@ -54,5 +55,5 @@
"scripts": {
"test": "standard && node ./test/index.js"
},
"version": "4.3.1"
"version": "4.3.2"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment