Skip to content

Releases: davidjerleke/embla-carousel

v2.0.0 - More consistent API naming, link slides

24 Jun 21:41
Compare
Choose a tag to compare

🌟 New features

Improved drag accuracy:

  • Pointer actions have been redesigned to have a higher accuracy and feel more natural.

Improved link handling:

  • Links can now be used as slides.
  • Links can now be used inside slides.
  • Embla can differentiate between a click and drag interaction.

API methods added:

  • scrollSnapList()

⚠️ Breaking changes

API method name changes:

  • next() --> scrollNext()
  • previous() --> scrollPrev()
  • goTo() --> scrollTo()
  • selectedIndex --> selectedScrollSnap()
  • previousIndex --> previousScrollSnap()

API removed methods:

  • groupedIndexes()

v1.0.0 - Redesigned API

19 Jun 18:48
Compare
Choose a tag to compare

⚠️ Breaking changes

Options name changes:

  • groupSlides --> slidesToScroll

API method name changes:

  • hasPreviousIndex() --> canScrollPrevious()
  • hasNextIndex() --> canScrollNext()

API removed methods:

  • isLastIndex()
  • isFirstIndex()

v0.9.4 - Fallback for loop options if only 1 slide

19 Jun 14:54
Compare
Choose a tag to compare

🛠 Bugfixes

When loop: true and the carousel container only contains a single slide, it will fallback to loop: false. Discussed in issue #12.

v0.9.0 - New API index methods

16 Jun 13:53
Compare
Choose a tag to compare

🌟 New features

Added following methods to the API:

  • isFirstIndex()
  • isLastIndex()
  • hasPreviousIndex()
  • hasNextIndex()

v0.8.0 - Improved dragFree feature

13 Jun 17:10
Compare
Choose a tag to compare

👉 Changes

dragFree feature has been improved and changed to mimic -webkit-overflow-scrolling: touch; behavior.

v0.7.2 - Lowered drag threshold

06 Jun 20:50
Compare
Choose a tag to compare

👉 Changes

Drag threshold has been lowered. Less drag force is now required for a slide change to occur.

v0.7.0 - Added API methods and renamed some

29 May 17:27
Compare
Choose a tag to compare

🌟 New features

  • previousIndex() has been added.
  • groupedIndexes() has been added.

⚠️ Breaking changes

  • getContainer() has changed to containerNode().
  • getSlides() has changed to slideNodes().

v0.6.0 - Added groupSlides feature

21 May 19:02
Compare
Choose a tag to compare

🌟 New features

Added the groupSlides feature.

v0.5.0 - Added internal resize & changeOptions method

15 May 17:44
Compare
Choose a tag to compare

🌟 New features

The changeOptions method has been added to the API.

👉 Changes

Added an internal resize listener to track slide size changes on window resize.

v0.4.0 - Added dragFree feature

13 May 20:15
Compare
Choose a tag to compare

🌟 New features

Added the dragFree feature.