Skip to content

Commit 84dd5cb

Browse files
chore(main): release 0.1.0
1 parent 692b509 commit 84dd5cb

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Changelog
2+
3+
## 0.1.0 (2025-11-23)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* Database struct replaced with CatalogBuilder, changes public API
9+
* **schema:** Public API completely restructured - SchemaBuilder removed, all type names changed, and parse_sql method signature modified
10+
* `parse` and `parse_from_settings` methods now take `&mut self` instead of `self` and return `Result<(), _>` instead of `Result<Self, _>`. This changes the API from a builder pattern to an in-place mutation pattern.
11+
12+
### Features
13+
14+
* add database constraints support and restructure schema parsing ([692b509](https://github.com/sqlc-plugins/sqlc-gen-core/commit/692b509ba0c62178970c4353bcf815ee9079f513))
15+
* add runtime module for sqlc.dev plugin execution ([9d11ac6](https://github.com/sqlc-plugins/sqlc-gen-core/commit/9d11ac60d83f1ec9c7a532a6b86008a898ce37d5))
16+
* add SQL schema parsing and constraint extraction ([9e70009](https://github.com/sqlc-plugins/sqlc-gen-core/commit/9e70009bd0448ff02490f8ca6e6fc2a6d5a6badc))
17+
* initial Rust crate for building sqlc plugins ([8f35804](https://github.com/sqlc-plugins/sqlc-gen-core/commit/8f358040c376933727d023f626af4a54ab748df4))
18+
19+
20+
### Code Refactoring
21+
22+
* change SchemaDef parse methods to use mutable references ([299093e](https://github.com/sqlc-plugins/sqlc-gen-core/commit/299093e484399750c6a97a0704c8a55274d456e8))
23+
* **schema:** restructure API from builder pattern to database-centric design ([456835a](https://github.com/sqlc-plugins/sqlc-gen-core/commit/456835ad6cc9e7ab9a479cf0410ec3d6a79bbb56))

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlc-gen-core"
3-
version = "0.0.0"
3+
version = "0.1.0"
44
edition = "2021"
55
publish = false
66
description = "A crate for building sqlc plugins"

0 commit comments

Comments
 (0)