Repository navigation
Releases
Releases · apex-dev-tools/apex-ls
v6.4.0
What's Changed
- docs: add security policy by @kjonescertinia in #600
- feat: recognize Winter '27 @BeforeClass integration-test hooks by @kjonescertinia in #604
- chore: upgrade standard-types and sobject-types to 68.0.0 by @kjonescertinia in #606
- chore: update apex-parser to 5.3.0 by @kjonescertinia in #605
- feat: check SET OPTIONS bind type and cover Winter '27 type declarations by @kjonescertinia in #607
- fix: drop spurious Set addAll/removeAll/retainAll warning for unresolved arguments by @kjonescertinia in #609
- test: report org diagnostics on RenameProviderTest failures by @kjonescertinia in #610
- fix: stop leaked cache flusher threads and guard flusher against errors by @kjonescertinia in #611
- feat: read block prefetch threads from APEXLS_BLOCK_PREFETCH_THREADS by @kjonescertinia in #613
- chore: release 6.4.0 by @kjonescertinia in #614
- fix(deps): update @xmldom/xmldom to 0.8.15 and js-yaml to 3.15.2 by @kjonescertinia in #615
Full Changelog: v6.3.2...v6.4.0
v6.3.2
What's Changed
- fix: reject DOCTYPE declarations in metadata XML (GHSA-5cjp-4vvm-c9p6)
- chore: release 6.3.2 by @kjonescertinia in #599
Security
Metadata XML files containing a DOCTYPE declaration are now rejected with an error diagnostic, matching Salesforce. Previously the JVM build processed DTDs, so a crafted metadata file could load an external DTD and resolve external entities. All users of the JVM build should upgrade; the npm package was not affected.
Full Changelog: v6.3.1...v6.3.2
v6.3.1
What's Changed
- feat: report type namespaces in batch dependency results by @kjonescertinia in #583
- feat: add a logging level option to batch commands by @kjonescertinia in #584
- feat: read test-classes paths from a file by @kjonescertinia in #586
- fix: guard impacted test discovery against cyclic class hierarchies by @kjonescertinia in #588
Full Changelog: v6.3.0...v6.3.1
v6.3.0
What's Changed
- Add versioned JVM batch dispatcher and JSON protocol by @nawforce in #530
- Add dependency analysis batch commands by @nawforce in #531
- Add test class batch discovery by @nawforce in #532
- feat: configure unused diagnostics alongside errors per org by @nawforce in #533
- Warn on unsafe RecordSet scalar coercion by @nawforce in #534
- Expose source-accurate XML element ranges by @nawforce in #536
- Add precise Location ranges for XML metadata by @nawforce in #537
- feat: validate accessibility of nested Apex types at source references by @nawforce in #538
- feat: add a repeatable workspace load benchmark harness by @nawforce in #542
- feat: validate @AuraEnabled shape and placement rules (#326) by @nawforce in #543
- feat: read annotation parameters as a structured list (#541 Part B) by @nawforce in #544
- feat: validate annotation parameter syntax, names, values and targets by @nawforce in #545
- feat: add an errors-and-unused detail level to CheckForIssues by @nawforce in #546
- fix: parse classes in parallel when the multi-threaded parser is selected by @kjonescertinia in #547
- fix: only check catch clause type visibility when the exception is used by @kjonescertinia in #552
- feat: check method return type visibility at the call site by @nawforce in #554
- fix: order overload groups so method selection is deterministic by @nawforce in #555
- feat: close the remaining unverified gaps in the annotation parameter table by @nawforce in #558
- fix: make outline parser interning caches thread-safe by @nawforce in #560
- feat: assign stable IDs to reported diagnostics by @nawforce in #559
- feat: optional prefetching of method bodies during workspace load by @kjonescertinia in #562
- feat: add --block-prefetch-threads to the load benchmark by @kjonescertinia in #563
- feat: support diagnostic reporting exclusions by @nawforce in #570
- feat: render explicit markdown hovers by @nawforce in #571
- feat: hover for fields, properties, enum constants, triggers and declaration sites by @kjonescertinia in #572
- feat: attach ANTLR doc comments to declarations and show them in hover by @kjonescertinia in #573
- feat: attach outline-parser ApexDoc locations to declarations by @nawforce in #574
- feat: tolerant ApexDoc reader and markdown renderer for hover by @nawforce in #575
- feat: persist summary doc offsets and show docs on warm hover by @nawforce in #576
- fix: ApexDoc renderer follow-ups from #575 review by @nawforce in #578
- chore: release 6.3.0 by @kjonescertinia in #580
Full Changelog: v6.2.0...v6.3.0
v6.2.0
What's Changed
- Remove SPI support for external analysis providers (apex-ls-pmd) by @nawforce in #506
- feat: Config - dependency count alias by @nawforce in #507
- fix: false 'must implement' error for interface methods with ghosted parameter types by @nawforce in #509
- fix: require explicit cast for List/Set to List/Set by @nawforce in #508
- fix: reject invalid List/Set collection initialisation by @nawforce in #510
- docs: clarify package-directory handling differs from Salesforce by @nawforce in #511
- chore(deps): remediate npm dev-dependency security advisories by @nawforce in #512
- chore: standardize JDK 17 toolchain by @nawforce in #513
- Validate duplicate annotations by @nawforce in #515
- fix: require visibility on abstract and override methods by @nawforce in #516
- test: cover private access from test classes by @nawforce in #518
- Warn when static methods implement instance contracts by @nawforce in #521
- Fix @testvisible members missing from test completions by @nawforce in #523
- Fix final assignment diagnostics and initializer handling by @nawforce in #524
- fix: resolve Formula API exceptions by @nawforce in #525
- chore: release 6.2.0 by @nawforce in #526
Full Changelog: v6.1.0...v6.2.0
v6.1.0
What's Changed
- feat(test): add ScalaCheck dependencies for property-based testing by @kjonescertinia in #418
- fix: flag static methods on inner classes by @kjonescertinia in #417
- feat(test): add PropertyTestHelper trait for property-based tests by @kjonescertinia in #419
- Remove v1 ForceIgnore implementation by @kjonescertinia in #425
- feat: capture and improve lexer error messages for invalid escape sequences by @kjonescertinia in #420
- Remove MDIndex by @nawforce in #428
- Add Claude Code GitHub Workflow by @kjonescertinia in #431
- refactor: inline Tri* traits into Org/Package/Module and remove aliases by @nawforce in #430
- Fix unused warnings for methods implementing external interfaces by @kjonescertinia in #432
- Methods called from triggers are incorrectly flagged as unused by @kjonescertinia in #437
- fix: allow test class discovery through interface use relationships by @kjonescertinia in #436
- Return distinct exit codes for warnings/unused issues and add tests by @nawforce in #440
- Upgrade to apex-parser 5.1.0-beta.1 and slim JS to project layout by @kjonescertinia in #446
- Remove ANTLR-first parsing mode, standardise on OutlineParser by @nawforce in #433
- feat: support qualified enum constants in switch when clauses by @kjonescertinia in #448
- feat: accept Summer '26 multi-line string literals (#447) by @kjonescertinia in #450
- feat: diagnose malformed multi-line string literals (#443) by @kjonescertinia in #451
- refactor: drop JS-portability shims from CST construction (#449 stage 1) by @kjonescertinia in #452
- refactor: extractor-based pattern matching in CST construction (#449 stage 2) by @kjonescertinia in #453
- Remove MCP support by @nawforce in #455
- fix: suppress cascading syntax errors in method bodies (#422) by @kjonescertinia in #456
- fix: shorten verbose EOF parser diagnostics by @nawforce in #458
- fix: inherit interface method visibility by @nawforce in #459
- fix: clarify unused override hierarchy warnings by @nawforce in #460
- fix: guide public static unused entry points by @nawforce in #461
- feat: recognize Summer '26 test annotations by @nawforce in #469
- fix: align IntegrationTest diagnostics with runtime behavior by @nawforce in #472
- fix: restrict private TestVisible access by @nawforce in #473
- fix: warn on security enforced soql by @nawforce in #476
- fix: enforce explicit member visibility by @nawforce in #475
- chore: upgrade to Summer '26 standard-types and sobject-types 67.0.0 by @kjonescertinia in #478
- fix: recompute unused warnings for cache-loaded classes (#477) by @kjonescertinia in #479
- docs: prepare CHANGELOG for 6.1.0-beta.1 by @kjonescertinia in #480
- [codex] Fix nested superclass field lookup by @nawforce in #483
- fix: keep Any-return method wrapper transparent to method identity by @kjonescertinia in #485
- fix: inherit @testvisible onto interface methods by @kjonescertinia in #486
- fix: document ghosted overload visibility fix by @nawforce in #490
- fix: remove deprecated parser stream usage by @nawforce in #492
- fix: resolve nested inherited private field shadowing by @nawforce in #493
- fix: stabilize diagnostic column span regressions by @nawforce in #491
- chore: prepare 6.1.0-beta.2 changelog by @kjonescertinia in #494
- fix: guard SOQL model build against malformed queries (#295) by @kjonescertinia in #497
- [codex] fix compile warning noise by @nawforce in #498
- [codex] allow Batchable start to return Set by @nawforce in #499
- [codex] cover unicode label values by @nawforce in #500
- [codex] tolerate missing parser stop locations by @nawforce in #501
- [codex] clarify missing nested type diagnostics by @nawforce in #503
- [codex] tolerate leading XML whitespace by @nawforce in #502
- chore: release 6.1.0 by @kjonescertinia in #505
Full Changelog: v6.0.2...v6.1.0
v6.0.2
What's Changed
- Fix: Loop variables in iteration control incorrectly flagged as unused (#397) by @kjonescertinia in #399
- fix: Track variable usage in ghosted type list initializers (fixes #398) by @kjonescertinia in #400
- chore: prepare release 6.0.2 by @kjonescertinia in #407
- fix(ci): skip clean in ci-release to preserve apex-ls JAR for MCP build by @kjonescertinia in #408
Full Changelog: v6.0.1...v6.0.2
v6.0.1
What's Changed
- Full release test, see v6.0.0 for changes.
v6.0.0
What's Changed
- feat: implement Java-based MCP server with comprehensive Apex analysis tools by @nawforce in #361
- Feature/363 library external metadata config by @kjonescertinia in #365
- test: add interface method overload validation test for GitHub issue … by @nawforce in #368
- feat: Add test modifier rules for annotations (#333) by @nawforce in #372
- Issue 97 drop mdapi support by @nawforce in #366
- Feat/forceignore v2 exact node ignore compatibility by @nawforce in #369
- feat: add sfdx-project.json config option for ForceIgnore version selection by @nawforce in #371
- Add validation for @AuraEnabled methods requiring public or global modifiers by @nawforce in #373
- feat: add validation for break/continue statements outside loops by @nawforce in #379
- feat: refactor SFDX project configuration into dedicated ApexConfig class by @kjonescertinia in #385
- feat: add CHANGELOG.md following keepachangelog format by @nawforce in #376
- Feat/improve logger architecture by @nawforce in #380
- Fix loop variable unused detection (issue #330) by @nawforce in #387
- Add agent guides for apex-ls and MCP subproject by @nawforce in #388
- fix: install npm modules before Scala.js tests by @nawforce in #389
- test: assert validation map verifies before fallback by @nawforce in #390
- Add npm wrapper package for MCP server deployment by @nawforce in #381
- Support API 65 Types by @pwrightcertinia in #392
Full Changelog: v5.10.0...v6.0.0
v5.10.0
What's Changed
- Fix caching issue during re-validation by @kjonescertinia in #342
- Remove caching from getting references by @kjonescertinia in #344
- Support for field, property and enum constant references by @kjonescertinia in #345
- Type references by @kjonescertinia in #346
- Hashing and finding opts by @kjonescertinia in #347
- Missing object methods by @kjonescertinia in #348
- Update build for central publishing by @pwrightcertinia in #354
- Fix unused warning due to for expression handling by @kjonescertinia in #352
- Fix unused issue suppression for blocks/local variables by @pwrightcertinia in #355
- Fix SObject map assignment validation (Issue #340) by @nawforce in #357
- API 64 Support by @pwrightcertinia in #359
- Support direct SObject refs on definition provider by @pwrightcertinia in #360
Full Changelog: v5.9.0...v5.10.0