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
22 changes: 0 additions & 22 deletions .changeset/multi-granularity-converter.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @lexbuild/cli

## 1.25.0

### Minor Changes

- 6298069: Add single-pass multi-granularity conversion. The `convert-usc` and `convert-ecfr`
commands now accept `--granularities section,chapter,title[,part]` together with
`--output-chapter`, `--output-title`, and `--output-part` (eCFR only) to produce
every requested granularity from one parse of the source XML. The builders'
`emitAt` option accepts a `ReadonlySet<LevelType>` in addition to a single
`LevelType`, and deeper levels emit first so that higher-level emissions see the
complete subtree. Update scripts (`update-usc.sh`, `update-ecfr.sh`) collapse
their N `convert-*` invocations into one, yielding a ~40-50% reduction in the
incremental convert step's wall-clock on multi-granularity runs.

Back-compat: the existing `-g/--granularity` + `-o/--output` single-granularity
form continues to work unchanged and is mutually exclusive with
`--granularities`.

### Patch Changes

- Updated dependencies [6298069]
- @lexbuild/ecfr@1.25.0
- @lexbuild/core@1.25.0
- @lexbuild/usc@1.25.0
- @lexbuild/fr@1.25.0

## 1.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lexbuild/cli",
"version": "1.24.1",
"version": "1.25.0",
"description": "Compiler for legal and civic texts. Converts disparate statutory data into structured formats optimized for AI, RAG, and semantic search.",
"author": "Chris Thomas",
"license": "MIT",
Expand Down
18 changes: 18 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @lexbuild/core

## 1.25.0

### Minor Changes

- 6298069: Add single-pass multi-granularity conversion. The `convert-usc` and `convert-ecfr`
commands now accept `--granularities section,chapter,title[,part]` together with
`--output-chapter`, `--output-title`, and `--output-part` (eCFR only) to produce
every requested granularity from one parse of the source XML. The builders'
`emitAt` option accepts a `ReadonlySet<LevelType>` in addition to a single
`LevelType`, and deeper levels emit first so that higher-level emissions see the
complete subtree. Update scripts (`update-usc.sh`, `update-ecfr.sh`) collapse
their N `convert-*` invocations into one, yielding a ~40-50% reduction in the
incremental convert step's wall-clock on multi-granularity runs.

Back-compat: the existing `-g/--granularity` + `-o/--output` single-granularity
form continues to work unchanged and is mutually exclusive with
`--granularities`.

## 1.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lexbuild/core",
"version": "1.24.1",
"version": "1.25.0",
"description": "Core AST definitions, parsing infrastructure, and format-agnostic renderers for the LexBuild ecosystem.",
"author": "Chris Thomas",
"license": "MIT",
Expand Down
23 changes: 23 additions & 0 deletions packages/ecfr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @lexbuild/ecfr

## 1.25.0

### Minor Changes

- 6298069: Add single-pass multi-granularity conversion. The `convert-usc` and `convert-ecfr`
commands now accept `--granularities section,chapter,title[,part]` together with
`--output-chapter`, `--output-title`, and `--output-part` (eCFR only) to produce
every requested granularity from one parse of the source XML. The builders'
`emitAt` option accepts a `ReadonlySet<LevelType>` in addition to a single
`LevelType`, and deeper levels emit first so that higher-level emissions see the
complete subtree. Update scripts (`update-usc.sh`, `update-ecfr.sh`) collapse
their N `convert-*` invocations into one, yielding a ~40-50% reduction in the
incremental convert step's wall-clock on multi-granularity runs.

Back-compat: the existing `-g/--granularity` + `-o/--output` single-granularity
form continues to work unchanged and is mutually exclusive with
`--granularities`.

### Patch Changes

- Updated dependencies [6298069]
- @lexbuild/core@1.25.0

## 1.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ecfr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lexbuild/ecfr",
"version": "1.24.1",
"version": "1.25.0",
"description": "Electronic Code of Federal Regulations (eCFR) to Markdown converter for LexBuild",
"author": "Chris Thomas",
"license": "MIT",
Expand Down
23 changes: 23 additions & 0 deletions packages/fr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @lexbuild/fr

## 1.25.0

### Minor Changes

- 6298069: Add single-pass multi-granularity conversion. The `convert-usc` and `convert-ecfr`
commands now accept `--granularities section,chapter,title[,part]` together with
`--output-chapter`, `--output-title`, and `--output-part` (eCFR only) to produce
every requested granularity from one parse of the source XML. The builders'
`emitAt` option accepts a `ReadonlySet<LevelType>` in addition to a single
`LevelType`, and deeper levels emit first so that higher-level emissions see the
complete subtree. Update scripts (`update-usc.sh`, `update-ecfr.sh`) collapse
their N `convert-*` invocations into one, yielding a ~40-50% reduction in the
incremental convert step's wall-clock on multi-granularity runs.

Back-compat: the existing `-g/--granularity` + `-o/--output` single-granularity
form continues to work unchanged and is mutually exclusive with
`--granularities`.

### Patch Changes

- Updated dependencies [6298069]
- @lexbuild/core@1.25.0

## 1.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lexbuild/fr",
"version": "1.24.1",
"version": "1.25.0",
"description": "Federal Register XML to Markdown converter for LexBuild",
"author": "Chris Thomas",
"license": "MIT",
Expand Down
18 changes: 18 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @lexbuild/mcp

## 1.25.0

### Minor Changes

- 6298069: Add single-pass multi-granularity conversion. The `convert-usc` and `convert-ecfr`
commands now accept `--granularities section,chapter,title[,part]` together with
`--output-chapter`, `--output-title`, and `--output-part` (eCFR only) to produce
every requested granularity from one parse of the source XML. The builders'
`emitAt` option accepts a `ReadonlySet<LevelType>` in addition to a single
`LevelType`, and deeper levels emit first so that higher-level emissions see the
complete subtree. Update scripts (`update-usc.sh`, `update-ecfr.sh`) collapse
their N `convert-*` invocations into one, yielding a ~40-50% reduction in the
incremental convert step's wall-clock on multi-granularity runs.

Back-compat: the existing `-g/--granularity` + `-o/--output` single-granularity
form continues to work unchanged and is mutually exclusive with
`--granularities`.

## 1.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lexbuild/mcp",
"version": "1.24.1",
"version": "1.25.0",
"description": "Model Context Protocol server for LexBuild. Exposes U.S. legal sources to AI agents.",
"author": "Chris Thomas",
"license": "MIT",
Expand Down
23 changes: 23 additions & 0 deletions packages/usc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @lexbuild/usc

## 1.25.0

### Minor Changes

- 6298069: Add single-pass multi-granularity conversion. The `convert-usc` and `convert-ecfr`
commands now accept `--granularities section,chapter,title[,part]` together with
`--output-chapter`, `--output-title`, and `--output-part` (eCFR only) to produce
every requested granularity from one parse of the source XML. The builders'
`emitAt` option accepts a `ReadonlySet<LevelType>` in addition to a single
`LevelType`, and deeper levels emit first so that higher-level emissions see the
complete subtree. Update scripts (`update-usc.sh`, `update-ecfr.sh`) collapse
their N `convert-*` invocations into one, yielding a ~40-50% reduction in the
incremental convert step's wall-clock on multi-granularity runs.

Back-compat: the existing `-g/--granularity` + `-o/--output` single-granularity
form continues to work unchanged and is mutually exclusive with
`--granularities`.

### Patch Changes

- Updated dependencies [6298069]
- @lexbuild/core@1.25.0

## 1.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/usc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lexbuild/usc",
"version": "1.24.1",
"version": "1.25.0",
"description": "Federal U.S. Code specific element handlers and downloader for LexBuild",
"author": "Chris Thomas",
"license": "MIT",
Expand Down
Loading