This is a bugfix release focused on boundary-admin correctness in split-table setups and bb create-admin reliability in freshly generated projects.
Fixed: boundary-admin split-table operations (BOU-28)
Four related issues affecting admin entities whose table name differs from their key (e.g. :users → auth_users) and entities using soft-delete in split-table configurations:
-
schema_repository/get-entity-confignow uses:table-namefrom manual entity config when fetching table metadata, so entity resolution works correctly when the key and table name differ. -
bulk-delete-entitiesnow targets:soft-delete-tableinstead of:table-namewhen soft-deleting — fixing bulk deletes in split-table setups. -
update-entityandupdate-entity-fieldnow useexecute-update!for DML statements instead ofexecute-one!, fixing UPDATE execution in both split-table and single-table paths. -
Added
:soft-delete trueto the defaultusersadmin entity config so soft-delete is enabled out of the box.
Fixed: bb create-admin in generated projects (BOU-27)
bb create-admin now works in freshly generated projects. The previous implementation shelled out to clojure -M:cli:db, which requires boundary.cli — a monorepo-only namespace never included in published libraries. It now uses clojure -M:user-cli with a -e eval entry point, requiring no unpublished code.
Two supporting changes in the CLI generator:
-
Generated
deps.ednnow includes a:user-clialias with all four JDBC drivers (SQLite, PostgreSQL, H2, MySQL), sobb create-adminworks regardless of which database adapter the project uses. -
Generated
config.cljnow definesuser-validation-config, whichboundary.user.shell.cli-entryresolves at runtime viarequiring-resolve. -
bb create-adminpasses the target environment via theBND_ENVenvironment variable instead of-J-Denv=, matching howboundary.config/load-configactually reads the active profile.
Version alignment
All libraries bumped to v1.0.1-alpha-22 to maintain lockstep versioning.
Upgrade
Re-run the installer to pick up the latest release:
curl -fsSL https://get.boundary-app.org | bash
No breaking changes. Existing projects are unaffected unless they use bb create-admin or admin entities with split-table / soft-delete configurations.