changelogs.md


tencentwsrd/session

Repository  -  API  -  Source

1.14.1

August 24, 2016
  • Fix not always resetting session max age before session save
    • Fix the cookie sameSite option to actually alter the Set-Cookie
    • deps: uid-safe@~2.1.2
      • deps: base64-url@1.3.2

1.14.0

July 1, 2016
  • Correctly inherit from EventEmitter class in Store base class
    • Fix issue where Set-Cookie Expires was not always updated
    • Methods are no longer enumerable on req.session object
    • deps: cookie@0.3.1
      • Add sameSite option
      • Improve error message when encode is not a function
      • Improve error message when expires is not a Date
      • perf: enable strict mode
      • perf: use for loop in parse
      • perf: use string concatination for serialization
    • deps: parseurl@~1.3.1
      • perf: enable strict mode
    • deps: uid-safe@~2.1.1
      • Use random-bytes for byte source
      • deps: base64-url@1.2.2
    • perf: enable strict mode
    • perf: remove argument reassignment

1.13.0

January 10, 2016
  • Fix rolling: true to not set cookie when no session exists
    • Better saveUninitialized: false + rolling: true behavior
      • deps: crc@3.4.0

1.12.1

October 29, 2015
  • deps: cookie@0.2.3
    • Fix cookie Max-Age to never be a floating point number

1.12.0

October 25, 2015
  • Support the value 'auto' in the cookie.secure option
    • deps: cookie@0.2.2
      • Throw on invalid values provided to serialize
    • deps: depd@~1.1.0
      • Enable strict mode in more places
      • Support web browser loading
    • deps: on-headers@~1.0.1
      • perf: enable strict mode

1.11.3

May 22, 2015
  • deps: cookie@0.1.3
    • Slight optimizations
      • deps: crc@3.3.0

1.11.2

May 10, 2015
  • deps: debug@~2.2.0
    • deps: ms@0.7.1
      • deps: uid-safe@~2.0.0

1.11.1

April 8, 2015
  • Fix mutating options.secret value

1.11.0

April 7, 2015
  • Support an array in secret option for key rotation
    • deps: depd@~1.0.1

1.10.4

March 15, 2015
  • deps: debug@~2.1.3
    • Fix high intensity foreground color for bold
    • deps: ms@0.7.0

1.10.3

February 16, 2015
  • deps: cookie-signature@1.0.6
    • deps: uid-safe@1.1.0
      • Use crypto.randomBytes, if available
      • deps: base64-url@1.2.1

1.10.2

January 31, 2015
  • deps: uid-safe@1.0.3
    • Fix error branch that would throw
    • deps: base64-url@1.2.0

1.10.1

January 8, 2015
  • deps: uid-safe@1.0.2
    • Remove dependency on mz

1.10.0

January 5, 2015
  • Add store.touch interface for session stores
    • Fix MemoryStore expiration with resave: false
    • deps: debug@~2.1.1

1.9.3

December 2, 2014
  • Fix error when req.sessionID contains a non-string value

1.9.2

November 22, 2014
  • deps: crc@3.2.1
    • Minor fixes

1.9.1

October 22, 2014
  • Remove unnecessary empty write call
    • Fixes Node.js 0.11.14 behavior change
    • Helps work-around Node.js 0.10.1 zlib bug

1.9.0

September 16, 2014
  • deps: debug@~2.1.0
    • Implement DEBUG_FD env variable support
      • deps: depd@~1.0.0

1.8.2

September 15, 2014
  • Use crc instead of buffer-crc32 for speed
    • deps: depd@0.4.5

1.8.1

September 8, 2014
  • Keep req.session.save non-enumerable
    • Prevent session prototype methods from being overwritten

1.8.0

September 7, 2014
  • Do not resave already-saved session at end of request
    • deps: cookie-signature@1.0.5
    • deps: debug@~2.0.0

1.7.6

August 18, 2014
  • Fix exception on res.end(null) calls

1.7.5

August 10, 2014
  • Fix parsing original URL
    • deps: on-headers@~1.0.0
    • deps: parseurl@~1.3.0

1.7.4

August 5, 2014
  • Fix response end delay for non-chunked responses

1.7.3

August 5, 2014
  • Fix res.end patch to call correct upstream res.write

1.7.2

July 27, 2014
  • deps: depd@0.4.4
    • Work-around v8 generating empty stack traces

1.7.1

July 26, 2014
  • deps: depd@0.4.3
    • Fix exception when global Error.stackTraceLimit is too low

1.7.0

July 22, 2014
  • Improve session-ending error handling
    • Errors are passed to next(err) instead of console.error
      • deps: debug@1.0.4
      • deps: depd@0.4.2
    • Add TRACE_DEPRECATION environment variable
    • Remove non-standard grey color from color output
    • Support --no-deprecation argument
    • Support --trace-deprecation argument

1.6.5

July 11, 2014
  • Do not require req.originalUrl
    • deps: debug@1.0.3
      • Add support for multiple wildcards in namespaces

1.6.4

July 7, 2014
  • Fix blank responses for stores with synchronous operations

1.6.3

July 4, 2014
  • Fix resave deprecation message

1.6.2

July 4, 2014
  • Fix confusing option deprecation messages

1.6.1

June 28, 2014
  • Fix saveUninitialized deprecation message

1.6.0

June 28, 2014
  • Add deprecation message to undefined resave option
    • Add deprecation message to undefined saveUninitialized option
    • Fix res.end patch to return correct value
    • Fix res.end patch to handle multiple res.end calls
    • Reject cookies with missing signatures

1.5.2

June 26, 2014
  • deps: cookie-signature@1.0.4
    • fix for timing attacks

1.5.1

June 21, 2014
  • Move hard-to-track-down req.secret deprecation message

1.5.0

June 19, 2014
  • Debug name is now "express-session"
    • Deprecate integration with cookie-parser middleware
    • Deprecate looking for secret in req.secret
    • Directly read cookies; cookie-parser no longer required
    • Directly set cookies; res.cookie no longer required
    • Generate session IDs with uid-safe, faster and even less collisions

1.4.0

June 17, 2014
  • Add genid option to generate custom session IDs
    • Add saveUninitialized option to control saving uninitialized sessions
    • Add unset option to control unsetting req.session
    • Generate session IDs with rand-token by default; reduce collisions
    • deps: buffer-crc32@0.2.3

1.3.1

June 14, 2014
  • Add description in package for npmjs.org listing

1.3.0

June 14, 2014
  • Integrate with express "trust proxy" by default
    • deps: debug@1.0.2

1.2.1

May 27, 2014
  • Fix resave such that resave: true works

1.2.0

May 19, 2014
  • Add resave option to control saving unmodified sessions

1.1.0

May 12, 2014
  • Add name option; replacement for key option
    • Use setImmediate in MemoryStore for node.js >= 0.10

1.0.4

April 27, 2014
  • deps: debug@0.8.1

1.0.3

April 19, 2014
  • Use res.cookie() instead of res.setHeader()
    • deps: cookie@0.1.2

1.0.2

February 23, 2014
  • Add missing dependency to package.json

1.0.1

February 15, 2014
  • Add missing dependencies to package.json

1.0.0

February 15, 2014
  • Genesis from connect