Skip to content

Releases: palcarazm/bootstrap5-toggle

v5.1.1

17 May 19:30
c72ab08
Compare
Choose a tag to compare

ℹ️ What's Changed

🆕 Added

N/A

🔁 Changed

N/A

✅ Fixed

🆙 Bump

Full Changelog: v5.1.0...v5.1.1

v5.1.0

22 Apr 06:26
1303275
Compare
Choose a tag to compare

ℹ️ What's Changed

🆕 Added

🔁 Changed

N/A

✅ Fixed

🆙 Bump

Full Changelog: v5.0.6...v5.1.0

v5.0.6

07 Apr 17:36
9baee11
Compare
Choose a tag to compare

ℹ️ What's Changed

✅ Fixed

🆙 Bump

Full Changelog: v5.0.4...v5.0.6

v5.0.4

10 Jan 07:58
7191686
Compare
Choose a tag to compare

What's Changed

See v5.0.0-alpha Release notes. No more functional features or changes has been provided.

Full Changelog: v4.3.6...v5.0.4

v5.0.0-alpha

01 Jan 11:07
86f1adf
Compare
Choose a tag to compare
v5.0.0-alpha Pre-release
Pre-release

⚠️ Important information

This pre-release includes 3 breaking change done to improve web accessibility.
Please consider giving us feedback in the release discussion page to improve the v5.0.0 version.

1️⃣ ECMAS as main interface

You can continue using jQuery interface but the file to import had been renamed adding the jquery suffix.
This change has been made because bootstrap have dropped jQuery dependency, so using jQuery as main interface include a new dependency that bootstrap don't have.

2️⃣ Rename option and data attribute for labels

You can continue using on and offoptions and data-attributes, but a deprecated warning will be logged in console. Please consider using onlabel and offlabel instead because support for deprecated options and data attributes can be removed in future versions.
In previous version, we have been adding options and data attributes to set custom property to each part of the toggle. This two legacy options and data attributes can be confusing now, so we have aligned their names with the more recent options and data attributes.

3️⃣ Change toggle on and off elements to span

Your customs styles can be affected if you were selecting toggle on and toggle off elements by the label. Please consider using .toggle > .toggle-group > .btn:not(.toggle-handle) instead.
The Web Content Accessibility Guidelines (WCAG) establish that an element can have only one label. With the previous approach, the toggle element had at leats two labels (even three or more if the original checkbox had one or many).

ℹ️ What's Changed

🆕 Added

🔁 Changed

  • feat!: Set ecmas interface as main interface by @palcarazm in #95
  • feat!: Change on and off option to onlabel and offlabel Closes #99 by @palcarazm in #100
  • feat!: Change toggleOn and toggleOff elements from label to span Closes #96 by @palcarazm in #101

🆙 Bump

Full Changelog: v4.3.6...v5.0.0-alpha

v4.3.6

19 Dec 09:08
2bef3b0
Compare
Choose a tag to compare

ℹ️ What's Changed

✅ Fixed

🆙 Bump

Full Changelog: v4.3.5...v4.3.6

v3.7.4

19 Dec 08:47
544f0aa
Compare
Choose a tag to compare

⚠️ Important information

  • The 01 Jan 2023, will ended the critical support of Bootstrap 4, so we have updated our security policy impacting the EOL of our version 3. Please prepare migration form Bootstrap 4 to Bootstrap 5, you can ask for help in discussions.

ℹ️ What's Changed

✅ Fixed

🆙 Bump

Full Changelog: v3.7.3...v3.7.4

v4.3.5

23 Nov 07:58
713fc53
Compare
Choose a tag to compare

⚠️ Important information

  • We have successfully performed the compatibility test with Bootstrap 5.2.3. No regression was detected.

ℹ️ What's Changed

🆙 Bump

  • bump: Bump Bootstrap from 5.2.2 to 5.2.3
  • bump: Bump Cypress from 10.3.0 to 11.0.1

Full Changelog: v4.3.4...v4.3.5

v4.3.4

09 Oct 13:37
cc12d9e
Compare
Choose a tag to compare

ℹ️ What's Changed

✅ Fixed

  • fix: Handle's background color of outline toggles on hover or focus (#71) @palcarazm in #72

Full Changelog: v4.3.3...v4.3.4

v3.7.3

09 Oct 13:30
7796b7b
Compare
Choose a tag to compare

ℹ️ What's Changed

✅ Fixed

  • fix: Handle's background color of outline toggles on hover or focus (#71) by @palcarazm in #73

Full Changelog: v3.7.2...v3.7.3