Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updated Changelog with BC notes for 2.1 and 2.0.7 #3622

Closed
wants to merge 2 commits into from

2 participants

@cgmartin

Copied @weierophinney 's "Potential Breakage" notes from the zf-contributor's list to the CHANGELOG.md. Not sure if that's the appropriate place (auto-generated via script?), but thought the notes should be included somewhere in the repo. Cheers!

@weierophinney weierophinney was assigned
@weierophinney weierophinney referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3622' into develop
Forward port #3622
fad85d1
@weierophinney

Nice idea -- I like it. I'll try and remember to do this going forward, too.

@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3622'
Close #3622
1e9c8ad
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3622' into develop
Forward port #3622
b87cc41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 30, 2013
  1. @cgmartin
  2. @cgmartin

    Add spaces in titles

    cgmartin authored
This page is out of date. Refresh to see the latest.
Showing with 52 additions and 0 deletions.
  1. +52 −0 CHANGELOG.md
View
52 CHANGELOG.md
@@ -315,6 +315,50 @@
#2884
(https://github.com/zendframework/zf2/issues/3606)
+### Potential Breakage
+
+Includes a fix to the classes `Zend\Filter\Encrypt`
+and `Zend\Filter\Decrypt` which may pose a small break for end-users. Each
+requires an encryption key be passed to either the constructor or the
+setKey() method now; this was done to improve the security of each
+class.
+
+`Zend\Session` includes a new `Zend\Session\Storage\SessionArrayStorage`
+class, which acts as a direct proxy to the $_SESSION superglobal. The
+SessionManager class now uses this new storage class by default, in
+order to fix an error that occurs when directly manipulating nested
+arrays of $_SESSION in third-party code. For most users, the change will
+be seamless. Those affected will be those (a) directly accessing the
+storage instance, and (b) using object notation to access session
+members:
+
+ $foo = null;
+ /** @var $storage Zend\Session\Storage\SessionStorage */
+ if (isset($storage->foo)) {
+ $foo = $storage->foo;
+ }
+
+If you are using array notation, as in the following example, your code
+remains forwards compatible:
+
+ $foo = null;
+
+ /** @var $storage Zend\Session\Storage\SessionStorage */
+ if (isset($storage['foo'])) {
+ $foo = $storage['foo'];
+ }
+
+If you are not working directly with the storage instance, you will be
+unaffected.
+
+For those affected, the following courses of action are possible:
+
+ * Update your code to replace object property notation with array
+ notation, OR
+ * Initialize and register a Zend\Session\Storage\SessionStorage object
+ explicitly with the session manager instance.
+
+
## 2.0.7 (29 Jan 2013):
- 1992: [2.1] Adding simple Zend/I18n/Loader/Tmx
@@ -640,6 +684,14 @@
exceptions
(https://github.com/zendframework/zf2/issues/3604)
+### Potential Breakage
+
+Includes a fix to the classes `Zend\Filter\Encrypt`
+and `Zend\Filter\Decrypt` which may pose a small break for end-users. Each
+requires an encryption key be passed to either the constructor or the
+setKey() method now; this was done to improve the security of each
+class.
+
## 2.0.6 (19 Dec 2012):
- 2885: Zend\Db\TableGateway\AbstractTableGateway won't work with Sqlsrv
Something went wrong with that request. Please try again.