Skip to content

Release version 0.3.3

Latest
Compare
Choose a tag to compare
@abogoyavlensky abogoyavlensky released this 13 Apr 17:37
· 5 commits to master since this release
693a236

0.3.3 - 2024-04-13

Added

  • Read database URL from env variable by default.
  • Add ability to set a name for the env variable of database URL.
  • Add ability to run commands from a jar.
  • Add CLI-interface for Leiningen support

Changed

  • Make migrations-dir and models-file params optional with default value.
  • BREAKING migrations-dir and models-file should contain relative path to resources dir.
  • Add ability to set custom resources dir using :resources-dir.
  • Upgrade dependencies.

Notes about breaking change of paths config:

  • If you use path values as:
{:migrations-dir "resources/db/migrations" 
 :models-file "resources/db/models.edn"}

then you can just remove that from config and everything will work as expected because
those values are defaults now.

  • If you have custom values for paths:
{:migrations-dir "resources/path/to/migrations" 
 :models-file "resources/path/to/models.edn"}

then you need to remove resources dir from paths, because now it is a default:

{:migrations-dir "path/to/migrations" 
 :models-file "path/to/models.edn"}
  • If you use custom resources dir, you can specify it, for example, as:
{...
 :resources-dir "content"}

Full Changelog: 0.3.2...0.3.3