Skip to content

Commit 161119e

Browse files
Merge pull request #7 from CASParser/release-please--branches--main--changes--next--components--cas-parser-node
release: 1.4.1
2 parents de305b5 + b208a44 commit 161119e

File tree

8 files changed

+27
-8
lines changed

8 files changed

+27
-8
lines changed

.github/workflows/publish-npm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ jobs:
3939
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
4040
env:
4141
NPM_TOKEN: ${{ secrets.CAS_PARSER_NPM_TOKEN || secrets.NPM_TOKEN }}
42+
43+
- name: Upload MCP Server DXT GitHub release asset
44+
run: |
45+
gh release upload ${{ github.event.release.tag_name }} \
46+
packages/mcp-server/cas_parser_node_api.dxt

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.4.0"
2+
".": "1.4.1"
33
}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 1.4.1 (2025-09-12)
4+
5+
Full Changelog: [v1.4.0...v1.4.1](https://github.com/CASParser/cas-parser-node/compare/v1.4.0...v1.4.1)
6+
7+
### Bug Fixes
8+
9+
* coerce nullable values to undefined ([5355e4d](https://github.com/CASParser/cas-parser-node/commit/5355e4dc9d5acca9d1c0fbb58539c4106af4d1b0))
10+
* **mcp:** fix uploading dxt release assets ([a6e483b](https://github.com/CASParser/cas-parser-node/commit/a6e483ba375b7d97278928526ed10b2cc564bfa3))
11+
12+
13+
### Chores
14+
15+
* **mcp:** upload dxt as release asset ([334e4d3](https://github.com/CASParser/cas-parser-node/commit/334e4d3dc3124709dc485d968d07fde384d3b23f))
16+
317
## 1.4.0 (2025-09-06)
418

519
Full Changelog: [v1.3.0...v1.4.0](https://github.com/CASParser/cas-parser-node/compare/v1.3.0...v1.4.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cas-parser-node",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "The official TypeScript library for the Cas Parser API",
55
"author": "Cas Parser <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cas-parser-node-mcp",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "The official MCP Server for the Cas Parser API",
55
"author": "Cas Parser <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const newMcpServer = () =>
3333
new McpServer(
3434
{
3535
name: 'cas_parser_node_api',
36-
version: '1.4.0',
36+
version: '1.4.1',
3737
},
3838
{ capabilities: { tools: {}, logging: {} } },
3939
);

src/internal/utils/values.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,21 @@ export const coerceBoolean = (value: unknown): boolean => {
7676
};
7777

7878
export const maybeCoerceInteger = (value: unknown): number | undefined => {
79-
if (value === undefined) {
79+
if (value == null) {
8080
return undefined;
8181
}
8282
return coerceInteger(value);
8383
};
8484

8585
export const maybeCoerceFloat = (value: unknown): number | undefined => {
86-
if (value === undefined) {
86+
if (value == null) {
8787
return undefined;
8888
}
8989
return coerceFloat(value);
9090
};
9191

9292
export const maybeCoerceBoolean = (value: unknown): boolean | undefined => {
93-
if (value === undefined) {
93+
if (value == null) {
9494
return undefined;
9595
}
9696
return coerceBoolean(value);

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.4.0'; // x-release-please-version
1+
export const VERSION = '1.4.1'; // x-release-please-version

0 commit comments

Comments
 (0)