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
18 changes: 0 additions & 18 deletions .changeset/wrapped-parsers-0-2.md

This file was deleted.

19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 0.1.15

### Patch Changes

- e206a13: The command now installs `@cosyte/astm`, `@cosyte/dicom`, `@cosyte/ncpdp`, `@cosyte/terminology` and `@cosyte/x12` at `^0.2.0`. No command, option, exit code or `CLI_*` code changes.

`cosyte fmt` still writes the canonical form for ASTM and NCPDP (Telecom and SCRIPT). Those parsers now write a message back as it was read by default, so `fmt` asks them for the canonical form explicitly.

A code the CLI passes through from a wrapped parser, in parentheses after `CLI_PARSE_FAILED` on stderr when an input cannot be parsed, is now that parser's 0.2 code. The exit code (`65`) and the `CLI_*` code do not change. The renamed codes are:

- `EMPTY_INPUT` from ASTM is now `ASTM_EMPTY_INPUT`.
- `EMPTY_INPUT` from NCPDP is now `NCPDP_SCRIPT_EMPTY_INPUT` (SCRIPT) or `NCPDP_TELECOM_EMPTY_INPUT` (Telecom).
- `EMPTY_INPUT` from DICOM is now `DICOM_EMPTY_INPUT`.
- `NOT_DICOM_PART_10` is now `DICOM_NOT_PART_10`.
- `INVALID_FILE_META` is now `DICOM_INVALID_FILE_META`.
- `UNSUPPORTED_TRANSFER_SYNTAX` from DICOM is now `DICOM_UNSUPPORTED_TRANSFER_SYNTAX`.

A script that matched one of the earlier strings should match the new one.

## 0.1.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion docs-content/api/src.md
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ The default, safe posture: no value ever reaches a secondary surface.

### VERSION

> `const` **VERSION**: `string` = `"0.1.14"`
> `const` **VERSION**: `string` = `"0.1.15"`

The `@cosyte/cli` version. On the uniform `v0.0.x-until-first-alpha` ladder.

Expand Down
2 changes: 1 addition & 1 deletion docs-content/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ you installed, the install is good:
```ts runnable
import { VERSION } from "@cosyte/cli";

VERSION; // => "0.1.14"
VERSION; // => "0.1.15"
```

The release tooling rewrites that value at each release, and the test suite compares it with the
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cosyte/cli",
"version": "0.1.14",
"version": "0.1.15",
"description": "The Cosyte command line for Node.js and TypeScript: one command over HL7 v2, FHIR R4, X12, ASTM, NCPDP, C-CDA, DICOM, and MLLP, with HL7 v2 to FHIR conversion from transform, code mapping from terminology, and the cosyte-mcp MCP server for agents.",
"keywords": [
"cli",
Expand Down
2 changes: 1 addition & 1 deletion src/core/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
* console.log(`cosyte ${VERSION}`);
* ```
*/
export const VERSION: string = "0.1.14";
export const VERSION: string = "0.1.15";
Loading