Releases: metal/metal.js
Releases · metal/metal.js
v2.16.0
v2.16.0 (2018-01-12)
Implemented enhancements:
- Add support for Portals #330
Closed issues:
- Add .editorconfig #327
Merged pull requests:
- Updates CHANGELOG for v2.15.1 #336 (Robert-Frampton)
- No longer use global setImmediate function due to performance issues #335 (Robert-Frampton)
- Adding credit to saucelabs in README #334 (Robert-Frampton)
- Adds a range validator #333 (julien)
- Updating copyright year #332 (diegonvs)
- Skip portal rendering during SSR #331 (Robert-Frampton)
- Adds Fragment component #329 (bryceosterhaus)
- Adds .editorconfig to the project #328 (pragmaticivan)
v2.15.1
v2.15.1 (2017-12-04)
Closed issues:
- SSR breaks when
ref
is omitted from child component #323
Merged pull requests:
- release/v2.15.1 #325 (Robert-Frampton)
- Simplify isomorphic test fixtures #322 (Robert-Frampton)
v2.15.0
v2.15.0 (2017-12-01)
Implemented enhancements:
- domData set #295
- Improve error message on validators #279
- Provide events for all lifecycle methods on Component #300
- metal-dom prepend #296
Closed issues:
- Config.required() is mutating the object #310
- [metal-events] Document process to emit events #308
- Default state values are not set by using WebComponents #305
- Updating NestedComponents via refs is not working #301
- Gulp watch doesn't working #286
Merged pull requests:
- release/v2.15.0 #320 (Robert-Frampton)
- Allow falsy values for domData.get #319 (Robert-Frampton)
- Add links to metaljs.com from package readme files #316 (Robert-Frampton)
- Add tests for error messages returned by arrayOf and shapeOf #315 (Robert-Frampton)
- Fixes saucelabs testname #314 (jbalsas)
- Fixing test:coverage script #313 (diegonvs)
- Split large test up into smaller parts, remove redundant section #312 (Robert-Frampton)
- Method calls to Config helpers should return new objects to avoid unintended mutation #311 (Robert-Frampton)
- Default STATE values should be preserved when rendering web components. Fixes #305 #309 (Robert-Frampton)
- Run test:saucelabs script on CI #307 (Robert-Frampton)
- Emit "disposed" event on Component dispose #299 (p2kmgcl)
2.14.1
v2.14.1 (2017-11-15)
Merged pull requests:
- Allow for parent element to be used in server side environments if document is defined as it is when using JSDom #298 (Robert-Frampton)
- Adds lint-staged configuration #293 (jbalsas)
- Update slack channel #290 (bryceosterhaus)
2.14.0
v2.14.0 (2017-11-02)
Implemented enhancements:
- metal-web-component #261 (Robert-Frampton)
- Support for OOTB isomorphic rendering #267
- Improving Metal.js Lifecycle and Compatiblilty #255
Fixed bugs:
- Multiple levels of Class inheritance when extending State causes static hint configuration issues #287
- hasClassWithNative_ throws an error when trying to check for several classes #209
Closed issues:
- Change assert function for correct test cases #277
- Automate creation of CustomElements #268
- Default values being overwritten by an undefined value. [metal-jsx] #259
- Improve error message when using
oneOf
validation #254 - Multiple declarations of "goog.string" with webpack and Soy #251
- Repo Proposal: creating a metal-jsx-extras repository #239
Merged pull requests:
- Adds auto-generated initial CHANGELOG.md using https://github.com/skywinder/github-changelog-generator #289 (jbalsas)
- Ensure that STATE configuration from static hints are properly configured with multiple levels of class inheritance #288 (Robert-Frampton)
- Rename willRender to willUpdate since it's related to shouldUpdate and move implementation to renderer #285 (Robert-Frampton)
- Revert "Merge pull request #275 from Robert-Frampton/metal-soy-bundle" #280 (jbalsas)
- Updating tests on validators using assert.isTrue() to verify correct cases #278 (diegonvs)
- hasInitialValue_ should return false if value is undefined, but validators should run regardless. Fixes #259 #276 (Robert-Frampton)
- Check to see if bundle has been loaded already. Fixes #273 #275 (Robert-Frampton)
- Export HTMLParser rather than attaching to window #274 (Robert-Frampton)
- Improve error message when using
oneOf
validation. Fixes #254 #272 (Robert-Frampton) - Add forceUpdate method to Component #271 (Robert-Frampton)
- Add tests for server side rendering of Soy and JSX components #269 (Robert-Frampton)
- Don't attempt to create element in Node.js environment #266 (Robert-Frampton)
- importing metal-dom shouldn't immediately throw errors when running in Node.js environment #264 (Robert-Frampton)
- Update lerna to v2.2.0 #263 (Robert-Frampton)
- Adds
writeOnce
method to state Config utils #256 (Robert-Frampton) - Fix travis-ci url in readme #252 (renatorib)
- Issue/209 #231 (p2kmgcl)
2.9.0
Bug Fixes
- Fixes inline listener attributes not rendered properly
New features:
- Adds valueFn as a Config method
Code Improvements
- Easier bundling mechanism for
metal-soy-bundle
- Update the custom mouse events handler to use Metal contains() implementation
- Adds support for SoyToIncrDomSrcCompiler from google/closure-templates@7dae5a1
v2.8.0
Code Improvements
- Added metal-assertions module
v2.7.0
Code Improvements
- Changes option throwValidationError to a method shouldThrowValidation
v2.6.6
Code Improvements
- Adds options to throw error if state property is required
v2.6.5
Code Improvements
- New option to throw error if validator returns an Error instance