All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add tests for html parser.
- Fix parsing issue in Safari 9.
- Fix typo in readme.
- Update dev dependencies.
- Update dev dependencies.
- Fix issue with dismount event not dispatching on keyed nodes.
- Cleanup code for mount an dismount events.
- Add isEqualNode checking (boosts perf up to 1.8x).
- Optimize old (keyed) node removals.
- Fix issue with keyed nodes sometimes being moved to the wrong spot.
- Keyed nodes will no longer be moved when they are already in the proper position.
- Fix issue in ie9 with parsing automatically inserted html like
<tbody>
.
- Add support for diffing against a DocumentFragment (diffs childNodes).
- Improve html string parsing performance in older browsers.
- Remove trying to parse html string as XML (caused issues with special elements like tables).
- Fixed license date and name.
- Add lcov report when testing locally.
- Optimize one line.
- Refactored to use better variable names.
- Fixed regression in diffing algorithm with empty text nodes causing some nodes to be skipped.
- Switched to new diffing algorithm which is up to 50% faster and less memory intensive in some browsers.
- Fixed typo in README.
- Added more tests for data-checksum.
- Made DOMParser optional (IE < 8).
- Added
data-checksum
property. This aids in performance by allowing the user to provide a checksum which will be checked before diffing nodes. Allows users to skip the diffing algorithm by comparing state via checksum.
- Updated devDependencies.
- Now uses DOMParser (and shim for older browsers) for faster html string parsing.
- Minor compression optimization.
- Change travis build to only be node 6 (Cross browser issues left to saucelabs).
- Fix issue when diffing namespaced attributes.
- Fix issue where
data-key=SOME_INTEGER
orid=SOME_INTEGER
could conflict with the algorithm.
- Fix issue with mounting while switching node types.
- Fix issue with initial mounting of nodes.
- Elements with
data-key
orid
attributes will now emit custommount
anddismount
events when added and removed from the DOM.
- Ignored elements will now be diffed when the next element is not ignored.
- Add minor diff optimization for replacing nodes.
- Switch tests to mocha.
- 100% test coverage.
- Added source map to dist.
- added build with travis
- added code coverage with coveralls
- switch to use makefile
- Updated dev devDependencies and add git tags.
- Added
data-ignore
attribute which will disable diffing for an element. - Added ability to override
data-key
anddata-ignore
attributes. - Added changelog.