Skip to content

Releases: 4sh/datamaintain

Version 2.1.0

15 Nov 16:45
Compare
Choose a tag to compare

Version content

✨ New features

  • #170 Autocomplete in CLI
  • #69 Option to scan only files corresponding to a regex
  • #42 Add option -v on cli to display version
  • #170 Add Builder for Config class

✨ Improvements

  • #196 Add docker package for Mongo 6
  • #109 Print warning when no scripts are found

🐛 Bug fixes

  • #81 IllegalStateException not explicit when no mongo executable

📝 Documentation

  • #191 Add documentation to launch Datamaintain
  • #167 Wrong or bad descriptions in DatamaintainDriver

♻️ Code & CI improvements

  • #158 Publish packages to maven central
  • #84 Refactor ByCaseInsensitiveSeparatorFreeAlphabeticalSortingStrategy

Use this new version

🐳 Docker packages

⚠️ Your docker needs an access to Github for you to use the packages provided here. You can grant it accesses following the Github documentation.

Version 2.0.0

08 Feb 10:27
Compare
Choose a tag to compare

Version content

💥 Breaking changes

Rename package group

The group of the package change due to stricter policies on Maven central.
com.github.4sh.datamaintain:datamaintain-core -> io.github.4sh.datamaintain:datamaintain-core
com.github.4sh.datamaintain:datamaintain-driver-mongo ->io.github.4sh.datamaintain:datamaintain-driver-mongo

Remove execution mode FORCE_MARK_AS_EXECUTED

This mode was deprecated in 1.2.0. It is now officially unsupported.
So you can't use CLI with : --execution-mode=FORCE_MARK_AS_EXECUTED
The new way is to use : --action=MARK_AS_EXECUTED

Extract common driver configuration

We factorized the db driver configuration that imply to rename some configurations keys.

Config or -D

Here the keys in config file (or -D) that changed :
db.mongo.uri -> db.uri
db.mongo.print.output -> db.print.output
db.mongo.save.output -> db.save.output

CLI

Here the options in CLI that changed :
--mongo-uri -> --db-uri
--mongo-print-output -> --print-db-output
--mongo-save-output -> --save-db-output

Provide the type of the db

We no longer support a default db type. In previous versions it was mongo but as we now manage different db types you must provide this configuration :

  • with configuration file : db.type=mongo
  • with CLI : --db-type mongo

✨ New features

#142 Add flags
#152 Configuration files inheritance
#38 Option on CLI to mark one script as executed
#34 Add JDBC driver

✨ Improvements

#161 Mongo 5.0 package
#154 Remove backward compatibility for dbType
#131 Display script name before execution

🐛 Bug fixes

#117 Handle multiple options on mongo URI

📝 Documentation

#146 Guidelines about good practices
#99 Workflow before/stop/after sample
#127 Add example of CLI syntax

♻️ Code & CI improvements

#172 Various dependencies upgrades
#155 Add tests for logging
#154 Introduce light executed script
#130 Build Datamaintain packages in docker
#166 Hardcoded library versions
#137 Remove MARK_AS_EXECUTED
#136 Remove exception catching & throwing duplication
#95 Extract generic driver configuration

Use this new version

🐳 Docker packages

⚠️ Your docker needs an access to Github for you to use the packages provided here. You can grant it accesses following the Github documentation.

Version 1.3.0

05 Oct 06:55
Compare
Choose a tag to compare

Version content

✨ New features

#147 Porcelain mode

✨ Improvements

#149 Tags paths relative to scan path
#162 Add mongosh support

🐛 Bug fixes

#150 Using db type in config files with CLI does not work

Use this new version

🐳 Docker packages

⚠️ Your docker needs an access to Github for you to use the packages provided here. You can grant it accesses following the Github documentation.

Version 1.2.0

09 Mar 16:39
Compare
Choose a tag to compare

Version content

✨ New features

#64 Trust mongo URI
#41 Check stage
#61 Docker packages including Datamaintain

✨ Improvements

#114 Add tests on the CLI
#85 Override script execution when checksum changed but filename did not

🐛 Bug fixes

#108 MVN error : Cannot resolve org.jetbrains.kotlin:kotlin-bom:1.3.70
#90 "Cannot run program mongo : Argument list too long" when use --mongo-save-output with large output
#107 Use ./ in path matcher

📝 Documentation

#91 How to write a driver
#86 Contributing guidelines

⚠️ In this version, the structure of your executed scripts changes. Please run this script on your database if you were using a previous version. This action is not mandatory to upgrade to this version but will be when you will upgrade to 2.0.

Use this new version

🐳 Docker packages

⚠️ Your docker needs an access to Github for you to use the packages provided here. You can grant it accesses following the Github documentation.

Version 1.1.0

15 Sep 15:57
c3d7e8f
Compare
Choose a tag to compare

New features

  • #78 Script execution duration time
  • #80 Whitelist of tags
  • #33 Tags to play again

Improvements

  • #75 Sorter strategy improvement
  • #71 Checks on relative path matchers
  • #74 Checks on identifier matching

Version 1.0.0

09 Mar 10:17
Compare
Choose a tag to compare
v1.0.0-rc14

fix bad pom generated in jitpack : core is only a compile dependency …

Version 0.1

11 Dec 06:28
Compare
Choose a tag to compare
Version 0.1 Pre-release
Pre-release
Merge branch 'feat-DTMT-20' into dev