Skip to content

Releases: VincentLoy/simplyCountdown.js

v3.0.0

29 Dec 15:02
Compare
Choose a tag to compare

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

05 Dec 23:40
Compare
Choose a tag to compare

Full Changelog: v2.0.0...v2.0.1

v2.0.0

05 Dec 22:39
Compare
Choose a tag to compare

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

03 Dec 12:17
Compare
Choose a tag to compare

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

25 Nov 13:17
Compare
Choose a tag to compare

Add more languages support for plural words

v1.4.0

27 Nov 23:02
Compare
Choose a tag to compare

Remove Bower, use basic es6 for Dev code, migrate from LESS to SASS for new templates

v1.3.1

06 Sep 09:34
Compare
Choose a tag to compare
  • clean some code
  • add refresh parameter

v1.3.0

05 Sep 21:52
Compare
Choose a tag to compare
  • improve some stuff
  • add onEnd callback to parameters

note : version in JS file are wrong, my bad...

v1.2.0 - Add UTC support

29 Aug 02:29
Compare
Choose a tag to compare

Add UTC support with enableUtc new parameter.
resolve #4

v1.1.1

05 Jul 12:20
Compare
Choose a tag to compare

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);