Nette Framework 2.2.4 RC for testing

Notice: This thread is very old.
David Grudl
Nette Core | 8228
+
+5
-

I'd like to announce the release candidate of Nette 2.2.4.

The release candidate is intended for bug fixing prior to the stable release. Please test this release against your code and report any problems that you encounter. Next release should show up in two weeks.

You can download ZIP archive or use Composer:

	"require": {
		"nette/nette": "2.2.4-RC"
	},
	"minimum-stability": "RC",
	"prefer-stable": true

For the details you can have a look at the diffs: application, bootstrap, caching, database, finder, forms, http, mail, security, utils, latte, tracy.

David Grudl
Nette Core | 8228
+
+4
-

Forms

  • CsrfProtection: token is expired after regenerateId() (i.e. after logout) security fix!
  • CsrfProtection: ignores setValue(), is not erased by Form::setValues
  • Form: calling setAction() bypasses creation of ‘do’ element (forum)
  • DefaultFormRenderer: support for setOption(‘id’) for groups
  • RadioList: added item label prototype
  • Container: added addMultiUpload()
  • TextBase: added setMaxLength()
  • TextInput: removed empty value=""
  • fixes in netteForms.js

Tracy

  • fixed double calling Debugger::enable(), Debugger: $logSeverity in development mode, CSS
  • BlueScreen: collapsePaths is set to /vendor dir
  • create-phar: minification for JS & CSS
  • Debugger: removed error message in non-HTML production mode
  • TracyBridge initialization moved from NetteExtension to Configurator

Others

  • Template: added __call() for BC
  • Route: %domain% and %tld% works with IP
  • SqlPreprocessor: fixed non-associative array detection
  • Finder: callbacks always receives as argument FilesystemIterator
  • Http\Response: Added missing HTTP status codes as constants
  • Url::isEqual: fixed comparing of indexed arrays
  • UserPanel: is rendered only when headers are not sent
  • DateTime: createFromFormat returns FALSE on failure
  • BlockMacros: implemented {elseifset #block}
o5
Member | 416
+
0
-

I get error after update:

Nette\Forms\Form::setMethod() must be called until the form is empty.

The exception was caused by this, because $this->httpData was an empty array.

My form looks correct:

$form = new \Nette\Application\UI\Form($this, $name);
$form->setMethod($form::GET);

...

Tested with

"require": {
    "nette/nette": "2.2.4-RC"
},
"minimum-stability": "RC"

With "nette/nette": "2.2.3" works fine. It's about commit.

Last edited by o5 (2014-11-02 11:31)

chemix
Nette Core | 1310
+
0
-

I'm fine. Sites works and tests are green

David Grudl
Nette Core | 8228
+
+1
-

@o5 thanx for report, fixed here https://github.com/…mmit/c0d9eec

Milo
Nette Core | 1283
+
0
-

Migrations were OK for me. Didn't hit any issue.