|
| 1 | +# 4.2.0 |
| 2 | +* Make it possible to add (additional) labels directly |
| 3 | +* Updated dependencies |
| 4 | + |
| 5 | +# 4.1.2 |
| 6 | +* Do not copy logger in `copyForExactRebuild` |
| 7 | + |
| 8 | +# 4.1.1 |
| 9 | +* Move `cleanCreatedTransferFilesCache` method to correct place |
| 10 | + |
| 11 | +# 4.1.0 |
| 12 | +* New method `copyForExactRebuild` |
| 13 | + |
| 14 | +# 4.0.0 |
| 15 | +* Add `NativeAdvancedImageFromDockerfile` |
| 16 | + * Builds the image using a new `docker build` process |
| 17 | + * Runs isolated of Testcontainers / does not directly utilize Docker API |
| 18 | + * Comparison to `AdvancedImageFromDockerFile` |
| 19 | + * Advantages |
| 20 | + * Full buildx/buildkit support |
| 21 | + * Caching can easily be implemented (using --cache-to and --cache-from) |
| 22 | + * Disadvantages |
| 23 | + * buildx/buildkit is required locally |
| 24 | + * Authentication (if required) needs to be done manually |
| 25 | + * External process might not be fully controllable e.g. on JVM crash |
| 26 | + * No (type-safe) API |
| 27 | +* Abstracted common code of `NativeAdvancedImageFromDockerfile` and `AdvancedImageFromDockerfile` |
| 28 | +* Minor performance improvements |
| 29 | + |
| 30 | +# 3.0.1 |
| 31 | +* Add overload for `copyForIntermediateTag` |
| 32 | + |
| 33 | +# 3.0.0 |
| 34 | +* Added support to build intermediate named images (after the actual images was built) |
| 35 | + * This is highly useful if you want to cache certain images in a CI environment that ignores dangling images instead |
| 36 | +* All file transfer logic was moved to `FilesToTransferHandler` |
| 37 | +* Updated dependencies |
| 38 | + |
| 39 | +# 2.5.0 |
| 40 | +* Renamed `FastFilePathUtil` -> `FastFilePathRelativzer` |
| 41 | +* Updated dependencies |
| 42 | + |
| 43 | +# 2.4.1 |
| 44 | +* Updated dependencies |
| 45 | + |
| 46 | +# 2.4.0 |
| 47 | +* Update to Testcontainers v2 |
| 48 | + |
| 49 | +# 2.3.0 |
| 50 | +* Use Virtual Threads on Java 21+ |
| 51 | +* Minor optimizations |
| 52 | +* Updated dependencies |
| 53 | + |
| 54 | +# 2.2.1 |
| 55 | +* Windows NTFS junction fix |
| 56 | + * Automatically disable it on Java 26+ as [JDK-8364277](https://bugs.openjdk.org/browse/JDK-8364277) is fixed there |
| 57 | + * Backport changes from Java 25 to ensure compatibility and get performance improvements (JEP 486) |
| 58 | +* Updated dependencies |
| 59 | + |
| 60 | +# 2.2.0 |
| 61 | +* Added an explicit option for enabling the Windows NTFS junction fix: ``useWinNTFSJunctionFixIfApplicable`` #155 |
| 62 | + * Enabling it also requires adding ``--add-exports java.base/sun.nio.fs=ALL-UNNAMED`` or performance will be impacted by ~20x due to non-accessible file attributes cache |
| 63 | + * This option is temporary and will be removed once the [underlying JDK bug](https://bugs.openjdk.org/browse/JDK-8364277) was fixed |
| 64 | +* The default logger of ``AdvancedImageFromDockerFile`` now also includes ``dockerImageName`` to make it easier to distinguish between parallel builds |
| 65 | + |
| 66 | +# 2.1.1 |
| 67 | +* Addresses a JDK bug which results in a crash or "infinite" loop when encountering recursive NTFS junctions on Windows #155 |
| 68 | + |
| 69 | +# 2.1.0 |
| 70 | +* Add customizer for ``TransferArchiveTARCompressor`` |
| 71 | +* Create more predefined FileContentModifiers |
| 72 | + * This allows to e.g. remove not needed Maven modules when building |
| 73 | + |
| 74 | +# 2.0.2 |
| 75 | +* Don't try to pull reserved ``scratch`` image during build |
| 76 | + |
| 77 | +# 2.0.1 |
| 78 | +* Improve matching in ``DockerfileCOPYParentsEmulator`` #134 |
| 79 | + * Now should properly handle ``./`` |
| 80 | + |
| 81 | +# 2.0.0 |
| 82 | +* Changed ignore backend to utilize [JGit](https://github.com/eclipse-jgit/jgit) |
| 83 | + * This should now behave exactly like a ``.gitignore`` |
| 84 | + * Overall performance should be a lot faster |
| 85 | +* Make it possible to modify transferred files |
| 86 | +* Provide an option to emulate [``COPY --parents``](https://docs.docker.com/reference/dockerfile/#copy---parents) using ``DockerfileCOPYParentsEmulator`` (which is currently not supported by Docker out of the box) |
| 87 | + * This option is required to utilize Docker's cache properly |
| 88 | + ```docker |
| 89 | + # syntax=docker/dockerfile:1-labs |
| 90 | + # ... |
| 91 | + |
| 92 | + # Copy & Cache wrapper |
| 93 | + COPY --parents mvnw .mvn/** ./ |
| 94 | + RUN ./mvnw --version |
| 95 | +
|
| 96 | + # Copy & Cache poms/dependencies |
| 97 | + COPY --parents **/pom.xml ./ |
| 98 | + # Resolve jars so that they can be cached and don't need to be downloaded when a Java file changes |
| 99 | + RUN ./mvnw -B dependency:go-offline -pl app -am -DincludeScope=runtime -T2C |
| 100 | +
|
| 101 | + # Copying all other files |
| 102 | + COPY . ./ |
| 103 | + # Run the actual build |
| 104 | + RUN ./mvnw -B clean package -pl app -am -T2C -Dmaven.test.skip |
| 105 | + ``` |
| 106 | +* At ton of minor optimizations and improvements |
| 107 | +
|
| 108 | +# 1.2.0 |
| 109 | +* Provide an option to always transfer specific paths |
| 110 | +* Always transfer Dockerfile - as it is required for building - by default |
| 111 | +
|
| 112 | +# 1.1.1 |
| 113 | +* Migrated deployment to _Sonatype Maven Central Portal_ [#155](https://github.com/xdev-software/standard-maven-template/issues/155) |
| 114 | +
|
| 115 | +# 1.1.0 |
| 116 | +* Remove testcontainer's dependency [onto JUnit 4](https://github.com/xdev-software/testcontainers-junit4-mock/?tab=readme-ov-file) |
| 117 | +* Updated dependencies |
| 118 | +
|
| 119 | +# 1.0.2 |
| 120 | +* Do not pull images that are declared inside the Dockerfile (Multi-Stage build) |
| 121 | +
|
| 122 | +# 1.0.1 |
| 123 | +* Minor improvements in cleanup behavior (backported from upstream) |
| 124 | +
|
| 125 | +# 1.0.0 |
| 126 | +_Initial release_ |
0 commit comments