Skip to content

Release/0.9.5#171

Merged
raleigh-g-thompson merged 8 commits into
masterfrom
release/0.9.5
May 28, 2026
Merged

Release/0.9.5#171
raleigh-g-thompson merged 8 commits into
masterfrom
release/0.9.5

Conversation

@raleigh-g-thompson

@raleigh-g-thompson raleigh-g-thompson commented May 28, 2026

Copy link
Copy Markdown
Contributor

v0.9.5 Release Summary

Branch: release/0.9.5 (6 commits since master)
Merge-base: 0218196
Date: 2026-05-28


Commits

a9ac034 — bump version to 0.9.5

  • Bump package.json version from 0.9.4 to 0.9.5.

9bf48a1 — fixes issue with default test config settings

  • Removes duplicate/wrong default configurations from package.json (22 lines removed).
  • Simplifies config.json resolution logic in execute-cql.ts to avoid relying on faulty defaults.

b5c9243 — adds CqlSolution

  • Introduces a new CqlSolution model class (src/model/cqlSolution.ts) that represents a CQL project solution (analogous to .sln for .NET), enabling multi-project awareness.
  • Refactors CqlProject and IgLayoutDetector — moves them from src/cql-explorer/ to src/model/ for a cleaner separation of concerns.
  • Adds comprehensive unit tests for CqlSolution (147 lines).
  • Updates tree-item tests and execute-cql.ts to work with the new model.

f30656d — enhances CQL Explorer multiple-projects support

  • Expands the CQL Explorer tree view to handle multiple CQL projects discovered via CqlSolution.
  • New command cql.explorer.rebuild-tree registered in package.json (keybinding, menu, command palette).
  • Refactors cqlExplorer.ts and cqlProjectTreeDataProvider.ts to build trees from all projects in the solution.
  • Adds 67 lines of new tests for buildTree.test.ts.

9839d76 — adds check for no test cases

  • Guards against ExecuteCqlCommand running when no test cases are configured — shows an info message instead of crashing.
  • Adds a test verifying the no-test-cases guard.

d191148 — update change log

  • Updates CHANGELOG.md with the v0.9.5 prerelease entry.

Files Changed

File Insertions Deletions
CHANGELOG.md 12 0
package-lock.json 2 2
package.json 42 22
src/__test__/suite/cql-explorer/buildTree.test.ts 71 0
src/__test__/suite/cql-explorer/cqlLibraryRootTreeItem.test.ts 1 1
src/__test__/suite/cql-explorer/cqlTestCaseRootTreeItem.test.ts 1 1
src/__test__/suite/cql-explorer/cqlTestCaseTreeItem.test.ts 1 1
src/__test__/suite/cql-explorer/getChildren.test.ts 2 2
src/__test__/suite/extension/commands.test.ts 3 0
src/__test__/suite/model/cqlProject.loadState.test.ts 14 0
src/__test__/suite/model/cqlSolution.test.ts 147 0
src/commands/execute-cql.ts 126 0
src/cql-explorer/cqlExplorer.ts 112 0
src/cql-explorer/cqlProjectTreeDataProvider.ts 32 0
src/model/cqlProject.ts (moved) 12 37
src/model/cqlSolution.ts 73 0
src/model/igLayoutDetector.ts (moved) 0 0
src/{cql-explorer => model}/cqlProject.ts
src/{cql-explorer => model}/igLayoutDetector.ts

Totals: 19 files changed, ~612 insertions, ~109 deletions


Highlights

  • CqlSolution — new abstraction for multi-project CQL workspaces, analogous to .sln files.
  • Multi-project CQL Explorer — the tree view now discovers and displays all projects in a solution.
  • Robustness — guards against missing test configurations and cleans up default-settings handling.
  • Test coverage — 147-line CqlSolution test suite plus expanded buildTree and command tests.

closes #24
closes #167
closes #168
closes #169

@raleigh-g-thompson raleigh-g-thompson self-assigned this May 28, 2026
@raleigh-g-thompson raleigh-g-thompson added the enhancement New feature or request label May 28, 2026
@github-actions

Copy link
Copy Markdown

Coverage after merging release/0.9.5 into master will be

65.67%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   extension.api.ts100%100%100%100%
   extension.ts74.72%68.75%87.50%74.68%111–114, 135–137, 143–145, 150–152, 46–63, 71–75, 88–95
   extensionLogger.ts100%100%100%100%
   protocol.ts100%100%100%100%
   statusBar.ts100%100%100%100%
src/commands
   commands.ts100%100%100%100%
   execute-cql.ts42.08%88.89%57.14%37.88%100–185, 188–239, 242–424, 442, 456, 510–533, 586–594, 596–628, 645, 648–651, 66–67, 72–82, 87, 90, 93, 99
   log-files.ts69.52%58.33%60%71.59%22–27, 41–43, 48–51, 58–61, 67–69, 75–77, 82–88
   view-elm.ts90.91%90%100%90.48%12, 39–41, 9
src/cql-explorer
   cqlExplorer.ts32.95%100%20%32.94%100, 108–135, 143–181, 187–211, 218–219, 227–228, 236–237, 245–257, 265–272, 280–325, 333–334, 34, 342–343, 35, 351–359, 36, 360–369, 37, 370–371, 379, 38, 380–389, 39, 390–399, 40, 400–403, 41, 411–419, 42, 420–429, 43, 430–456, 464–486, 494–518, 526–559, 565–566, 571–573, 578–581, 586–589, 594–605, 610–613, 618–621, 626–629, 634–637, 642–645, 652–671, 679–687, 695–704, 71, 712–713, 72, 724–729, 73, 730–737, 74, 741–749, 75, 750–759, 76, 760, 764–769, 77, 770–779, 78, 780–787, 79, 791–799, 80, 800–809, 81, 810–819, 82, 820–830, 833–835, 838–845, 91–94, 97–99
   cqlProjectTreeDataProvider.ts73.42%85.71%72%71.45%143–144, 280–287, 333–338, 344–346, 386–388, 391–393, 396–398, 401–403, 406–412, 415–436, 440–446, 449–458, 461–466, 484, 487–488, 502–519, 52, 527–529, 53, 530–556, 56, 561–562, 567–569, 57, 581–583, 599–610, 625, 625–637, 664–673, 675, 675–676, 683, 692–693, 696–741, 755–757, 760, 760–772, 783–784, 810, 812, 90–93
   idReplacer.ts85.71%60%100%88.57%27–29, 31–33
   testCaseCloner.ts90.16%71.43%100%92.45%25–27, 42–44
   testCaseResourceOps.ts100%100%100%100%
src/cql-language-server
   cqlLanguageClient.ts46.30%75%55.56%44.72%100–133, 141–147, 161, 161–162, 166–167, 174–178, 183–199, 37–39, 59–99
   languageServerStarter.ts75.68%71.43%80%75.76%21–36, 44, 44–45, 78–84
src/cql-service
   cqlService.executeCql.ts82.55%88.89%50%82.17%51–73, 90, 95
   cqlService.getElm.ts62.50%100%0%71.43%6–7
src/helpers
   fileHelper.ts53.41%60%60%52.56%10–13, 19–22, 47–49, 51–78
   parametersHelper.ts100%100%100%100%
src/java-support
   findJavaRuntimes.ts55.58%66.67%78.57%53.31%100–104, 107–110, 120, 120–139, 14, 140–149, 15, 150–191, 197–213, 216–243, 251–253, 292–294, 320–322, 324–326, 332–334, 337–341, 346–362, 46–48, 78, 86–99
   javaServiceInstaller.ts94.29%72.73%100%96.57%124–126, 164–166, 173, 22–24, 60–61
   requirements.ts69.88%73.68%66.67%69.50%10–11, 115–128, 130–141, 55–68, 72–77
src/log-services
   logger.ts100%100%100%100%
   multi-transport-logger.ts81.36%62.96%58.82%86.36%126, 134–136, 145–147, 156–157, 160–161, 164–165, 168–169, 172–175, 59–64, 70–71, 73–75, 80–81, 88–89
src/model
   cqlProject.ts71.26%79.69%69.44%70.45%114–116, 124–126, 134–139, 199–203, 206–208, 214–216, 219–221, 228–229, 232–233, 236–237, 243, 246, 249, 254–256, 260–267, 271–278, 282–300, 305–306, 309–318, 330–332, 338, 344, 35, 359–366, 373–374, 401–403, 408–410, 430, 439, 445, 45–47, 483–491, 50, 500, 503, 503–509, 51, 510–541, 551–563, 575–581
   cqlSolution.ts92.22%72.73%100%94.67%39–41, 46–48, 50
   igLayoutDetector.ts97.49%91.18%100%98.77%150, 79–81, 85
   testCase.ts96%85.71%100%98.11%100, 144, 153–155, 97–99
src/shared
   ObservableProperty.ts72.22%100%33.33%75%22–23, 26–31
   OutputChannelLogger.ts65.96%100%42.86%67.57%11–12, 19–24, 31–32, 35–36
   RobustEmitter.ts70%50%100%70.59%17, 17–20, 24–29, 8
src/utils
   file-utils.ts100%100%100%100%

@raleigh-g-thompson raleigh-g-thompson merged commit e6a6e3a into master May 28, 2026
4 checks passed
@raleigh-g-thompson raleigh-g-thompson deleted the release/0.9.5 branch May 28, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

2 participants