Releases: Rhinostone/gina
Releases · Rhinostone/gina
v0.0.9p91
[Added] Added `Utils/Routing::getRouteByUrl(url [, bundle])` [Added] Added `Collection::replace()` to replace a record with a given filter [Added] Added `Controller::requireController()` to allow another controller (public methods) to be called from the current controller [Added] Added support for `locales`: [Controller, Setup, Middleware]::getLocales() [Updated] Fixed `Collection::or()` find must be done based on global result, not on previous result [Updated] Fixed `Collection::orderBy()` must not affect global result [Updated] Fixed Validator custom rule from `data-gina-validator-rule` [Updated] Fixed Validator radio/checkbox `checked` value -> `true` on submit [Updated] Fixed `Validator::validate()` rules return [Updated] Fixed `Validator::validate()` force `false` value to be written in data when .rule `isBoolean` && `isRequired` [Updated] Fixed Validator checkbox ticking behaviour [Updated] Fixed Validator rule `.toFloat()` [Updated] Improved `Controller::render()` by extending Swig.length default filter [Updated] Improved Collection init; will ignore `no entries` [Updated] Improved Model error message while calling .getEntity(relation) [Updated] Improved `Collection::update()` [Updated] Improved `Collection::find()` when looking for `null` value [Updated] Improved Validator by adding a tag `isSubmitType` test [Updated] Improved HTML data attributes: names have been harmonised [Updated] Improved Validator `select` tag behaviour : if `data-value` is filled, the selected option will be set to the value
v0.0.9p90
[Added] Added `config/views.json` exclude properties - e.g.: `"javascriptsExclude" : [ "*" ]` or `"javascriptsExclude" : "all"` [Added] Added `lib/routing` as a toolbox to handle routes/rules [Added] Added Controller::query() CORS capability allowing to forward cookie from a bundle to another or from a domain to another through the `withCredentials` request options [Added] Added Validator::resetFields() to rollback to the form default fields [Updated] Fixed Popin close event [Updated] Fixed Popin toolbar xhr update [Updated] Fixed Validator `checkForRulesImports(rules)` [Updated] Fixed Validator binding by hand [Updated] Fixed xhr response content length in Controller::renderJSON(): `XMLRequest` case [Updated] Fixed hostname protocol vs current request.host [Updated] Improved Context::getLib() : can be called from a child worker [Updated] Improved Routing by allowing `param.path` to be customized [Updated] Improved Controller::renderWithoutLayout(data [, displayToolbar] ) [Updated] Improved Validator::handleErrrorsDisplay($form, errors) [Updated] Improved Validator `is()` rule to allow fields to be evaluated and compared [Updated] Improved Merge by allowing basic collection merge : comparing on `id` properties if available [Updated] Improved Collection::delete() & added Collection::insert()
v0.0.9p89
[Added] Added Validator $form.on(“submit”) `result.isValid()` [Added] Added PopinHandler::validateFormById() when `validator` instance is passed through options [Updated] Fixed Utils::Merge NodeJS v7 support [Updated] Fixed `Collection::notIn()` latency [Updated] Fixed `Collection::orderBy()` not handling boolean comparisons [Updated] Improved Model by adding `database` name in the connection `infos` [Updated] Improved Toolbar environment informations [Updated] Improved Validator::destroy() by adding an `on.(“destroy”, cb)`event [Updated] Improved Validator checkbox value binding by allowing name attributes like `name=“cat[item][]”` [Updated] Improved `getLib()` by adding LibClass::getConfig() prototype to retrieve bundle config
v0.0.9p88
[Added] Added `--argv-filename=` to retrieve command line arguments from file [Updated] Fixed Merge/mergeArray `newTarget` [Updated] Removed `gina.forms.errors` [Updated] Improved toolbar : data is being updated on `popin load` & `xhr` ready state
v0.0.9p87
[Added] Added PopinHandler `close/cancel` binding through `gina-porin-close` class name [Added] Added form errors to toolbar & gina context [Updated] Fixed Collection toLowerCase error when filter value type is `undefined` [Updated] Improved PopinHandler by allowing `gina-porin-close` class to close the popin for ``, `` & `` tags
v0.0.9p86
[Updated] Fixed `/index.html` uri [Updated] Fixed Validator : manual validation [Updated] Fixed Validator rules imports
v0.0.9p85
[Added] Added Gina fronted plugin : Toolbar, Form Validator, Local Storage [Added] Added handlers `gina.ready(…)` wrapper [Updated] Fixed Request::parseLocalObj() [Updated] Fixed FormValidator when form is binded through tag [Updated] Fixed FormValidator rule name with dashes [Updated] Fixed `HTML` static pages rendering [Updated] Fixed first time launch debug message && added GFF scheduler to handle events & gina.ready(...) [Updated] Improved `utils/collection` refactored to be published as a GFF util [Updated] Moved `helpers` location [Updated] Improved `routing:rule` identification: same rule for different bundles permitted [Updated] Improved FormValidator rules by allowing RegExp for cases values [Updated] Fixed `uri` for statics
v0.0.9p84
[Added] Added Controller::renderWithoutLayout [Added] Added Collection::orderBy() & Colletion::limit() [Added] Added Collection::update(finder, set) [Added] Added FormValidator rules loader [Updated] Fixed project init cmd [Updated] Fixed Swig::getUrl() with multiple params [Updated] Fixed favicon error on first init [Updated] Fixed last routing refactoring by adding bundle filter while comparing urls [Updated] Improved routing: now accepts 2 (or more) rules binding the same `url` but with differents `method` [Updated] Improved Utils::Merge() [Updated] Changed Utils::Helpers::Path->setPath() behaviour [Updated] Improved Controller::query() by filtering result.status : if !/^2/, return an error [Updated] Improved cache control for statics: if `dev` environment is used, gina will prevent chrome for serving form cache [Updated] Improved Swig::getUrl() debug message [Updated] Improved swig error compilation message [Updated] Improved error rendering by detecting if `page.data.status` && `page.data.error` are filled
v0.0.9p82
[Updated] Fixed Controller::renderJSON() with null value
[Updated] Fixed Controller::throwError() with a single (Error) argument
[Updated] Improved Controller::query() result parsing
[Updated] Fixed ModelHelper::Collection()->findOne()
[Updated] Improved Server message on ‘Method Not Allowed’ error
[Updated] Improved request.put & request.post object parsing to support fieldName[key]="value"
[Updated] Improved Server Request::put() & Request::post() JSON parsing
[Updated] Improved ModelUtils::Collection by adding {filter: "not null"}'
[Updated] Improved Controller::render() error catching
[Updated] Improved routing and Swig::getUrl() filter: now allowing bundle as base url (2nd parameter)
v0.0.9p81
[Updated] Fixed Utils::merge() with override option [Updated] Fixed Controller::renderJSON() `Content-Type` is undefined [Updated] Improved ModelEntity::getEntity() [Updated] Improved ModelEntity::setListeners()