This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
Releases: cee-chen/object-fit-polyfill
Releases · cee-chen/object-fit-polyfill
v.2.3.5
v2.3.4
v2.3.3
v2.3.2
- (2.3.1) Upload non-minified source code to npm for other projects that require src for security/open source reasons
- Remove TODO around Edge partial support (should not affect any Edge 79+ that runs on Chromium, as 79+ has a different user agent)
- Update README and add a LICENSE file thanks to helpful issues and and PRs from folks - thanks, you all rock!
2.3.0
2.2.1
v2.2.0
New Features
- Added support for
object-fit: fill
(viadata-object-fit="fill"
) - Added support for the
<canvas>
tag (and actually any element/tag - the polyfill will attempt to position valid nodes, such as<div>
s. Object-fit your heart out!)
Docs
- The demo page has been moved to https://constancecchen.github.io/object-fit-polyfill/demo/
- Photos and videos are now self-hosted on GitHub/in this repo to avoid issues with dead links
- In a fit of extreme narcissism, I've also replaced the previous random stock photos with some that I took myself. Enjoy!
- The cute puppy video should now be playing again!
- An example of
canvas
support has been added to the demo page - Headings have been added to the demo page to make examples (hopefully) clearer
Tech debt
- Both npm and bower packaging should now be improved so that only the dist folder is installed
- Prettier linting should now be in full effect across the codebase
- Updated dev dependencies to latest / without security vulnerabilities
- Misc code readability cleanup