Skip to content
Open
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
11 changes: 0 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: astral-sh/setup-uv@v3
# The Python codegen shells out to `ruff format`; different ruff
# versions wrap long lines differently, so the snapshot-drift
# check below is meaningless unless CI and local devs use the
# same ruff version. Pin it explicitly.
- uses: astral-sh/ruff-action@v3
with:
version: "0.15.8"
# `args` short-circuits the action's default `ruff check` —
# we only want ruff on PATH so the codegen can shell out to
# `ruff format`, not for the action itself to lint the repo.
args: "--version"
- name: Regenerate demo Python client from schema
run: |
cargo run -p reflectapi-cli --quiet -- codegen \
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Python package codegen now emits sibling submodule imports in dependency order, so Python 3.14/Pydantic can import generated packages where one sibling model annotation references another sibling namespace.
- Python codegen now formats with a bundled Ruff wasm formatter, so generated Python output is deterministic even when `ruff` is not installed locally.
- Rust codegen snapshot typechecking now handles macOS proc-macro library names instead of assuming Linux-style `.so` files.

## 0.17.5
Expand Down
188 changes: 184 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

### Building and running

Ensure that you have `prettier`, `rustfmt`, and `ruff` available in your PATH for consistently formatted generated code.
Ensure that you have `prettier` and `rustfmt` available in your PATH for consistently formatted generated TypeScript and Rust code. Python codegen uses a bundled Ruff formatter.

To run the demo server:

Expand Down
Loading
Loading