Releases: VincentLoy/simplyCountdown.js
v3.0.0
Key Changes from v1.x/v2.x to v3.x 🚀
🔌 Removal of jQuery Support
jQuery is no longer supported in simplyCountdown to reduce dependencies and improve performance. This change ensures a more lightweight and modern library.
Note: You can still use simplyCountdown in your jQuery projects by using the vanilla JavaScript syntax instead of the jQuery-specific one:
- Old jQuery-compatible syntax:
$('.some-countdowns').simplyCountdown(options)
- New vanilla JavaScript syntax:
simplyCountdown('.some-countdowns', options)
⚡ Transition from Gulp to Vite
The build process has been migrated from Gulp to Vite. Vite offers faster builds, better development server capabilities, and improved support for modern JavaScript features.
📝 Migration from ES6 JavaScript to TypeScript
The source code has been rewritten in TypeScript to enhance code quality, provide better type checking, and improve developer experience.
📚 New Documentation Website
A new documentation website has been launched to provide comprehensive guides, examples, and API references. This site aims to make it easier for developers to integrate and use simplyCountdown.
📦 Updated Distribution Files
The distribution files have been reorganized to include multiple module formats (ES, UMD, CommonJS) and themes. This change ensures compatibility with various development environments and build tools.
🏃♂️ Transition from npm to Bun
The package manager has been switched from npm to Bun for faster installs and improved performance. Bun offers a more efficient and modern package management experience.
Full Changelog: v2.0.1...v3.0.0
v2.0.1
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
New Contributors
Full Changelog: v1.7.0...v2.0.0
This version may have breaking changes, if your website is working well with 1.7.0, you may want to stay on the previous version.
- fix plurals in a generic way #52
- Added the
inlineSeparator
parameter. Previously, the inline mode only supported a comma-separated countdown. Now, you can customize the separator, using options like |, /, -, or any character that suits your needs. - Fix potential UTC-related issues (fingers crossed!).
1.7.0
v1.7.0
- Add Javascript HTML elements support
now, you can init countdowns by doint simplyCountdown(myElt, { options });
String selectors are still supported
v1.6.1
Add more languages support for plural words
v1.4.0
Remove Bower, use basic es6 for Dev code, migrate from LESS to SASS for new templates
v1.3.1
- clean some code
- add refresh parameter
v1.3.0
- improve some stuff
- add onEnd callback to parameters
note : version in JS file are wrong, my bad...
v1.2.0 - Add UTC support
Add UTC support with enableUtc
new parameter.
resolve #4
v1.1.1
Is now possible to use HTML/CSS classes instead of ID's to call simplyCountdown.
For example is now allowed to do this :
simplyCountdown('.example-class', options);
simplyCountdown('#example-id', options);