The API hasn't changed in an incompatible way, but there are 2 changes in behavior
1. 2afaaa5 aligns the behavior of the `enabled` flag in the Spring Boot starter with the behavior in the Quarkus extension: A bean of type `Migrations` will be provided in the application context regardless of that setting. You are free to use it any way you want. You might want to make sure your application is on a valid database or not without us applying the migrations. Or you just want to use the `info` api to get the current version
2. c98d757 makes `locations-to-scan` and `packages-to-scan` [Build Time configuration](https://quarkus.io/guides/config-reference#build-time-configuration), meaning they are evaluated at built respectively augmentation time. This allows to finally complete the feature I had on my list since forever [("Add a Quarkus extension")](https://github.com/michael-simons/neo4j-migrations/issues/8) in full: Delivered with c10c4468 in 1.2.2 for the first time, it is now fully supported (and tested) in natively distributed Quarkus applications as well and with that, feature complete. If you want (or need) file based locations outside an augmented application, please use the new `external-locations`. It supports only file-based locations, does not become part of the image and is changeable without re-augmentation.
๐ Features
- 20f27d3 Compress native CLI binaries. (372)
- b67fcc0 Add `apply` alias for `migrate` to the CLI.
- c98d757 Support classpath scanning in Quarkus native image.
- 2afaaa5 Allow disabling of migrations in Spring Boot without removing the `Migrations` bean. (361)
๐๏ธ Refactorings
- ccd6461 Fail early with `classpath://` locations passed to the CLI in native image. (369)
- 62278f2 Make sure that all sessions handed out use the latest bookmarks known. (370)
- 3923423 Use transaction functions for all interactions with Neo4j inside the core module. (365)
- a3422a8 Replace `MigrationsInitializer` in Quarkus extension with ServiceStartBuildItem.
- 4ad5dd0 Use List.sort instead of Collections.
๐ Documentation
- 6a5ca16 Improve core JavaDocs.
๐ Build
- 356fa46 Add end-to-end test for the native CLI. (371)
- 5ffda5c Use official GraalVM action for releasing. (366)
- 2c96895 Define a stable order for categories in the changelog.
Contributors
We'd like to thank the following people for their contributions:
- meistermeier