Skip to content

Commit

Permalink
update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Sep 10, 2013
1 parent 5bfc549 commit 0928f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 31 deletions.
1 change: 1 addition & 0 deletions meta/authors.csv
@@ -1,2 +1,3 @@
lead,pmjones,Paul M. Jones,pmjones88@gmail.com,http://paul-m-jones.com
contributor,koriym,Akihito Koriyama,akihito.koriyama@gmail.com,
developer,harikt,Hari KT,kthari85@gmail.com,http://harikt.com
34 changes: 3 additions & 31 deletions meta/changes.txt
@@ -1,32 +1,4 @@
There are BC breaks in this release, but it's a Google beta, so ...
- [CHG] Manager::destroy() now checks whether the session is started; if not,
starts it, and then destroys. This is because sessions are lazy-loading.

- [SEC] Based on conversation at
http://www.eschrade.com/page/generating-secure-cross-site-request-forgery-tokens-csrf/
start using openssl and mcrypt for CSRF tokens instead of mt_rand().

- [NEW] SegmentInterface, Randval, RandvalInterface.

- [BRK] The Manager now requires $_COOKIE as its third param to Manager.

- [CHG] Segments now lazy-load themselves. On reads, they will reactivate an
available session, but will not start a new one. On writes, they will
reactivate an available session, or start a new one if one is not available.
This means that creating a segment object no longer starts a session; you
have to read from or write to one for the session to start.

- [BRK] Renamed Manager::isActive() to isAvailable(), to differentiate from
PHP_SESSION_ACTIVE. ( Previously, isActive() only told you if a session had
started, not if one was available to be activated.)

- [CHG] Manager::getSegment() no longer starts a session

- [CHG] Manager::isStarted() now checks getStatus() for PHP_SESSION_ACTIVE
instead of session_id().

- [CHG] Segment::__get() no longer returns a reference

- [BRK] Renamed Manager::getSegment() to newSegment()

- [CHG] Manager no longer retains session segments

- [CHG] Various typo and doc fixes by Akihito Koriyama
- [DOC] Add PHP 5.5 to the Travis build and update docs

0 comments on commit 0928f76

Please sign in to comment.