PackageTrack

npm

@codemirror/lang-javascript

6.2.5codemirror/lang-javascript

JavaScript language support for the CodeMirror code editor

Release timeline

33 releases since 2020
20202026

One column per quarter.

Releases

  1. 6.2.52 Mar 2026
    Release notes3 sources agree

    Bug fixes

    Support code folding of JSX elements and tags.

    When reading properties in scopeCompletionSource, use the original object, not a prototype.

    Open source →
  2. 6.2.414 May 2025
    Release notes3 sources agree

    Bug fixes

    Fix a crash in the esLint helper when a rule's meta.docs isn't defined.

    Properly dedent lines starting with an opening curly brace below composite statements like for/while.

    Open source →
  3. 6.2.312 Feb 2025
    Release notes3 sources agree

    Bug fixes

    Disable JavaScript completions in JSX context.

    Open source →
  4. 6.2.220 Feb 2024
    Release notes3 sources agree

    Bug fixes

    Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'.

    Open source →
  5. 6.2.128 Aug 2023
    Release notes3 sources agree

    Bug fixes

    autoCloseTags now generates two separate transactions, so that the completion can be undone separately.

    Open source →
  6. 6.2.026 Aug 2023
    Release notes2 sources agree

    New features

    Export a typescriptSnippets array and include TypeScript keyword completions in the default support extension when in TypeScript mode.

    Open source →
  7. 6.1.92 Jun 2023
    Release notes3 sources agree

    Bug fixes

    Make sure scopeCompletionSource doesn't try to complete property names that aren't simple identifier (such as numeric indices).

    Open source →
  8. 6.1.813 May 2023
    Release notes3 sources agree

    Bug fixes

    Stop completing keywords after . tokens.

    Open source →
  9. 6.1.719 Apr 2023
    Release notes3 sources agree

    Bug fixes

    Fix overeager JSX tag closing inside attribute values and in self-closing tags.

    Open source →
  10. 6.1.613 Apr 2023
    Release notes3 sources agree

    Bug fixes

    Fix a bug that allowed autoCloseTags to close JSX tags in JavaScript context.

    Open source →
  11. 6.1.54 Apr 2023
    Release notes2 sources agree

    Bug fixes

    Make TypeScript object type syntax foldable.

    Open source →
  12. 6.1.413 Feb 2023
    Release notes2 sources agree

    Bug fixes

    Make sure code in JSX context can be commented correctly.

    Open source →
  13. 6.1.32 Feb 2023
    Release notes2 sources agree

    Bug fixes

    Fix auto-closing of JSX fragments.

    Open source →
  14. 6.1.27 Dec 2022
    Release notes2 sources agree

    Bug fixes

    Automatic tag closing in JSX now works for namespaced and member-expression tag names.

    Open source →
  15. 6.1.124 Oct 2022
    Release notes2 sources agree

    Bug fixes

    Make completionPath handle ?. syntax.

    Open source →
  16. 6.1.020 Sept 2022
    Release notes2 sources agree

    New features

    The completionPath helper can now be used to find the object path to complete at a given position.

    scopeCompletionSource provides a completion source based on a scope object.

    Open source →
  17. 6.0.221 Jul 2022
    Release notes2 sources agree

    Bug fixes

    Fix the source field in ESLint diagnostics to properly hold "eslint".

    Fix (non-)auto indentation in template strings and comments.

    Open source →
  18. 6.0.129 Jun 2022
    Release notes2 sources agree

    Bug fixes

    Avoid completing variables/keywords in property or definition positions.

    Fix a bug that broke local variable completion if JavaScript was parsed an overlay in an outer language.

    Open source →
  19. 6.0.08 Jun 2022
    Release notes2 sources agree

    Breaking changes

    Update dependencies to 6.0.0

    Open source →
  20. 0.20.11 Jun 2022
    Release notes2 sources agree

    New features

    localCompletionSource (included in the support extensions returned from javascript) now provides a way to complete locally-defined names.

    Open source →
  21. 0.20.020 Apr 2022
    Release notes2 sources agree

    New features

    The new autoCloseTags extension (included by default in the javascript language extension when jsx is configured) finishes JSX closing tags when you type a > or / character.

    Open source →
  22. 0.19.728 Jan 2022

    Nothing published for this version

  23. 0.19.611 Jan 2022
    Release notes2 sources agree

    Bug fixes

    Remove accidentally released unfinished changes.

    Open source →
  24. 0.19.511 Jan 2022
    Release notes2 sources agree

    Bug fixes

    Add the function highlight modifier to variables used in tagged template expressions.

    Open source →
  25. 0.19.43 Jan 2022
    Release notes2 sources agree

    Bug fixes

    Fix highlighting of TypeScript private/public/protected keywords.

    Open source →
  26. 0.19.312 Nov 2021
    Release notes2 sources agree

    Bug fixes

    Add styling for private properties.

    Open source →
  27. 0.19.223 Sept 2021
    Release notes2 sources agree

    New features

    Use more specific highlighting tags for JSX attribute names and values.

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

    Bug fixes

    Fix incorrect versions for @lezer dependencies.

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

    Breaking changes

    Update dependencies to 0.19.0

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

    Bug fixes

    Extend indentOnInput expression to cover closing JSX tags.

    Open source →
  31. 0.17.215 Feb 2021
    Release notes2 sources agree

    Bug fixes

    Improve highlighting tag specificity of defined function and class names. Add indentation information for JSX constructs

    Support smart indent for JSX syntax.

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

    New features

    The package now also exports a CommonJS module.

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

    Breaking changes

    First numbered release.

    Open source →