Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/koajs/session

Simple session middleware for koa
https://github.com/koajs/session

Release 6.4.0

98630aaf6587b199969490f8503641554aeee917 authored almost 2 years ago by fengmk2 <[email protected]>
feat: Add Session.regenerate() method (#221)

And make both save() and regenerate() compatible with koa-passport

closes https://github.com/...

4cd3bef4fc1900b847d2e133e3b2599a711f1aea authored almost 2 years ago by Jürg Lehni <[email protected]>
Release 6.3.1

6b7043156471d0a7fe91666fe909baec21743590 authored almost 2 years ago by fengmk2 <[email protected]>
fix: keep crc v3 (#223)

avoid peerDependencies WARNING

https://github.com/koajs/session/pull/218/files#r1060445443

e2de39e6acaf5eef9c8660cbd864ecccaa2b60d0 authored almost 2 years ago by fengmk2 <[email protected]>
Release 6.3.0

75f5706cc540e6573707ad1fb5e104dac98f44a4 authored almost 2 years ago by fengmk2 <[email protected]>
test: run ci on GitHub Action (#222)

df2d28ffb177272739964eb5a503f93db870aa28 authored almost 2 years ago by fengmk2 <[email protected]>
feat: update uuid to v8 (#218)

878669ee2c734e3d9902d83f57e21d2113178b79 authored almost 2 years ago by zhennann <[email protected]>
Release 6.2.0

07ca4d7653e864841326117c90e435a90633a0d7 authored almost 4 years ago by dead-horse <[email protected]>
feat: add session.externalKey (#207)

7cde341db1691ee6885eb1b11ff3a3a3632fd5ce authored almost 4 years ago by Yiyu He <[email protected]>
Release 6.1.0

bbd9d238778e4bb8f686f20cd3454a6a9e8115bb authored about 4 years ago by dead-horse <[email protected]>
feat: add context to external store .get() and .set() options params (#201)

32e352665f2adbcda34d1d990bb6c5d875c0b625 authored about 4 years ago by Ngorror <[email protected]>
chore: Create LICENSE File (#195)

f76559568bb7f6321cab3f44ae759521deca3dd1 authored over 4 years ago by Dominic Egginton <[email protected]>
Release 6.0.0

136b9034c374b9a51f05973d79e1a8d9a2c83b90 authored over 4 years ago by dead-horse <[email protected]>
docs: add migrate from 5.x to 6.x

e630f7386f269d233f64e270c0eecd1eda91312b authored over 4 years ago by dead-horse <[email protected]>
chore: remove package-lock

6c9df069b0ee9da5410e0ff1e652c8c1a274f07f authored over 4 years ago by dead-horse <[email protected]>
[BREAKING CHANGE] fix: RFC6265 default cookie name (#197)

7fca3deda6cb78524992adfd1f520a6e664d52b0 authored over 4 years ago by Zac Anger <[email protected]>
chore: disabled package-lock.json (#198)

23f7f52a9bd1e21094d7cfa42fc7b9178be546d4 authored over 4 years ago by Dominic Egginton <[email protected]>
add secure flag to readme exmaple (#196)

17b32801145af597f29c0bc367d460129c80d233 authored over 4 years ago by Dominic Egginton <[email protected]>
Release 5.13.1

a46d043820c71293aadddd0573b8e7f2fc7ff18d authored almost 5 years ago by dead-horse <[email protected]>
fix: don't set any value to sameSite by default (#194)

ecd1f5edaa6ff1e77cc461d1107432b394ce21d2 authored almost 5 years ago by fengmk2 <[email protected]>
Release 5.13.0

aabe6eba77f472895aa22511d5fa9d2e01f0bd02 authored almost 5 years ago by dead-horse <[email protected]>
feat: support session cookie sameSite options (#193)

cb09a09cfa4767610d7cc7282a0de2a3a651c6ae authored almost 5 years ago by fengmk2 <[email protected]>
Release 5.12.3

f81d7130ff4fd44ad97bd0b807034bd46964db8a authored over 5 years ago by dead-horse <[email protected]>
fix: correctly expire cookies for nullified sessions

Changes:
- On destroy, set 'maxAge' to be false
- On destroy, set the 'expires' flag to be UNI...

909d93fc6b74c6e29b0e83f555f1fc4002a6a108 authored over 5 years ago by Justin <[email protected]>
Release 5.12.2

10bb12246699101a0c87a2f3e2e09b1a79e10e33 authored over 5 years ago by dead-horse <[email protected]>
fix: remvoe unused code

c23bab4023b95c65be46b4eeaf089608ddaa738e authored over 5 years ago by dead-horse <[email protected]>
Release 5.12.1

bdf51c3cce5d49d2255b9b4a499587a0026f7309 authored over 5 years ago by dead-horse <[email protected]>
fix: ensure ctx.session always has value

77968e3ff6fb5d4f4a36665474ccd992fed689ec authored over 5 years ago by dead-horse <[email protected]>
Release 5.12.0

a4dcdc467a1e1672256207304a8e9ceafce97f70 authored over 5 years ago by dead-horse <[email protected]>
docs: add genid(ctx) in readme

3d57a443c7e0050d4066c871bf8da2656cda99f1 authored over 5 years ago by dead-horse <[email protected]>
feat: add the parameter "ctx" to the function "genid" so can get the … (#173)

39ca830a99ae7fcab2bd499a1f2a87de53fd1944 authored over 5 years ago by 松松 <[email protected]>
Release 5.11.0

5ca903f7f9e3c2fd901f62d7e41da391e4cff258 authored over 5 years ago by fengmk2 <[email protected]>
feat: make sure session id is global unique (#170)

b79134d6854173bf46d6703e79636a58f9282e15 authored over 5 years ago by fengmk2 <[email protected]>
fix: remove package-lock.json

c2b4259ccef6095cad2f3ff51968b21cea993d13 authored over 5 years ago by fengmk2 <[email protected]>
deps: Fix security vulnerabilities from npm audit (#163)

23ad8718a9a392c0c563893a10b5ca9f6fd70ebe authored about 6 years ago by Douglas Wade <[email protected]>
test: changed "ctx.session is mockable" tests names to more appropriate (#158)

1600aabdfa6a86973e3fab9f4064c3ed82b10604 authored about 6 years ago by Vitaliy Zaytsev <[email protected]>
Release 5.10.1

e66fbd16bb05d5a4b8001ceb155c3f7440490407 authored about 6 years ago by dead-horse <[email protected]>
feat: allow init multi session middleware (#159)

5f12f7019b4fbb3ce1d495c1c7fb8a234ae16818 authored about 6 years ago by killa <[email protected]>
fix: moved "pedding" package to dev dependencies (#155)

89c048adc5a64b6c12c87047b766ac34be10af77 authored about 6 years ago by Vitaliy Zaytsev <[email protected]>
Release 5.10.0

21fab9e5ac09cb182e3adfc52aee876b18861b24 authored about 6 years ago by dead-horse <[email protected]>
feat: support options.externalKey #88 (#149)

81906f7724ef009dc14686f4990af35c716f6db9 authored about 6 years ago by Tree Xie <[email protected]>
Release 5.9.0

4ea5a63470b936642a18875997e1a627794d198d authored over 6 years ago by dead-horse <[email protected]>
feat: Add autoCommit option (#139)

724140076b65867b1a0cffee4f061971be8751c0 authored over 6 years ago by Jonas Galvez <[email protected]>
Release 5.8.3

2497dc550a3c8689fd0de4886f2ae5eebff5a490 authored over 6 years ago by dead-horse <[email protected]>
fix: session not works (#136)

6f1a41cf499f55532f0e7ce0de04d778a0466496 authored over 6 years ago by 吖猩 <[email protected]>
fix typo in README.md (#134)

95272ff912af8dd31ae9f038df9540d8b6c019d7 authored over 6 years ago by Maples7 <[email protected]>
Release 5.8.2

d15a102b2f736ad4ebb41d6d19c54363466e3216 authored over 6 years ago by dead-horse <[email protected]>
deps: Upgrade debug@^3.1.0 (#107)

This version of debug addresses a minor ReDoS issue.
See https://nodesecurity.io/advisories/534

90506055366a31205b0895592eb00d43f8d9da28 authored over 6 years ago by Daniel Tseng <[email protected]>
fix: Fixes a bug that reset the cookie expire date to the default (1 day) when using browser sessions (maxAge: 'session') (#117)

c487944c22056fdd37433bdeab3d665dbd116744 authored over 6 years ago by Adriano <[email protected]>
Update Readme.md (#123)

fixing a small typo

c48e1e054566fe09c81ff50f530c6f230f07c7d5 authored over 6 years ago by Wellington Soares <[email protected]>
Release 5.8.1

622a2d803ff0d42ff1620e3c576b089b3725a65f authored almost 7 years ago by dead-horse <[email protected]>
fix: ensure store expired after cookie

bdb4fd45a7c247c94f0035585104b004e36ec725 authored almost 7 years ago by dead-horse <[email protected]>
Release 5.8.0

9854d03429e67f4dbce8bd211f8f9db8a1f82f75 authored almost 7 years ago by fengmk2 <[email protected]>
feat: support opts.renew (#111)

bb5f4bf86da802cb37cd5e3a990b5bbcc4f6d144 authored almost 7 years ago by Yiyu He <[email protected]>
Release 5.7.1

6260c6d8d2ca3ed9261e36133d2cf5957ebd31db authored almost 7 years ago by dead-horse <[email protected]>
fix: emit event in next tick

72fa5fec71a8fa3c4e8b75226b401e965d8d31c7 authored almost 7 years ago by dead-horse <[email protected]>
Release 5.7.0

2027e75fbca1db444efa3c03b528f33fa3301952 authored almost 7 years ago by dead-horse <[email protected]>
feat: emit event expose ctx

a2401c85b486a87a4bf933e457b09088496735d7 authored almost 7 years ago by dead-horse <[email protected]>
Release 5.6.0

d1d4b95cc67240f61b33647925725cf8a1c592ec authored almost 7 years ago by dead-horse <[email protected]>
feat: emit events when session invalid (#108)

session key add Date.now()

f00c1ef9857fec52e1aaf981ba9a8e837b3e7ffa authored almost 7 years ago by Yiyu He <[email protected]>
Release 5.5.1

5e41b4726e4c996c4314588cc7b02d24b3943e10 authored about 7 years ago by dead-horse <[email protected]>
perf: no need to assign opts (#103)

b976b10212f522b675711badb7ce1bc9a909d19d authored about 7 years ago by Yiyu He <[email protected]>
chore: fix example bug and use syntactic sugar (#97)

c040b5997d35267a3a65becf91e327615ff17fa5 authored over 7 years ago by Runrioter Wung <[email protected]>
docs: copyediting (#85)

some minor spelling and grammar changes

906277a3c9995ed4f07d2cee55e3020af0c75168 authored over 7 years ago by Nate Silva <[email protected]>
Release 5.5.0

cb6d2c8448f21f6cf42efdb031798c9608f05602 authored over 7 years ago by dead-horse <[email protected]>
feat: support options.prefix for external store (#93)

ec88cfb095ddbfa9a0db465e3f9e459fb6f92bec authored over 7 years ago by Yiyu He <[email protected]>
Release 5.4.0

fd8acf239c9db1d9ae6db8ccbe38831b06b6226a authored over 7 years ago by dead-horse <[email protected]>
feat: opts.genid (#87)

e82726d5b315c18df2a306a6cd77e6db3f017336 authored over 7 years ago by Shawn <[email protected]>
Release 5.3.0

d958bb542f856610c6e44c19f6ab3f248ec21a34 authored over 7 years ago by dead-horse <[email protected]>
feat: support rolling (#84)

e153c0be9c215c6ec0fab41590281f71a588401a authored over 7 years ago by Yiyu He <[email protected]>
Release 5.2.0

50e1345572c9c87c6ea73211cf085a8ca046d874 authored over 7 years ago by dead-horse <[email protected]>
feat: support options.ContextStore (#81)

a5cefa8863ade64fb99420270a48e920ad1e408c authored over 7 years ago by Shawn <[email protected]>
Create Readme.md (#78)

bb1dbd66fec214277dcc48d2b5e659e5cae4e1e2 authored over 7 years ago by Justin <[email protected]>
Release 5.1.0

acda04c0ff35423df6b00f23821bfd64469737bf authored over 7 years ago by dead-horse <[email protected]>
test: test on node 8

e763f6a42672510f71e6fe308b9c799990f173ce authored over 7 years ago by dead-horse <[email protected]>
fix test case

89f9850fe07be03949df6864f9f958c9dd056754 authored over 7 years ago by dead-horse <[email protected]>
Create capability to create cookies that expire when browser is close… (#77)

abda418a1063ba157974eedc180f2621a5529db7 authored over 7 years ago by Joe Grayauskie <[email protected]>
docs: fix readme

777c8e836d74ea12f810c104eb4bbc61d2586365 authored over 7 years ago by dead-horse <[email protected]>
fix docs

3adc5b6a930d19a0152a7dec832d9ef89a600342 authored almost 8 years ago by haoxin <[email protected]>
docs: fix readme example

325ef3480419ad228ab488c35478d325a43404fc authored almost 8 years ago by dead-horse <[email protected]>
Release 5.0.0

11bbb66c73f6fb68f887183a4e860947c6a9b96f authored almost 8 years ago by dead-horse <[email protected]>
docs: node>=7.6

93c4ad29c275cbb879247c2e578c1697f7315678 authored almost 8 years ago by dead-horse <[email protected]>
docs: only support async function

331e5a6d627af1f2082a9d8bde43f0ebb228e042 authored almost 8 years ago by dead-horse <[email protected]>
feat: async/await support (#70)

e52d789ab73ea7716c671a7ebf56cb7c5972b726 authored almost 8 years ago by easthing <[email protected]>
Release 4.0.1

6655744a91f75e26dde479d15cf054b2a3fca2c4 authored almost 8 years ago by dead-horse <[email protected]>
fix: ctx.session should be configurable (#67)

177c1497e8c893a01220cc2235f46b025a51529e authored almost 8 years ago by Haoliang Gao <[email protected]>
docs: format

c1fef1f2176f4155b93894d0906a674d55ac78a9 authored almost 8 years ago by dead-horse <[email protected]>
Release 4.0.0

b53103d4e29240cd8aaeaf0565b6c08d1e05f338 authored almost 8 years ago by dead-horse <[email protected]>
test: set env to test

025636c208061cf014d3de680cf1c3b8e93e5c4c authored almost 8 years ago by dead-horse <[email protected]>
Merge pull request #66 from koajs/external

Support external store

2f7010b5eb5739abe0811f7e0d095a03f545df66 authored almost 8 years ago by Yiyu He <[email protected]>
feat: save session when maxAge changed

f916f209e3c3b5dde33ebec97911113c42c8a932 authored almost 8 years ago by dead-horse <[email protected]>
deps: remove deep-equal

e33923b0db2c4384f8a7f22be3c344560c70f2b9 authored almost 8 years ago by dead-horse <[email protected]>
fix: typo

012283e1957da0e9ed86a7bf79550af31f694fb8 authored almost 8 years ago by dead-horse <[email protected]>
docs: declare only use external session stores if necessary

d1b21124bc211609f790b8f540e1aed632c21ec8 authored almost 8 years ago by dead-horse <[email protected]>
refactor: use defineProperties and symbol

ffb15e541580999b7848054c1c9ea4c350dafe00 authored almost 8 years ago by dead-horse <[email protected]>
feat: keep session.save()

46ee6a55b0148d996e4fb3779d1daff4c6de2bbd authored almost 8 years ago by dead-horse <[email protected]>
test: remove harmony

ef64dcc7e9db7799f579093fb5e8321fdd0e1848 authored almost 8 years ago by dead-horse <[email protected]>
feat: clean cookie when decode error

66ca6e3a4aa3ec1a082c8e4b89fdcf5f4b43f3f3 authored almost 8 years ago by dead-horse <[email protected]>
chore: remove unused code

4687a38e129f078c721e9eb0b2b20001007515ef authored almost 8 years ago by dead-horse <[email protected]>
feat: throw error when encode error, add more test cases

490f31a9cc4f78f153a59742e1debbcc9d1eb169 authored almost 8 years ago by dead-horse <[email protected]>