3.8.0 (2018-04-23)
- feat(animation.rendering): waitForFrames, throttle (ea7e144)
3.7.0 (2018-04-17)
- feat(math): rectangleIntersects (2444212)
3.6.0 (2018-04-16)
- feat(dom): isElementVisible (024ed9a)
3.5.0 (2018-03-04)
- feat(cm): ComponentManager.prototype.dispose (2d5cb5e)
3.4.1 (2018-02-26)
- remove(cm): deprecated annotations for addComponent and addComponentMap (3c1d5e6)
3.4.0 (2018-02-15)
- feat(math): mapRange (b435668)
- feat(collections): objectToMap, mapToObject (e9c3a42)
- feat(l10n): ResourceBundle (fed6d09)
- feat(l10n): ResourceManager (8b82ffd)
- feat(animation): RenderLoop (b26a769)
- feat(validation): validateAge, validateDate, validateFileSize, validateFileType, validateMaxStringLength, validateMinStringLength, validateMaxNumber, validateMinNumber, validateRegExp, validateValueRequired, validateEmail, validatePostcode (43928eb)
3.3.0 (2018-01-16)
- feat(net): httpRequest, httpGetText, httpGetJson (237a15b)
3.2.0 (2018-01-12)
- feature(functions): cacheAsyncValue (b924995)
3.1.0 (2017-09-14)
-
feature(cm): metadata getter for component metadata
Component metadata like
type
andselector
can now be defined inside a static getter on the component. This feature needs to be used in combination with theaddClass
andaddClasses
methods on theComponentManager
.Example:
// inside 'ButtonComponent' static get metadata () { return { type: 'default-button', selector: 'button.default-button' }; } // adding the component cm.addclass(ButtonComponent);
3.0.0 (2017-08-27)
-
feature(general): use goog.module for the whole codebase
The whole library now uses
goog.module
instead ofgoog.provide
. This makes the code more concise, easier to understand, and resembles ES2015 modules more closely. Most oldgoog.require
namespaces have identicalgoog.module
ids. Only the component manager code has been refactored intoclulib.cm
. See the closure wiki for more infos on how to usegoog.module
.goog.module
code can still be used inside legacygoog.provide
code. -
feature(general): use ES2015 classes for the whole codebase
All classes are now real ES2015 classes. The closure-compiler understands these, and can mix them with legacy
goog.inherits
classes. Please note that the classes do not yet use getters/setters, as the closure-compiler currently doesn't understand@template
types on getters/setters.
2.0.0 (2017-07-30)
-
update(project): rename lib into src (7c7e14a)
All source files now reside under
./src
. Update your build script accordingly. -
remove:
clulib.async.forEach
andclulib.async.forEachRight
(94d45f3)Use
clulib.array.asyncForEach
andclulib.array.asyncForEachRight
instead. -
remove:
clulib.sdks.loadFacebookSdk
andclulib.sdks.loadGooglePlusSdk
(3d21e3f)There is no replacement for these functions.
-
update:
clulib.cm.ComponentManager
to useMap
instead ot the deprecatedgoog.structs.Map
(84c75b7)clulib.cm.ComponentManager.prototype.getRegistry
now returns aMap
clulib.cm.ComponentManager.prototype.addComponentMap
now accepts only an object of type!Object<string, function(new:clulib.cm.Component)>
- fix(cm): node_tree superfluous require (75af17a)
1.3.1 (2017-07-25)
- fix(cm): node_tree superfluous require (75af17a)
1.3.0 (2017-07-14)
- fix: use strict equality check for all checks not comparing null (0ba012a)
- fix(async):
forEachRight
to not change the original array (fc56665)
- deprecate:
clulib.async.forEach
andclulib.async.forEachRight
in favor ofclulib.array.asyncForEach
andclulib.array.asyncForEachRight
(8fc8ecc) - deprecate:
clulib.sdks.loadFacebookSdk
andclulib.sdks.loadGooglePlusSdk
(d12c232)
1.2.0 (2017-02-26)
- feat(array): add
clulib.array.removeHoles
(61a698a) - feat(async):
clulib.async.forEach
+clulib.async.forEachRight
(a9fc7df) - feat(dom):
clulib.dom.matches
+clulib.dom.closest
(f674dba)
- fix(ui): ToggleButton setChecked not being callable if disabled (1fd15cf)
- docs(cm): clarify forbidden method calls on Component (a617175)
1.1.2 (2017-02-10)
- fix(cm): call addChild before decorate to prevent
goog.ui.Component
's repositioning (97d49e9)
1.1.1 (2017-02-09)
- fix(cm): make private apis package private (9232679)
- fix
Element.prototype.closest
fallback callinghasAttribute
on non Elements (0f04bca)
1.1.0 (2017-02-02)
- feature: add queryComponent/queryComponentAll on ComponentManager (debdcca)
1.0.2 (2017-01-25)
1.0.1 (2017-01-22)
- use es2015 default params (128e9a9)
- initial release