Skip to content

Commit d14efce

Browse files
authored
Merge pull request #608 from aviatesk/releases/2026-03-20
release: 2026-03-20
2 parents ea73622 + d28d997 commit d14efce

25 files changed

Lines changed: 408 additions & 159 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1919
## Unreleased
2020
2121
- Commit: [`HEAD`](https://github.com/aviatesk/JETLS.jl/commit/HEAD)
22-
- Diff: [`4280097...HEAD`](https://github.com/aviatesk/JETLS.jl/compare/4280097...HEAD)
22+
- Diff: [`ea73622...HEAD`](https://github.com/aviatesk/JETLS.jl/compare/ea73622...HEAD)
2323
2424
### Announcement
2525
@@ -46,6 +46,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4646
4747
### Added
4848
49+
- Added process title setting so that `jetls serve` processes are distinguishable in `ps`/`htop` when multiple projects are open.
50+
The title includes JETLS version, workspace path, transport mode, and client process ID.
51+
52+
### Fixed
53+
54+
- Fixed false positive `lowering/unused-assignment` diagnostic for variables reassigned inside `while` loops with `break`/`continue`.
55+
56+
## 2026-03-19
57+
58+
- Commit: [`ea73622`](https://github.com/aviatesk/JETLS.jl/commit/ea73622)
59+
- Diff: [`4280097...ea73622`](https://github.com/aviatesk/JETLS.jl/compare/4280097...ea73622)
60+
- Installation:
61+
```bash
62+
julia -e 'using Pkg; Pkg.Apps.add(; url="https://github.com/aviatesk/JETLS.jl", rev="2026-03-19")'
63+
```
64+
65+
### Added
66+
4967
- Added `@main` function support across LSP features (document-symbol, document-highlight, references, rename, completions, diagnostic).
5068
5169
- Added `lowering/unused-assignment` diagnostic that detects assignments whose values are never read (dead stores).

JETLS_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-03-19
1+
2026-03-20

Project.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@ StructTypes = "66bcceda-d870-5865-93dd-65803322e79e"
3434
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
3535

3636
[sources]
37-
CodeTracking = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/CodeTracking", url = "https://github.com/aviatesk/JETLS.jl"}
38-
Compiler = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/Compiler", url = "https://github.com/aviatesk/JETLS.jl"}
39-
Configurations = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/Configurations", url = "https://github.com/aviatesk/JETLS.jl"}
40-
ExproniconLite = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/ExproniconLite", url = "https://github.com/aviatesk/JETLS.jl"}
41-
Glob = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/Glob", url = "https://github.com/aviatesk/JETLS.jl"}
42-
JET = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/JET", url = "https://github.com/aviatesk/JETLS.jl"}
43-
JSON3 = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/JSON3", url = "https://github.com/aviatesk/JETLS.jl"}
44-
JuliaInterpreter = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/JuliaInterpreter", url = "https://github.com/aviatesk/JETLS.jl"}
45-
JuliaLowering = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/JuliaLowering", url = "https://github.com/aviatesk/JETLS.jl"}
46-
JuliaSyntax = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/JuliaSyntax", url = "https://github.com/aviatesk/JETLS.jl"}
47-
LSP = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/LSP", url = "https://github.com/aviatesk/JETLS.jl"}
48-
LoweredCodeUtils = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/LoweredCodeUtils", url = "https://github.com/aviatesk/JETLS.jl"}
49-
MacroTools = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/MacroTools", url = "https://github.com/aviatesk/JETLS.jl"}
50-
OrderedCollections = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/OrderedCollections", url = "https://github.com/aviatesk/JETLS.jl"}
51-
Parsers = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/Parsers", url = "https://github.com/aviatesk/JETLS.jl"}
52-
PrecompileTools = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/PrecompileTools", url = "https://github.com/aviatesk/JETLS.jl"}
53-
Preferences = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/Preferences", url = "https://github.com/aviatesk/JETLS.jl"}
54-
Revise = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/Revise", url = "https://github.com/aviatesk/JETLS.jl"}
55-
StructTypes = {rev = "28eb6e7d2337d29700706260bc45f924813d0a51", subdir = "vendor/StructTypes", url = "https://github.com/aviatesk/JETLS.jl"}
37+
CodeTracking = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/CodeTracking", url = "https://github.com/aviatesk/JETLS.jl"}
38+
Compiler = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/Compiler", url = "https://github.com/aviatesk/JETLS.jl"}
39+
Configurations = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/Configurations", url = "https://github.com/aviatesk/JETLS.jl"}
40+
ExproniconLite = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/ExproniconLite", url = "https://github.com/aviatesk/JETLS.jl"}
41+
Glob = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/Glob", url = "https://github.com/aviatesk/JETLS.jl"}
42+
JET = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/JET", url = "https://github.com/aviatesk/JETLS.jl"}
43+
JSON3 = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/JSON3", url = "https://github.com/aviatesk/JETLS.jl"}
44+
JuliaInterpreter = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/JuliaInterpreter", url = "https://github.com/aviatesk/JETLS.jl"}
45+
JuliaLowering = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/JuliaLowering", url = "https://github.com/aviatesk/JETLS.jl"}
46+
JuliaSyntax = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/JuliaSyntax", url = "https://github.com/aviatesk/JETLS.jl"}
47+
LSP = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/LSP", url = "https://github.com/aviatesk/JETLS.jl"}
48+
LoweredCodeUtils = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/LoweredCodeUtils", url = "https://github.com/aviatesk/JETLS.jl"}
49+
MacroTools = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/MacroTools", url = "https://github.com/aviatesk/JETLS.jl"}
50+
OrderedCollections = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/OrderedCollections", url = "https://github.com/aviatesk/JETLS.jl"}
51+
Parsers = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/Parsers", url = "https://github.com/aviatesk/JETLS.jl"}
52+
PrecompileTools = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/PrecompileTools", url = "https://github.com/aviatesk/JETLS.jl"}
53+
Preferences = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/Preferences", url = "https://github.com/aviatesk/JETLS.jl"}
54+
Revise = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/Revise", url = "https://github.com/aviatesk/JETLS.jl"}
55+
StructTypes = {rev = "64acdf6644ee743c4c603e1461c34f75097ef31e", subdir = "vendor/StructTypes", url = "https://github.com/aviatesk/JETLS.jl"}
5656

5757
[compat]
5858
Compiler = "0.1.1"

src/JETLS.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,11 @@ const self_shutdown_token = SelfShutdownNotification()
171171
runserver(args...; kwargs...) = runserver(Returns(nothing), args...; kwargs...) # no callback specified
172172
runserver(callback, in::IO, out::IO; kwargs...) = runserver(callback, Endpoint(in, out); kwargs...)
173173
runserver(callback, endpoint::Endpoint; kwargs...) = runserver(Server(callback, endpoint); kwargs...)
174-
function runserver(server::Server; client_process_id::Union{Nothing,Int}=nothing)
174+
function runserver(
175+
server::Server;
176+
client_process_id::Union{Nothing,Int} = nothing,
177+
transport::String = "stdio"
178+
)
175179
initialize_requested = shutdown_requested = false
176180
local exit_code::Int = 1
177181
JETLS_DEV_MODE && @info "Running JETLS server loop"
@@ -198,7 +202,7 @@ function runserver(server::Server; client_process_id::Union{Nothing,Int}=nothing
198202
# Handle lifecycle-related messages
199203
if msg isa InitializeRequest
200204
initialize_requested = true
201-
handle_InitializeRequest(server, msg; client_process_id)
205+
handle_InitializeRequest(server, msg; client_process_id, transport)
202206
elseif msg isa InitializedNotification
203207
handle_InitializedNotification(server)
204208
elseif msg isa ShutdownRequest

0 commit comments

Comments
 (0)