Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@joefitzgerald joefitzgerald released this 28 Jan 16:33
· 1155 commits to master since this release

This release represents the culmination of a complete rewrite of autocomplete+.

New

  • 🆕 v1.0.0 Provider API
    based on service-hub
  • 🆕 Document acceptable properties in an anonymous object for a suggestion
  • 🆕 Allow Providers to be asynchronous in providing suggestions back to AutocompleteManager
  • 🆕 Add logic to determine which provider(s) to invoke based on the scope for the current cursor's position
  • 🆕 Add logic to determine the correct order of suggestions from providers based on the specificity of the scope provided during provider registration
  • 🆕 Filter suggestions to remove duplicates (#84)
  • 🆕 Introduce a blacklist based on selector(s)
  • 🆕 Allow providers to blacklist themselves for selector(s)
  • 🆕 Allow providers to suppress the built-in provider (FuzzyProvider) for selector(s)

Improved

  • Deprecate legacy Provider API
  • Evolve the options object passed to Providers to allow providers to be completely decoupled from the editor (so they can be singleton also)
  • Rename select-list-element to suggestion-list-element
  • Add suggestion-list
  • Modify main.coffee to manage a single AutocompleteManager instance
  • Track provider registrations using scoped-property-store
  • Modify legacy provider registration functions to discard editor binding during provider registration
  • Determine scope(s) for editor provided during legacy provider registration
  • Manage a single instance of suggestion-list-element across editors
  • Ensure decoration and view migrate across editors without problems
  • Make modest FuzzyProvider enhancements
  • Deprecate Provider and Suggestion classes

Fixed