Skip to content

Commit 1086c5a

Browse files
committed
chore(release): prepare v1.1.0
1 parent dbd543e commit 1086c5a

2 files changed

Lines changed: 13 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Added
11-
- **Git-like branch support for `version`**`version branch`, `version checkout`, `version tree`
12-
- `version branch` — lists all branches with current marker and tip hash; creates a new branch when a name is given; `--from <hash>` to branch from a specific commit
13-
- `version checkout <branch>` — switches HEAD to a symbolic ref pointing to the named branch; new commits advance only the checked-out branch tip
14-
- `version tree` — ASCII commit graph showing all branches with lane columns, `HEAD -> branch` decoration, short hash, date, and message (newest-first)
15-
- HEAD is now stored as a Git-style symbolic ref (`ref: refs/heads/main`) rather than a bare hash; branch tips live in `.deepdiffdb/refs/heads/<name>`
16-
- New `internal/version` files: `branch.go`, `tree.go`
17-
- 39 new unit tests covering store symbolic refs, branch lifecycle, and tree rendering (`tests/version/`)
18-
19-
## [1.5.0] - 2026-03-31
10+
## [1.1.0] - 2026-04-01
2011

2112
### Added
2213
- **Git-like versioning for DB diffs** (issue #16)
23-
- New `version` command group: `init`, `commit`, `log`, `diff`, `rollback`
24-
- `version init` — creates a `.deepdiffdb/` repository (objects store + HEAD pointer) in the current directory
25-
- `version commit` — runs a full schema+data diff and stores the result as a SHA-256 content-addressable commit; records both schema snapshots so rollback SQL can be generated offline
14+
- New `version` command group with 8 subcommands: `init`, `commit`, `log`, `diff`, `rollback`, `branch`, `checkout`, `tree`
15+
- `version init` — creates a `.deepdiffdb/` repository; HEAD stored as a symbolic ref (`ref: refs/heads/main`); branch tips in `refs/heads/<name>`
16+
- `version commit` — runs a full schema+data diff and stores the result as a SHA-256 content-addressable commit (zlib-compressed, Git fanout layout); records both schema snapshots for offline rollback generation
2617
- `version log` — walks the commit chain from HEAD, showing author, date, and drift markers (`[schema drift]`, `[data changes]`)
2718
- `version diff <hash1> <hash2>` — compares dev schema snapshots of two commits; reports added/removed tables and column/index changes
2819
- `version rollback <hash>` — generates driver-aware rollback SQL by inverting the stored diff; inherits safety defaults from `schema-migrate` (destructive ops commented out); supports `--out <file>` and `--driver` overrides
29-
- Commit objects stored as JSON in `.deepdiffdb/objects/<sha256>.json`
30-
- New `internal/version` package (`model.go`, `store.go`, `rollback.go`)
20+
- `version branch [<name>]` — lists all branches with current marker and tip hash; creates a new branch when a name is given; `--from <hash>` to branch from a specific commit
21+
- `version checkout <branch>` — switches HEAD to a symbolic ref pointing to the named branch; new commits advance only the checked-out branch tip
22+
- `version tree` — ASCII commit graph showing all branches with lane columns, `HEAD -> branch` decoration, short hash, date, and message (newest-first)
23+
- New `internal/version` package: `model.go`, `store.go`, `rollback.go`, `branch.go`, `tree.go`
24+
- 39 unit tests covering store symbolic refs, branch lifecycle, and tree rendering (`tests/version/`)
3125
- **Sample 17: Git-like Versioning** (`samples/17-git-like-versioning/`)
3226
- Two MySQL 8 containers (prod 3320, dev 3321) with a `shop` e-commerce schema
3327
- Three migration scripts simulating a real sprint cycle (V1 baseline → V2 FK+email → V3 reviews table)
34-
- Automated `scripts/demo.sh` end-to-end walkthrough writing rollback SQL to `diff-output/`
28+
- Automated `scripts/demo.sh` end-to-end walkthrough covering branches, checkout, and ASCII tree output
3529

3630
## [1.0.0] - 2026-03-22
3731

ROADMAP.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We release a new version every **Saturday**. Each release includes one or more f
88

99
---
1010

11-
## Current Status: v1.5.0 — Git-like Versioning 🎉
11+
## Current Status: v1.1.0 — Git-like Versioning 🎉
1212

1313
**Last Release:** 2026-03-31
1414

@@ -38,7 +38,7 @@ We release a new version every **Saturday**. Each release includes one or more f
3838

3939
## Completed Releases
4040

41-
### v1.5.0: Git-like Versioning for DB Diffs (Released 2026-03-31)
41+
### v1.1.0: Git-like Versioning for DB Diffs (Released 2026-04-01)
4242

4343
**Features Delivered:**
4444
- `version init` — initialises `.deepdiffdb/` repository (objects store + HEAD file) in the working directory
@@ -181,7 +181,7 @@ We release a new version every **Saturday**. Each release includes one or more f
181181

182182
### Phase 2 Features
183183

184-
1. ~~**Git-like Versioning for DB Diffs**~~**Released in v1.5.0 (2026-03-31)**
184+
1. ~~**Git-like Versioning for DB Diffs**~~**Released in v1.1.0 (2026-04-01)**
185185
- ~~Store diff history~~`version commit` — SHA-256 content-addressable commit objects in `.deepdiffdb/objects/`
186186
- ~~Diff between any two versions~~`version diff <h1> <h2>` — schema evolution comparison
187187
- ~~Rollback capabilities~~`version rollback <hash>` — driver-aware rollback SQL generation

0 commit comments

Comments
 (0)