Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v0.10.3
[2025-11-20]

### Chores

* \[[717](https://github.com/MaskingTechnology/jitar/pull/717)] chore(deps): bump glob from 11.0.3 to 11.1.0 in /website (#717) by dependabot[bot]
* \[[711](https://github.com/MaskingTechnology/jitar/pull/711)] chore: replace changelog tool (#711) by Bas Meeuwissen

Comment on lines +1 to +8

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix markdown formatting violations that will fail linting.

The CHANGELOG has two style issues that violate markdown standards and will likely fail the CI pipeline:

  1. Line 1 (MD022): The # v0.10.3 heading must be surrounded by blank lines. Add a blank line before it.
  2. Lines 1-4 (MD001): Heading hierarchy is broken. The file jumps from # v0.10.3 (h1) directly to ### Chores (h3), skipping h2. Change ### Chores to ## Chores.

Apply this diff to fix both issues:

+
 # v0.10.3
 [2025-11-20]
 
-### Chores
+## Chores
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# v0.10.3
[2025-11-20]
### Chores
* \[[717](https://github.com/MaskingTechnology/jitar/pull/717)] chore(deps): bump glob from 11.0.3 to 11.1.0 in /website (#717) by dependabot[bot]
* \[[711](https://github.com/MaskingTechnology/jitar/pull/711)] chore: replace changelog tool (#711) by Bas Meeuwissen
# v0.10.3
[2025-11-20]
## Chores
* \[[717](https://github.com/MaskingTechnology/jitar/pull/717)] chore(deps): bump glob from 11.0.3 to 11.1.0 in /website (#717) by dependabot[bot]
* \[[711](https://github.com/MaskingTechnology/jitar/pull/711)] chore: replace changelog tool (#711) by Bas Meeuwissen
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

1-1: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


4-4: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)

🤖 Prompt for AI Agents
In CHANGELOG.md around lines 1 to 8, add a blank line before the top-level
heading so `# v0.10.3` is separated by an empty line, and change the `###
Chores` heading to `## Chores` to restore correct heading hierarchy (h1 -> h2);
make those two edits and save the file.

# v0.10.2
[2025-11-14]

Expand Down
2 changes: 1 addition & 1 deletion examples/access-protection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/cors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify version consistency across the monorepo release.

The jitar dependency has been correctly updated to 0.10.3. However, ensure all related version references throughout the PR have been updated consistently (root package.json, other example packages, packages, CHANGELOG.md, and CLI version).

[/request_verification]


🏁 Script executed:

#!/bin/bash
# Description: Verify version consistency across the monorepo for v0.10.3 release
# Check: All version references should show 0.10.3 (not 0.10.2)

echo "=== Checking root package.json ==="
rg -A 2 '"version"' package.json | head -5

echo -e "\n=== Checking all example package.json files ==="
fd 'examples/.*/package.json' --exec rg -H '"jitar"' {}

echo -e "\n=== Checking packages directory ==="
fd 'packages/.*/package.json' --exec rg -H '"version"' {} | grep -E 'packages/(jitar|create-jitar|plugin-vite|cli)' | head -10

echo -e "\n=== Checking for remaining 0.10.2 references ==="
rg '0\.10\.2' --type json || echo "✓ No 0.10.2 references found in JSON files"

echo -e "\n=== Checking CLI version ==="
rg '0\.10\.3|0\.10\.2' packages/cli/src/commands/ShowVersion.ts || echo "⚠ ShowVersion.ts not found or version not detected"

echo -e "\n=== Checking CHANGELOG ==="
rg '0\.10\.3|0\.10\.2' CHANGELOG.md | head -5 || echo "⚠ CHANGELOG.md not found"

Length of output: 693


The script output reveals an inconsistency: init templates still reference v0.10.2. Let me verify the complete scope of changes needed:

Now let me check if the init templates should be updated as part of this release:

Update init templates to v0.10.3—they still reference v0.10.2.

The monorepo version has been mostly updated to v0.10.3, but the user-facing init templates were missed:

  • packages/init/templates/react/package.json
  • packages/init/templates/vue/package.json
  • packages/init/templates/backend/package.json

These templates guide developers creating new projects and should reference the latest version.

🤖 Prompt for AI Agents
In examples/cors/package.json around line 19, the repo shows jitar at v0.10.3
while the init templates still reference v0.10.2; update the version strings in
the init templates to match the release by changing "jitar": "0.10.2" to
"jitar": "0.10.3" in packages/init/templates/react/package.json,
packages/init/templates/vue/package.json, and
packages/init/templates/backend/package.json (and regenerate or update any
template lockfiles if present) so new projects use v0.10.3 consistently.

}
}
2 changes: 1 addition & 1 deletion examples/data-transportation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/error-handling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/health-checks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/load-balancing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/multi-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
2 changes: 1 addition & 1 deletion examples/segmentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"typescript": "5.9.3"
},
"dependencies": {
"jitar": "0.10.2"
"jitar": "0.10.3"
}
}
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jitar-monorepo",
"version": "0.10.2",
"version": "0.10.3",
"private": true,
"description": "Monorepo configuration for Jitar.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/ShowVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Command from '../Command';
import ArgumentProcessor from '../ArgumentProcessor';

const versionNumber = 'v0.10.2';
const versionNumber = 'v0.10.3';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick | 🔵 Trivial

LGTM! Version string updated correctly.

The version constant has been correctly updated to v0.10.3, matching the package version.

Optional: Consider dynamically importing version from package.json

To avoid manual updates in future releases, you could consider dynamically importing the version from package.json:

import { readFileSync } from 'fs';
import { join, dirname } from 'path';
import { fileURLToPath } from 'url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const packageJson = JSON.parse(readFileSync(join(__dirname, '../../../package.json'), 'utf-8'));
const versionNumber = `v${packageJson.version}`;

However, the current hardcoded approach is simpler and perfectly acceptable for a release process.

🤖 Prompt for AI Agents
In packages/cli/src/commands/ShowVersion.ts around line 5, the version is
hardcoded as 'v0.10.3'; to avoid manual updates, replace the constant with logic
that reads package.json at runtime and constructs the version string (prefixing
with 'v'), by resolving the package.json path relative to the module and parsing
its "version" field before exporting/using versionNumber; ensure this code works
in your build environment (ESM vs CJS) and falls back to the hardcoded string if
reading fails.


export default class ShowVersion implements Command
{
Expand Down
2 changes: 1 addition & 1 deletion packages/create-jitar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-jitar",
"version": "0.10.2",
"version": "0.10.3",
"type": "module",
"license": "MIT",
"author": "Masking Technology <info@masking.tech> (https://jitar.dev)",
Expand Down
2 changes: 1 addition & 1 deletion packages/jitar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jitar",
"version": "0.10.2",
"version": "0.10.3",
"description": "Distributed runtime for JavaScript and TypeScript to chop monolithic applications into micros.",
"author": "Masking Technology <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jitar/plugin-vite",
"version": "0.10.2",
"version": "0.10.3",
"description": "Vite plugin for Jitar.",
"author": "Masking Technology <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down