Skip to content

Releases: TarekRaafat/autoComplete.js

v9.1.0

30 Apr 17:36
Compare
Choose a tag to compare

v9.1.0 ✨

! Important Note:

Starting next major release:

  1. "noResults" API will accept "Boolean" instead of function to be replaced with "resultsList.container"
  2. "fetch" eventEmitter will be renamed to "response"
  • ➕ Added: New data parameter to resultsList.container method that contains (input, query, matches, results) values
  • 🔝 Updated: resultsList.container.className default value to be undefined
  • 🔝 Updated: Code with some refactoring & cleanup
  • 🔝 Updated: Development dependencies
  • 🔧 Fixed: resultsList error on Enter key press with no selection
  • 🔧 Fixed: Input field aria-activedescendant was not removed on each resultsList regeneration
  • 🔧 Fixed: noResults error on Enter key press
  • 🔧 Fixed: Input field aria-expanded set to true even when noResults was not active
  • 🔧 Fixed: resultsList on close event did not fire when noResults was active
  • 🔧 Fixed: unInit method did not remove all inputField set event listeners except for input event
  • 🔧 Fixed: open eventEmitter unexpected behavior that used to fire on each trigger event

v9.0.5

26 Apr 13:11
Compare
Choose a tag to compare

v9.0.5 ✨

  • 🔧 Fixed: resultsList.container hierarchy comes after list rendering instead of before

v9.0.4

26 Apr 12:32
Compare
Choose a tag to compare

v9.0.4 ✨

  • 🔧 Fixed: resultsList.container is removed on second input (Thanks 👍 @folknor) #206

v9.0.3

16 Apr 22:38
Compare
Choose a tag to compare

v9.0.3 ✨

  • 🔧 Fixed: TAB button behavior
  • 🔧 Fixed: resultsList close behavior on inputField double click

v9.0.2

16 Apr 18:12
Compare
Choose a tag to compare

v9.0.2 ✨

  • 🔧 Fixed: Unexpected behavior onClick (Thanks 👍 @iNalgiev) #205

v9.0.1

16 Apr 08:30
Compare
Choose a tag to compare

v9.0.1 ✨

v9.0.0

10 Apr 18:31
Compare
Choose a tag to compare

v9.0.0 ✨

This version has breaking changes, kindly check the list
  • 🔧 Fixed: esc button not working with noResults in some cases (Thanks 👍 @sunshineplan) #157
  • ➕ Added: selection & highlight custom className API methods (Thanks 👍 @jerrykan) #184
  • ➕ Added: eventEmitter for resultsList fires on list close event (Thanks 👍 @yliharma) #188
  • ➕ Added: event parameter to trigger.event API method (Thanks 👍 @nornes) #189
  • 🌀 Changed: maxResults API moved under resultsList
  • 🌀 Changed: noResults API moved under resultsList
  • 🌀 Changed: highlight API moved under resultItem
  • 🌀 Changed: selection API moved under resultItem with the name of selected
  • 🌀 Changed: rendered eventEmitter name to open
  • 🌀 Changed: navigation eventEmitter name to navigate
  • 🌀 Changed: closeAllLists refactored and renamed to closeList
  • 🌀 Changed: generateList stage with some refactoring
  • 🌀 Changed: start stage with some refactoring
  • 🌀 Changed: noResults API method with some refactoring details
  • 🌀 Changed: highlight API from String to Object details
  • ❗ Removed: sort API due to its redundancy data.results could be used instead
  • ❗ Removed: connect eventEmitter from the preInit stage
  • 🔝 Updated: Replaced Uglify with Terser
  • 🔝 Updated: Development dependencies
  • 🔝 Updated: Code comments
  • 🔝 Updated: Documentation

v8.3.2

15 Feb 10:33
Compare
Choose a tag to compare

v8.3.2 ✨

  • 🔧 Fix: selector as a function breaks when observer is true (Thanks 👍 @brunobg) #179

v8.3.1

09 Feb 10:58
Compare
Choose a tag to compare

v8.3.1 ✨

  • 🔧 Fix: Keyboard navigation selection reset (Thanks 👍 @marsimeau) #177

v8.3.0

30 Jan 09:37
Compare
Choose a tag to compare

v8.3.0 ✨

  • ➕ Added: event object to the onSelection data feedback (Thanks 👍 @Liano) #176