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: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.6.8

### Added

- `$for` separator options: `separator = expr` inserts text between emitted
iterations, and `trailing = true` reuses that separator after the final item.
- Inline `$for` / `$if` continuations after source lines ending in `=` or `|`,
so multiline assignments and union-style declarations can keep their shape.

### Fixed

- Inline `$if` chains now preserve multiline fragments and keep `$else_if` /
`$else` attached when chains span source lines.
- Plain statement-level meta remains statement-level after Python `:`, nullable
type `?`, and comma-separated declarations.
- `$for` option diagnostics now name the invalid option and expected syntax.

### Changed

- Repository metadata, README badge, and mdBook edit links now point at
`rust-codegen-group/sigil-stitch` and the `main` branch.

## 0.6.7

### Added
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ members = ["macros"]
resolver = "3"

[workspace.package]
version = "0.6.7"
version = "0.6.8"
edition = "2024"
rust-version = "1.88.0"
license = "MIT OR Apache-2.0"
authors = ["Adam Cavendish"]
repository = "https://github.com/adamcavendish/sigil-stitch"
homepage = "https://github.com/adamcavendish/sigil-stitch"
repository = "https://github.com/rust-codegen-group/sigil-stitch"
homepage = "https://github.com/rust-codegen-group/sigil-stitch"

[package]
name = "sigil-stitch"
Expand All @@ -35,7 +35,7 @@ exclude = [
[dependencies]
pretty = "0.12"
snafu = "0.9"
sigil-stitch-macros = { path = "macros", version = "0.6.6" }
sigil-stitch-macros = { path = "macros", version = "0.6.8" }
serde = { version = "1", features = ["derive"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Type-safe, import-aware, width-aware code generation for multiple languages.

[![Crates.io](https://img.shields.io/crates/v/sigil-stitch.svg)](https://crates.io/crates/sigil-stitch)
[![docs.rs](https://docs.rs/sigil-stitch/badge.svg)](https://docs.rs/sigil-stitch)
[![CI](https://github.com/adamcavendish/sigil-stitch/actions/workflows/ci.yml/badge.svg)](https://github.com/adamcavendish/sigil-stitch/actions/workflows/ci.yml)
[![CI](https://github.com/rust-codegen-group/sigil-stitch/actions/workflows/ci.yml/badge.svg)](https://github.com/rust-codegen-group/sigil-stitch/actions/workflows/ci.yml)

sigil-stitch combines [JavaPoet](https://github.com/square/javapoet)'s builder + CodeBlock
model with [Wadler-Lindig pretty printing](https://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf)
Expand Down
4 changes: 2 additions & 2 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ src = "src"
build-dir = "book"

[output.html]
git-repository-url = "https://github.com/adamcavendish/sigil-stitch"
edit-url-template = "https://github.com/adamcavendish/sigil-stitch/edit/master/docs/{path}"
git-repository-url = "https://github.com/rust-codegen-group/sigil-stitch"
edit-url-template = "https://github.com/rust-codegen-group/sigil-stitch/edit/main/docs/{path}"

[output.html.search]
enable = true
Expand Down
Loading