All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning. All minor versions less than 1.0.0 are breaking changes.
1.0.4 - 2021-11-29
- Fix: Allow elements created in one
window
context to be observed when mounted to the DOM of anotherwindow
context (#100)
1.0.3 - 2021-11-15
- Fix: Allow elements to be observed across
window
contexts (#99)
1.0.2 - 2021-05-24
- Fix: Enable reuse of ResizeObserver (#96)
- Fix allowing double tracking of the first element (#94; thgreasi)
1.0.1 - 2021-05-24
- Fix memory & cpu leak after
disconnect()
(#93; thgreasi)
- Update various dev dependencies (#25, #27, #29, #31; dependabot)
1.0.0 - 2018-11-28
- Added
unpkg
field inpackage.json
. You can now loaddist/resize-observer.min.js
via<script src="https://unpkg.com/resize-observer"></script>
. (#14; renaatdemuynck)
- Include
src/
files in the npm package (#12) resize-observer
is now a ponyfill- Rewritten in TypeScript
- Type declaration files are now generated
- Migrate from Travis to CircleCI for PR tests (#13)
- Removed defective coverage badge (f65192b)
1.0.0-alpha.1 - 2018-08-21
- Include
src/
files in the npm package (#12)
1.0.0-alpha.0 - 2018-08-13
resize-observer
is now a ponyfill- Rewritten in TypeScript
- Type declaration files are now generated
0.1.1 - 2018-08-10
- Added typings to
package.json
0.1.0 - 2018-03-25
new ResizeObserver
,ResizeObserver.prototype.observe
, and ,ResizeObserver.prototype.unobserve
should throw aTypeError
when called with no arguments or the wrong argument type.
0.0.4 - 2016-10-26
- Use
setTimeout
instead ofsetInterval
for fallback whenrequestAnimationFrame
doesn't exist
0.0.3 - 2016-06-10
- Updated CHANGELOG with links to diffs
- Removed erroneous
[
from Typescript definition file - Improved Typescript definition file to more closely describe the interface
0.0.2 - 2016-06-08
- tests using mocha, chai, mock-browser, mock-raf
- get basic tests running
- several critical typos and bugs that kept anything from working
- CHANGELOG is now CHANGELOG.md for proper viewing in Github
- base untested resize-observer
- resize-observer typescript definition file
- readme
- license
- npm package