Releases: 4sh/datamaintain
Version 2.1.0
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
🐛 Bug fixes
- #81 IllegalStateException not explicit when no mongo executable
📝 Documentation
♻️ Code & CI improvements
- #158 Publish packages to maven central
- #84 Refactor ByCaseInsensitiveSeparatorFreeAlphabeticalSortingStrategy
Use this new version
🐳 Docker packages
Version 2.0.0
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
Version 1.3.0
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
Version 1.2.0
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
Use this new version
🐳 Docker packages
Version 1.1.0
Version 1.0.0
v1.0.0-rc14 fix bad pom generated in jitpack : core is only a compile dependency …
Version 0.1
Merge branch 'feat-DTMT-20' into dev