# Changelog

## Baseline

- First survey — no prior run to compare against. CAI 65.

## Lenses

- Code Health 65
- Architecture 69
- Maturity 70
- Readiness 72
- Security 75
- Domain Modelling 85
- Event-Driven 87
- Accessibility 62

## Changes since last survey

- 300 commits — 284 feature/other, 16 fixes

## By area

- (root) — 174 commits
- examples/todo — 14 commits
- docs/pnpm-lock.yaml — 9 commits
- .github/workflows — 7 commits
- backend/mongo — 7 commits
- docs/tutorial — 7 commits
- backend/postgres — 6 commits
- contrib/auth — 6 commits
- docs/backends — 6 commits
- (repo) — 5 commits
- backend/natsjs — 5 commits
- backend/nats — 4 commits
- docs/.vitepress — 4 commits
- docs/guide — 4 commits
- event/handler — 4 commits
- aggregate/repository — 3 commits
- exp/gtest — 3 commits
- command/builtin — 2 commits
- docs/package.json — 2 commits
- docs/reference — 2 commits

## Notable commits

- fix: Fix ambiguous selector in Tutorial chapter 2
- fix: Revert "Revert "fix(contrib/auth): add checks to ensure events apply only to current actor in Permissions methods""
- fix: Revert "fix(contrib/auth): add checks to ensure events apply only to current actor in Permissions methods"
- fix: fix(backend/nats): fix JetStream subjects
- fix: fix(backend/natsjs): replace aggStreams.Range with ListStreams to subscribe to existing streams
- fix: fix(command/cmdbus): track dispatch before publishing event
- fix: fix(contrib/auth): add checks to ensure events apply only to current actor in Permissions methods
- fix: fix(contrib/auth): correct roleGiven and roleRemoved checks to use slice containment instead of aggregate ID comparison
- fix: fix(go.mod): update google.golang.org/protobuf dependency from v1.35.2 to v1.36.0 to incorporate bug fixes and improvements in the latest version
- fix: fix(gtest): fix `TransitionTest` when matching same event multiple times with different event data
- fix: fix(postgres): handle nil values correctly
- fix: fix(postgres): resolve event table through search_path when validating schema
- fix: fix(repository_test.go): add event time to support fast machines during tests
- fix: fix(test): propagate Docker Compose test failures
- fix: fix: preserve deterministic order for equal sort keys
- fix: test(auth): fix role grant and add actor ID in permissions tests for correctness test(auth): correct PermissionsOf call to use actor's AggregateID in wildcard tests
- change: Add Pool option for Postgres backend
- change: Add interactive docs tour with lesson runner
- change: GOES-1: Improve PostgreSQL Backend
- change: Prevent caller to modify underlying array
- …and 280 more
