PackageTrack

npm

@codemirror/autocomplete

6.20.3codemirror/autocomplete

Autocompletion for the CodeMirror code editor

Release timeline

89 releases since 2020
20202026

One column per quarter.

Releases

  1. 0.19.1410 Mar 2022
    Release notes2 sources agree

    Bug fixes

    Make the ARIA attributes added to the editor during autocompletion spec-compliant.

    Open source →
  2. 0.19.1318 Feb 2022
    Release notes2 sources agree

    Bug fixes

    Fix an issue where the completion tooltip stayed open if it was explicitly opened and the user backspaced past its start.

    Stop snippet filling when a change happens across one of the snippet fields' boundaries.

    Open source →
  3. 0.19.1211 Jan 2022
    Release notes2 sources agree

    Bug fixes

    Fix completion navigation with PageUp/Down when the completion tooltip isn't part of the view DOM.

    Open source →
  4. 0.19.1111 Jan 2022
    Release notes2 sources agree

    Bug fixes

    Fix a bug that caused page up/down to only move the selection by two options in the completion tooltip.

    Open source →
  5. 0.19.105 Jan 2022
    Release notes2 sources agree

    Bug fixes

    Make sure the info tooltip is hidden when the selected option is scrolled out of view.

    Fix a bug in the completion ranking that would sometimes give options that match the input by word start chars higher scores than appropriate.

    Options are now sorted (ascending) by length when their match score is otherwise identical.

    Open source →
  6. 0.19.926 Nov 2021
    Release notes2 sources agree

    Bug fixes

    Fix an issue where info tooltips would be visible in an inappropriate position when there was no room to place them properly.

    Open source →
  7. 0.19.817 Nov 2021
    Release notes2 sources agree

    Bug fixes

    Give the completion tooltip a minimal width, and show ellipsis when completions overflow the tooltip width.

    New features

    autocompletion now accepts an aboveCursor option to make the completion tooltip show up above the cursor.

    Open source →
  8. 0.19.716 Nov 2021
    Release notes2 sources agree

    Bug fixes

    Make option deduplication less aggressive, so that options with different type or apply fields don't get merged.

    Open source →
  9. 0.19.612 Nov 2021
    Release notes2 sources agree

    Bug fixes

    Fix an issue where parsing a snippet with a field that was labeled only by a number crashed.

    Open source →
  10. 0.19.59 Nov 2021
    Release notes2 sources agree

    Bug fixes

    Make sure info tooltips don't stick out of the bottom of the page.

    New features

    The package exports a new function selectedCompletion, which can be used to find out which completion is currently selected.

    Transactions created by picking a completion now have an annotation (pickedCompletion) holding the original completion.

    Open source →
  11. 0.19.424 Oct 2021
    Release notes2 sources agree

    Bug fixes

    Don't rely on the platform's highlight colors for the active completion, since those are inconsistent and may not be appropriate for the theme.

    Fix incorrect match underline for some kinds of matched completions.

    Open source →
  12. 0.19.331 Aug 2021
    Release notes2 sources agree

    Bug fixes

    Improve the sorting of completions by using localeCompare.

    Fix reading of autocompletions in NVDA screen reader.

    New features

    The new icons option can be used to turn off icons in the completion list.

    The optionClass option can now be used to add CSS classes to the options in the completion list.

    It is now possible to inject additional content into rendered completion options with the addToOptions configuration option.

    Open source →
  13. 0.19.225 Aug 2021
    Release notes2 sources agree

    Bug fixes

    Fix an issue where completeAnyWord would return results when there was no query and explicit was false.

    Open source →
  14. 0.19.111 Aug 2021
    Release notes2 sources agree

    Bug fixes

    Fix incorrect versions for @lezer dependencies.

    Open source →
  15. 0.19.011 Aug 2021
    Release notes2 sources agree

    Breaking changes

    Update dependencies to 0.19.0

    Open source →
  16. 0.18.830 Jun 2021
    Release notes2 sources agree

    New features

    Add an ifIn helper function that constrains a completion source to only fire when in a given syntax node. Add support for unfiltered completions

    A completion result can now set a filter: false property to disable filtering and sorting of completions, when it already did so itself.

    Open source →
  17. 0.18.714 Jun 2021
    Release notes2 sources agree

    Bug fixes

    Don't treat continued completions when typing after an explicit completion as explicit.

    Open source →
  18. 0.18.63 Jun 2021
    Release notes2 sources agree

    Bug fixes

    Adding or reconfiguring completion sources will now cause them to be activated right away if a completion was active.

    New features

    You can now specify multiple types in Completion.type by separating them by spaces. Small doc comment tweak for Completion.type

    Open source →
  19. 0.18.523 Apr 2021
    Release notes2 sources agree

    Bug fixes

    Fix a regression where snippet field selection didn't work with @codemirror/state 0.18.6.

    Fix a bug where snippet fields with different position numbers were inappropriately merged.

    Open source →
  20. 0.18.420 Apr 2021
    Release notes2 sources agree

    Bug fixes

    Fix a crash in Safari when moving the selection during composition.

    Open source →
  21. 0.18.315 Mar 2021
    Release notes2 sources agree

    Bug fixes

    Adjust to updated @codemirror/tooltip interface.

    Open source →
  22. 0.18.214 Mar 2021
    Release notes2 sources agree

    Bug fixes

    Fix unintended ES2020 output (the package contains ES6 code again).

    Open source →
  23. 0.18.111 Mar 2021
    Release notes2 sources agree

    Bug fixes

    Stop active completion when all sources resolve without producing any matches.

    New features

    Completion.info may now return a promise.

    Open source →
  24. 0.18.03 Mar 2021
    Release notes2 sources agree

    Bug fixes

    Only preserve selected option across updates when it isn't the first option.

    Open source →
  25. 0.17.418 Jan 2021
    Release notes2 sources agree

    Bug fixes

    Fix a styling issue where the selection had become invisible inside snippet fields (when using drawSelection).

    New features

    Snippet fields can now be selected with the pointing device (so that they are usable on touch devices).

    Open source →
  26. 0.17.318 Jan 2021
    Release notes2 sources agree

    Bug fixes

    Fix a bug where uppercase completions would be incorrectly matched against the typed input.

    Open source →
  27. 0.17.212 Jan 2021
    Release notes2 sources agree

    Bug fixes

    Don't bind Cmd-Space on macOS, since that already has a system default binding. Use Ctrl-Space for autocompletion.

    Open source →
  28. 0.17.16 Jan 2021
    Release notes2 sources agree

    New features

    The package now also exports a CommonJS module.

    Open source →
  29. 0.17.029 Dec 2020
    Release notes2 sources agree

    Breaking changes

    First numbered release.

    Open source →