Skip to content

release: v1.1.0 - #9

Merged
Headgent merged 1 commit into
mainfrom
develop
Aug 10, 2026
Merged

release: v1.1.0#9
Headgent merged 1 commit into
mainfrom
develop

Conversation

@Headgent

Copy link
Copy Markdown
Contributor

Release v1.1.0

…e() (#8)

* feat(repository): add optional $expected conditions to update()/delete() for optimistic-concurrency writes

Adds an additive $expected parameter (column => scalar|null) to Repository::update()/delete(),
routed through a shared ApplyExpectedConditions closure appending AND equals()/isNull() guards.
Empty $expected leaves the existing query path untouched (byte-identical SQL); empty $values
with a non-empty $expected and non-scalar $expected values raise InvalidArgumentException.

Claude-Session: https://claude.ai/code/session_01B3myqC1R5NcWWMHxDh6zBH

* docs(repository): Conditional-Writes-API in README und SKILL.md dokumentiert

Ergänzt README (Advanced Usage) und SKILL.md um die neue $expected-Erweiterung von
update()/delete() — Signaturen, NULL-Semantik, Bedeutung von false, Vertragsgrenzen
(InvalidArgumentException), MySQL-rowCount-Randnotiz.

Claude-Session: https://claude.ai/code/session_01B3myqC1R5NcWWMHxDh6zBH
@Headgent
Headgent merged commit 191d2a9 into main Aug 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant