Skip to content

release: merge develop into main - #227

Merged
pajoma merged 241 commits into
mainfrom
develop
May 19, 2026
Merged

release: merge develop into main#227
pajoma merged 241 commits into
mainfrom
develop

Conversation

@pajoma

@pajoma pajoma commented May 19, 2026

Copy link
Copy Markdown
Owner

Summary

Merges all accumulated development work from develop into main (233 commits).

Key changes since last release:

Test plan

  • CI passes on main after merge
  • Release workflow triggers on merge to main → GitHub Release created with .vsix

🤖 Generated with Claude Code

pajoma and others added 30 commits April 20, 2022 22:24
Respecting the language setting from vscode
Format minutes using mm -- MM is the current day of the month.
complete action: fix time formatting
Bumps [terser](https://github.com/terser/terser) from 5.7.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ntirely

Making syntax highlighting configurable
fix #142 when open new note in remote model, always log error
Bumps [webpack](https://github.com/webpack/webpack) from 5.71.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.71.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…-3.1.2

Bump minimatch from 3.0.4 to 3.1.2
….76.0

Bump webpack from 5.71.0 to 5.76.0
pajoma and others added 29 commits May 18, 2026 19:10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ctor (#199)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…uture fields

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Eliminates the domain model typo from enum definition, all consumers,
method signature (injectAttachmentLinks), log strings, comments, and
plan prose. grep -rn "attachement" src/ returns zero hits.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(model): rename JournalPageType.attachement → attachment (#221)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ar dep

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add getEntryFilePatternRaw, getNotesFilePatternRaw,
getWeeklyNotesFilePatternRaw, getWeekFilePatternRaw,
getWeekOrEntryPathPatternRaw so TemplateService can read pattern
strings without touching vscode.WorkspaceConfiguration directly.

Rename private getInlineTemplate → public loadInlineTemplate to
satisfy the IRawConfigProvider interface that TemplateService will
depend on.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
)

Add src/vscode/template-service.ts exporting:
- IRawConfigProvider: narrow interface Configuration implements
- TemplateService: holds all resolution logic, zero vscode imports

Configuration now implements IRawConfigProvider and holds a private
TemplateService instance (tpl). getTplTime() added to satisfy the
interface. Template-service.ts never imports conf.ts — no circular dep.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
)

All template-resolution methods now delegate to this.tpl (TemplateService).
conf.ts contains zero resolution logic — only raw config accessors and
one-line wrappers. Remove unused replaceVariableValue / resolveDate
imports and dead getInlineTemplateCached + patterns Map.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Align with getWeeksPathPatternRaw naming convention. Method is not on
IConfiguration so rename is safe. Only 3 call sites (declaration,
IRawConfigProvider, TemplateService.getResolvedWeeklyNotesPath).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
refactor(vscode): extract TemplateService from Configuration (R1) #198
…al state

Introduces IWorkspaceConfigReader seam so Configuration and Ctrl
can be constructed without a live vscode.WorkspaceConfiguration.
Blocked by #198.
7-step plan: IWorkspaceConfigReader interface → Configuration/Ctrl
constructor update → FakeWorkspaceConfig test double → refactor 14
test files to eliminate config.update/ConfigurationTarget. Blocked
by #198.
#202)

Introduce IWorkspaceConfigReader interface and FakeWorkspaceConfig test
double so tests construct Ctrl directly with an in-memory settings map
instead of mutating vscode.workspace.getConfiguration('journal').

Also fix four latent bugs exposed when VS Code package.json defaults are
no longer provided automatically:
- getFileExtension: && → || in null-guard (crash when ext is undefined)
- getWeeklyTemplate: hardcoded fallback missing sections (## Tasks, ## Notes)
- getNotesPathPattern: fallback used entries.path instead of notes.path
- getWeekFilePatternRaw: fallback used notes.file instead of weeks.file
- getNavigationMode: reads from this.config instead of getConfiguration()

All 167 tests pass.

#202

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…onfig

test(config): decouple test suite from global VS Code workspace config (#202)
Builds and publishes .vsix to a GitHub Release on every merge to main.
Full build + test gate runs before packaging — no release on failure.
Version read from package.json; release tagged v<version>.

Build steps intentionally duplicate ci.yml (no composite action).
Acceptable at this scale; extract reusable workflow if steps diverge.

softprops/action-gh-release pinned to SHA (3bb1273) to avoid floating-v2 risk.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ci: GitHub Actions release pipeline — build & publish .vsix on merge to main
@pajoma
pajoma merged commit aeaaa9f into main May 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants