-
-
Notifications
You must be signed in to change notification settings - Fork 1
Changelog
Niket Pathak edited this page Apr 1, 2021
·
34 revisions
v4.1.0 (April 1st 2021)
- test: fix unit, e2e tests post timer update
- chore: refactor reusable functions into helpers
- feat: update preload time to 1s
- feat: set minimum rotator time to 2s
- docs: update config options to tabular format
- chore: make deploy script verbose
- chore: fix publish recipe
v4.0.0 (Mar 26th 2021)
- chore: move repo to digitalFortress, major version bump
- chore: Add deploy script
- feat: export stickyEl fn as a standalone one
- feat: refactor to named functions, update doc, deps
- chore: setup Cypress for Travis CI
- test: disable video generation in Cypress
- test: add e2e test for sticky advert
- test: add cypress test to verify rotation and hover
- test: setup Cypress e2e tests
- test: verify custom config props are set correctly
- chore: setup jest tests
- chore: refactor everything into typescript
v3.9.0 (Mar 23rd 2021)
- docs: minor version bump, update readme
- feat: Add
prettier, update dependencies, usewebpack 5
v3.8.0 (Sept 21st 2020)
- Add preloading of Images to allow smoother transitions
- Update eslint config to support promises/async-await
- Update npm dev dependencies, support async await
v3.7.0 (Sept 18th 2020)
- Add analytics to bootstrap demo
- Update
Readme.mdto include info about new bootstrap demo - dynamically load dev/cdn version of the library (bootstrap demo)
- Add
Readme.mdfor bootstrap demo - Update bootstrap demo, menu, readme
- Remove unrequired checks, optimize sticky removal
v3.6.0 (Sept 13th 2020)
- Fix cleaning up of scroll refs
v3.5.0 (Sept 1st 2020)
- Add mobile, sidebar code snippets to bootstrap demo
- Optimize sticky event handler
- Add,config live examples, syntax-highlighter, 2 steps for bootstrap demo
- add scaffold for live examples page
- Update bootstrap demo homepage
- update sidebar demo
- Ad noMobile param to stickyAds
- make
stickyElfn standalone
v3.4.0 (Aug 31st 2020)
- Add
onClickevent handler for each Ad unit - Add possibility to provide a
onHovercallback - Use
mouseenter/mouseleaveen lieu ofmouseover/mouseout - Refactor
stickyPubtostickEl, add validation
v3.3.0 (Aug 29th 2020)
- add and configure sidebar adverts for bootstrap demo
- bugfix: fix calculation of distance to top for sticky ads
- Add class stickyElx to stickyAds to allow fine-tuning
- add mobile adverts for bootstrap demo
- add transition effect for sticky ad
- Use clientWidth of root Element for mobile targets
v3.2.0 (Aug 27th 2020)
- Fix code examples in readme
- Add new bootstrap demo scaffold
v3.1.0 (Aug 25th 2020)
- Added the possibility to provide a custom callback
cbconfig parameter that should be executed at each rotation - deprecate and remove force-pause config param
- update README.md
v3.0.0 (Aug 24th 2020)
- Use
IntersectionObserverAPIto rotate ads only when in view - Add
targetconfig option to truly allow distinction between desktop/mobile ads - Add support for mobile shape (sizing,definitions)
- Reset
offsetTopfor sticky adverts
v2.8.4 (Aug 20th 2020)
- Add fallback for sticky advertisement
- Add help recipe
- Fix Offset Top for sticky adverts
- Update dependent packages
- Fix vulnerabilities from dependencies
- Update Keywords
- Fix Demo
v2.8.2 (March 10th 2020)
- Fix browser Inclusion Path
- Add debug flag and silent fail for initilization error
- Update readme with licence bagde, downloads badge, maintained badge
- Update default timer to 5s
v2.7.1 (Feb 14th 2020)
- Add recipe to publish only production ready code to npm
v2.7.0 (Feb 13th 2020)
- Fix umd builds
- update webpack config
- update make recipe
v2.5.0 (Feb 13th 2020)
- Fix memory leak by removing references to non-existent DOM nodes
- Clear scroll event efficiently by keeping a reference in the event Manager
v2.4.0 (Feb 12th 2020)
- Fix sticky advert
- Move
stickyPubinto event Manager - Fix unintended destruction of event
v2.3.1 (Feb 12th 2020)
- Add event manager
- Fix duplicate event creation
- Cleanup events correctly on destroy
- Update readme
v2.2.1 (Feb 11th 2020)
- Pause Rotation on hover
- Add
resume()method to api
v2.1.0 (Feb 7th 2020)
- Add
remove()method to api - deprecate static config option
- Add
newTabconfig option to allow opening advertisements in a new tab - Add possibility to update configuration options post instantiation.
v2.0.0 (Feb 6th 2020)
- major refactor of api
- enable injecting new advertisements
- added api methods
destroy(),add() - rewrite sequential rotation logic
- clean up and remove global variables
- deprecate debug flag
- update
start()api to be the only entry point for rotation - update error generation mechanism
- permit multiple isolated instances of adRotator on the same page
v1.1.0 (Feb 5th 2020)
- add methods to pause, restart rotation
- add method to destroy, start rotation
- force static flag if only 1 advertisement provided
- Allow injecting new Ad item
v1.0.5 (Feb 4th 2020)
- Fix Travis CI
- Update Readme.md
v1.0.0 (Feb 3rd 2020)
- Initial release
- Rotates advertisements
- Supports dynamic/custom adverts
Copyright © Adrotator.js 2020