Releases: clojure-lsp/clojure-lsp
Releases · clojure-lsp/clojure-lsp
2024.04.22-11.50.26
-
General
- Bump clj-depend to
0.11.0
. - Fix renaming ns when one source path is a prefix of another (e.g.
src/clj
andsrc/cljs
) #1805
- Bump clj-depend to
-
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
- 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
-
General
- Bump clj-kondo to
2024.03.13
fixing high memory usage issue.
- Bump clj-kondo to
-
Editor
- Fix
workspace/didChangeConfiguration
exception causing noise on logs. #1784
- Fix
2024.03.01-11.37.51
-
General
-
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
-
General
-
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
- Fix
2023.12.29-12.09.27
-
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
-
API/CLI
- Drastically improves performance of
format
task matchingcljfmt
, avoiding analyzing the project. #1723
- Drastically improves performance of
2023.10.30-16.25.41
-
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
- Bump clj-kondo to
-
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 toserverInfo
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
- New paredit refactorings:
2023.08.06-00.28.06
-
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
-
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]'
andReplace ':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
- New code actions:
-
API/CLI
- New feature: Find all references via API and CLI. #1572
2023.05.04-19.38.01
-
General
- Bump clj-kondo to
2023.04.15-20230503.152749-8
- Bump clj-kondo to
-
Editor
-
API/CLI
- Avoid enabling unecessary analysis features for API/CLI lint, improving memory usage.