Nette Framework 2.3.1 released

4 years ago

David Grudl
Nette Core | 6864
+
+19
-

Nette Framework 2.3.1 has just been released and is now available for download. Feel free to update!

  • FileResponse: encodes filename in Content-Disposition according to RFC 5987
  • ApplicationExtension: uses file in temp dir to invalidate container
  • CacheMacro: createCache has support for defining dependencies as a fallback
  • ActiveRow: added support to update primary columns via update()
  • MySQL: added support for objects DateInterval in column TIME
  • Revertes “SqlPreprocessor: fixed IN (?) with empty array” (possible BC break)
  • Table: fixed Selection::getReferencedTable() always refetching when primary is NULL
  • ContainerPanel: displays compilation time when container is compiled
  • FormMacros: empty <label n:name /> displays caption, as {label /} does
  • FormMacros: added support for <button>
  • netteForms.js: supports Common.JS and AMD loading
  • Neon::encode: removed trailing spaces
  • Latte: <script> with type text/json is escaped as javascript
  • Latte: improved macro {dump}
  • Tracy: fixed compatibility with MooTools and some plugins
  • TracyExtension: added option logSeverity
  • added tool ClassUpdater
  • and some fixes

For the details you can have a look at the diffs: application, bootstrap, caching, database, deprecated, di, forms, neon, utils, latte, tracy.

4 years ago

one-two
Member | 80
+
0
-

This doesn't work anymore

<div class="ix-checkbox">
    <input n:name="newsletter:">
    <label n:name="newsletter"></label>
    {label newsletter:/}
</div>

Desired HTML ouput

<div class="ix-checkbox">
  <input type="checkbox" name="newsletter" class="ix-nice-checkbox" id="frm-registrationForm-newsletter">
  <label for="frm-registrationForm-newsletter"></label>
  <label for="frm-registrationForm-newsletter">Newsletter</label>
</div>

What should I do?

4 years ago

David Grudl
Nette Core | 6864
+
0
-

@one-two what is the point of empty <label n:name="newsletter"></label>?

4 years ago

one-two
Member | 80
+
0
-

David Grudl wrote:

@one-two what is the point of empty <label n:name="newsletter"></label>?

css checkbox style, http://cssdeck.com/…ckbox-styles for example

4 years ago

David Grudl
Nette Core | 6864
+
0
-

Fixed in 2.3.2