Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
David Grudl: Novinky v Nette
1.
2. Presenter: new method sendJson(), PresenterFactory: configurable mapping Presenter
name → Class name, Route: new pseudo-variables %basePath%, %tld% and %domain%,
annotation @inject, auto-generated factories and accessors via interface, adding compiler
extensions via config file, configurable presenters via config, Database complete
refactoring, a ton of bug fixes, lazy connection, all queries are logged (error queries,
transactions, …), DSN in connection panel, much better (dibi-like) SQL preprocessor,
Selection, ActiveRow: insert() & update() methods return row instances with refetched
data, Selection: added placeholder support select(), group(), having(), order() methods,
SqlLiteral: added placeholder support, added: WHERE conditions consider NOT for IN
operator, insert() method returns IRow, new driver for Sqlsrv, Sqlite supports multiinserts, fixes for PostgreSQL, Debugger Dumper: colored and clickable dumps in HTML or
terminal, Bar: you can see bar after redirect and is updated via AJAX (not implemented),
full stack trace on fatal errors (requires Xdebug), Dumper: possibility to include JS & CSS
separately, new macro n:form, <select n:input> and <textarea n:input> (not
implemented), partially rendered radiolists using {input name:$key} and {label
name:$key}, setOmitted: excludes value from $form->getValues() result, removed
dependency on Environment, improved toggles, improved netteForms.js, validation
scopes, data-nette-rules attribute is JSON, getErrors returns only errors attached to form
(getAllErrors returns all errors – with controls / containers), Radiolist::getLabel(…, $key)
returns label for single item, Latte: modifier |noescape, native support for empty macros
{macro /}, SmtpMailer: persistent connection, Json: supports pretty output, Neon: Json is
subset of, Arrays: new method isList(), Strings: new method findPrefix(), added new
SessionPanel, Magic methods setProperty(), getProperty(), isProperty() and
addProperty() by @method, Strings::normalizeNewLines(), Validators::isType(),
Nette 2.1