Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [Unreleased]
### Fixed
- The released jar no longer ships the example migrations. They were test
fixtures under `resources/migrations/`, so every consumer received them on the
classpath. An uberjar merged them next to the `migrations/` resource of a
consumer, so the consumer loaded and ran them. The files now live under
`test/resources/migrations/`, off the packaged path.

### Changed
- **BREAKING: the `:schema` step is replaced by `:schema/create` and
`:schema/alter`.** The old `:schema` step was ambiguous — it could add new
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
(println "\nWriting pom.xml...")
(b/write-pom opts)
(println "\nCopying source...")
(b/copy-dir {:src-dirs ["resources" "src"] :target-dir class-dir})
(b/copy-dir {:src-dirs ["src"] :target-dir class-dir})
(println "\nBuilding JAR..." (:jar-file opts))
(b/jar opts))
opts)
Expand Down
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{:paths ["src" "resources"]
{:paths ["src"]
;; datalevin is pinned to the LOWEST version we support (the floor), not the
;; newest. A plain :mvn/version is a soft/minimum constraint: pinning the floor
;; lets consumers choose their own datalevin (a top-level dep wins in tools.deps;
Expand All @@ -12,7 +12,7 @@
dev.weavejester/ragtime.core {:mvn/version "0.12.1"}
com.taoensso/trove {:mvn/version "1.1.0"}}
:aliases
{:test {:extra-paths ["test"]
{:test {:extra-paths ["test" "test/resources"]
:extra-deps {org.clojure/test.check {:mvn/version "1.1.3"}
lambdaisland/kaocha {:mvn/version "1.91.1392"}
lambdaisland/kaocha-cloverage {:mvn/version "1.1.89"}}}
Expand Down
Empty file removed resources/.keep
Empty file.
Loading