Releases: klee-contrib/focus-core
Releases · klee-contrib/focus-core
Focus v0.8.0
The roadmap is here https://trello.com/b/HTMYEYbX/roadmap
Please read the associated project's releases:
new features
- Shared eslint-conf see #160
- Add a FocusException #161
- update npm scripts #162
- Fix unit tests #164
- Improve the store caller in status informations #165 , add a callerId in the action builder #166
bug fixes
Focus v0.7.0
focus v0.6.3
focus v0.6.2
Changes
- Global Save #111
- Add actions in application's store #116
- Add custom router #118 in
Focus.router
- Add a loading bar #119
- Search store, the results are supposed to be only maps no more direct list #122
- Application's store has the current route (global route) and propagate associated event #125
- Add a application's helper to change the current route in the application store (in an easy way) #126
- Add a clear cartridge method in application #131
- Improve domain's validation, validator is an array of configuration's object and not a function any longer. #132 , also add built in validator
- Add action's left in the store #134
- Add formatters #135
Dependencies has been as node modules and no loger in the vendor's file see : https://github.com/KleeGroup/focus-demo/blob/master/ui/package.json and https://github.com/KleeGroup/focus-demo/blob/master/ui/scripts/install.js
focus v0.6.0
Breaking changes
- Focus moves from Backbone.js to React for the view+template layer.
Namespace
Focus is still published under the namespace Focus
in the window variable in the browser
Structure and documentation
As changes are multiple and most of the code has been rewritten, all the details are in the README files of each subdirectory.
- index.js is the entry point
- application
- component
- definition
- exception
- helper
- network
- router
- reference
- store
- util
- message
- user
published
The module is published on npm under the name focusjs
version 0.4.0
Compatibility
- .NET => Upgrade Error Filter see wiki error format
- Vertigo : v0.7.3
Helper
- #65 add a data-bind option and helper in order to be able to transform the input data parsed from the form before the validation. You need to add an initializer
binder_initializer
and follow thbe documentation - #84 erros: the object's structure has changed, it is detailed here
Bugs
- #66 Add delete event by default on composite
- #67 Clean list options
- #68 Start to improve
JSDOC
- #69 Correct naming on views function
toggle
- #70 Refactoring of the error focus in the form
- #71 When a decorator is used, the
""
is replaced bynull
- #76 Add
CORS
option in the config, the initializer of focus shoul take this into account:{CORS: false}
if you don't needCORS
- #80 Fix notification template overriding bug.
- #82 Fix validation bug concerning numbers
- #81 Fix checkbox error
Views
- #74 add fieds error management on composite view. delete error property on server error object. fieldsError property is now on the root of the object.
Wiki
Focus v0.3.0
Kernel
- Rewrite all module dependencies of focus, using commonjs only. #22
- Build the sources with browserify #22
- Change the file from fmk.js to focus.js and fmk.css to focus.css, #
- Change the namespace from Fmk to Focus, for compatibility issues, you can add
window.Fmk = window.Focus
in the first application script. #48 - In the application initialization call the following script:
Focus.registerTemplateHelpers(Handlebars)
Core and Helper
HTTP and Service layer
- Add a custom
fetch
andcors
module in Core - Add pagination, on the promisify helper there is a search method on collection which performs (by default) a POST request on the #52
- Parse the HTTP headers to get the response parameters read #53
View
- Bug fix on clear criteria in search view (the instance was recreated ) #64
- Add a session object in all views in order to be able to have a session associated to the url.
Bug
Documentation
- The framework documentation is available at this address
- Add a link in the
Focus.DOCUMENTATION
property
Focus update v0.2.0
v0.2.0 Release note
Router
- #25 Correct the display of the noRights on the route.
- #7 Add an option to change the route called if the user does not have the required role
-
Add an option in the router to change the route with no role.
Views
- #24 Reference list display on the criteria
- #20 Throw user friendly error when the template is not defined
- #17 Add user friendly error when the incoming data is not conform on the list
- #12 In the detail, when the server send an empty object as response, a search event is triggered
Helpers
- #16 Rethrow exception when the typeof is Error