Skip to content

Releases: clojure-lsp/clojure-lsp

2024.04.22-11.50.26

22 Apr 14:39
0ac5e49
Compare
Choose a tag to compare
  • General

    • Bump clj-depend to 0.11.0.
    • Fix renaming ns when one source path is a prefix of another (e.g. src/clj and src/cljs) #1805
  • Editor

    • Use scope location instead of name location for folding feature.
    • Fix paredit commands to consider previous element when cursor inside a closing bracket.
    • Fix paredit commands to move cursor after applying command.
    • Fix corner case on paredit comamnds duplicating forms.
    • References of a var-definition now consider full quoted qualified symbols. #1804

2024.03.31-19.10.13

01 Apr 11:27
a10592f
Compare
Choose a tag to compare
  • Editor
    • Adding require command fails for requires without alias. #1791
    • Add require command without alias now add requires with brackets.
    • Project tree feature now support keyword definitions like re-frame sub/reg. #1789
    • Support textDocument/foldingRange LSP feature. #1602
    • Improve textDocument/documentSymbol considering keyword definitions and returning flatten elements.
    • Fix Add require/import usages count in code actions. #1794.

2024.03.13-13.11.00

13 Mar 16:11
a0bed5e
Compare
Choose a tag to compare
  • General

    • Bump clj-kondo to 2024.03.13 fixing high memory usage issue.
  • Editor

    • Fix workspace/didChangeConfiguration exception causing noise on logs. #1784

2024.03.01-11.37.51

01 Mar 15:33
da53a2b
Compare
Choose a tag to compare
  • General

    • Bump clj-kondo to 2024.02.13-20240228.191822-15.
    • Add :clojure-lsp/different-aliases linter. #1770
    • Fix unused-public-var false positives for definterface methods. #1762
    • Fix rename of records when usage is using an alias. #1756
  • Editor

    • Fix documentation resolve not working for clients without hover markdown support.
    • Added setting to allow requires and imports to be added within the current comment form during code action and completion: :add-missing :add-to-rcf #1316
    • Fix suppress-diagnostics not working on top-level forms when preceded by comment. #1678
    • Fix add missing import feature on some corner cases for java imports. #1754
    • Fix semantic tokens and other analysis not being applied for project files at root. #1759
    • Add support for adding missing requires and completion results referring to JS libraries which already have an alias in the project #1587

2024.02.01-11.01.59

01 Feb 14:33
8ef7499
Compare
Choose a tag to compare
  • General

    • Fix binary not wokring on some aarch64 linux. #1748
    • Add new Project tree feature via the clojure/workspace/projectTree/nodes custom method. #1752
    • Fix --log-path setting to work with listen/empty arg, starting clojure-lsp server and logging properly.
  • Editor

    • Fix didChangeConfiguration throwing exception. #1749
    • Fix rename of ns causing wrong ns names because of duplicate rename actions. #1751
    • Fix range-formatting throwing exceptions when unbalanced parens are sent from client. #1758
    • Fix rename functions need to clean up LSP state or restart in some clients implementing LSP method didRenameFiles. #1755
    • Fix thread last all failed after comment form #_(...). #1745

2023.12.29-12.09.27

30 Dec 14:56
1d8b5f1
Compare
Choose a tag to compare
  • General

    • Fix deep-merge of client settings with project settings.
    • Fix max-line-length on clean-ns feature not respecting some lines when contains a lot of refers. #1729
    • Bump cljfmt to 0.12.0.
    • Bump clj-kondo to 2023.12.15.
  • Editor

    • Fix edn tree visualization for keys with same name in the same level. #1558
    • Make clear when hover feature is in a calling and not in a specific symbol. #1281
    • Exclude keys that are already included in the function call from completion suggestions. #1720
  • API/CLI

    • Drastically improves performance of format task matching cljfmt, avoiding analyzing the project. #1723

2023.10.30-16.25.41

31 Oct 11:24
8efc7eb
Compare
Choose a tag to compare
  • General

    • Bump clj-kondo to 2023.10.21-20231022.204832-4.
    • Fix move-to-let/expand-let bug for multi-arity functions #1283
    • Fix :dependency-scheme setting for .java files from jars #1653
    • Bump graalvm to 21.
    • Improve overall performance using GraalVM 21 PGO (Profile-Guided Optimizations).
    • Extract the responsibility for merging clj-depend config #1265
    • Support passing configurations to clj-depend via CLI #1694
    • Bump clj-depend to 0.9.2
    • Performance: remove keyword-usages elements from external analysis as they are not used for any feature and for big projects may affect memory. #1700
  • Editor

    • New paredit refactorings:
      • forward-slurp
      • forward-barf
      • backward-slurp
      • backward-barf
      • raise
      • kill
    • Improve rename to avoid internal errors and show proper error messages. #1691
    • Exclude unused-public-vars when inside a comment block.
    • Add :analysis-summary field to serverInfo command to get information about project for performance analysis.
    • Add :analysis settings, with options to disable specific analysis for better performance on huge projects. #1700

2023.08.06-00.28.06

06 Aug 12:41
0587bf1
Compare
Choose a tag to compare
  • General

    • Fix truncation of namespaced keywords #1640
    • Add rewrite-clj node to cursor-info.
    • Fixing semantic-tokens, collons not managed by lsp anymore. #1550
    • Fix :paths-ignore-regex setting to consider settings reload.
    • Bump clj-kondo to 2023.07.14-20230717.090255-3. #1624
    • Fix inconsistencies with :defined-by->lint-as.
    • Improve memory usage during cache save, avoiding "Out of memory" exceptions.
    • Prevent file rename when a namespace is defined in multiple files #1574
    • Fix user formatting setting being override by :style/indent metadata in macros.
    • Bump cljfmt to 0.11.2. #1634
    • Bump lsp4clj to 1.8.1.
  • Editor

    • Avoid returning all known keywords on empty keywords completion for performance reasons.
  • API/CLI

    • Improve mem/cpu usage using less analysis for tasks.

2023.07.01-22.35.41

02 Jul 01:22
c24ee8b
Compare
Choose a tag to compare
  • General

    • Update flake.nix to build with babashka. #1373
    • Bump clj-kondo to 2023.06.02-20230630.144012-16.
    • Improve support for ClojureDart .cljd files. #1589
    • Slightly reduce OutOfMemory exceptions that may happen with the JVM version.
    • Support ignore unused-public-vars via :linters :clojure-lsp/unused-public-var :exclude-when-contains-meta clj-kondo setting.
    • Fix restructure-keys when map has an :or. #1583
    • Bump lsp4clj to 1.8.0.
    • Add post startup tasks progress feedbacks, like "Generating stubs", "Analyzing JDK source" and "Fetching Clojars".
    • Bump cljfmt to 0.10.6. #1605
  • Editor

    • New code actions: Replace ':refer :all' with ':refer [my-refer]' and Replace ':refer :all' with alias. #1575
    • Enhance java support for hover and completion of static class members.
    • Improve :paths-ignore-regex to ignore features avoiding impact in huge files that are intented to be excluded.
    • Fixed semantic-tokens for full qualified namespace
    • Add score to completion items for a better completion client sorting. #1595
    • Revamp keyword completion. #1599
    • Avoid LSP errors when cleaning a file without namespaces. #1603
  • API/CLI

    • New feature: Find all references via API and CLI. #1572

2023.05.04-19.38.01

05 May 11:55
0f530e0
Compare
Choose a tag to compare
  • General

    • Bump clj-kondo to 2023.04.15-20230503.152749-8
  • Editor

    • Fix edn tree to consider symbols. #1556
    • Fix edn tree to consider vector root nodes. #1557
    • Fix edn tree to handle invalid edn code and not throw exceptions while typing code.
  • API/CLI

    • Avoid enabling unecessary analysis features for API/CLI lint, improving memory usage.