|
| 1 | +# 2.2.1 |
| 2 | +* Windows NTFS junction fix |
| 3 | + * Automatically disable it on Java 26+ as [JDK-8364277](https://bugs.openjdk.org/browse/JDK-8364277) is fixed there |
| 4 | + * Backport changes from Java 25 to ensure compatibility and get performance improvements (JEP 486) |
| 5 | +* Updated dependencies |
| 6 | + |
| 7 | +# 2.2.0 |
| 8 | +* Added an explicit option for enabling the Windows NTFS junction fix: ``useWinNTFSJunctionFixIfApplicable`` #155 |
| 9 | + * 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 |
| 10 | + * This option is temporary and will be removed once the [underlying JDK bug](https://bugs.openjdk.org/browse/JDK-8364277) was fixed |
| 11 | +* The default logger of ``AdvancedImageFromDockerFile`` now also includes ``dockerImageName`` to make it easier to distinguish between parallel builds |
| 12 | + |
| 13 | +# 2.1.1 |
| 14 | +* Addresses a JDK bug which results in a crash or "infinite" loop when encountering recursive NTFS junctions on Windows #155 |
| 15 | + |
| 16 | +# 2.1.0 |
| 17 | +* Add customizer for ``TransferArchiveTARCompressor`` |
| 18 | +* Create more predefined FileContentModifiers |
| 19 | + * This allows to e.g. remove not needed Maven modules when building |
| 20 | + |
| 21 | +# 2.0.2 |
| 22 | +* Don't try to pull reserved ``scratch`` image during build |
| 23 | + |
| 24 | +# 2.0.1 |
| 25 | +* Improve matching in ``DockerfileCOPYParentsEmulator`` #134 |
| 26 | + * Now should properly handle ``./`` |
| 27 | + |
| 28 | +# 2.0.0 |
| 29 | +* Changed ignore backend to utilize [JGit](https://github.com/eclipse-jgit/jgit) |
| 30 | + * This should now behave exactly like a ``.gitignore`` |
| 31 | + * Overall performance should be a lot faster |
| 32 | +* Make it possible to modify transferred files |
| 33 | +* 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) |
| 34 | + * This option is required to utilize Docker's cache properly |
| 35 | + ```docker |
| 36 | + # syntax=docker/dockerfile:1-labs |
| 37 | + # ... |
| 38 | + |
| 39 | + # Copy & Cache wrapper |
| 40 | + COPY --parents mvnw .mvn/** ./ |
| 41 | + RUN ./mvnw --version |
| 42 | +
|
| 43 | + # Copy & Cache poms/dependencies |
| 44 | + COPY --parents **/pom.xml ./ |
| 45 | + # Resolve jars so that they can be cached and don't need to be downloaded when a Java file changes |
| 46 | + RUN ./mvnw -B dependency:go-offline -pl app -am -DincludeScope=runtime -T2C |
| 47 | +
|
| 48 | + # Copying all other files |
| 49 | + COPY . ./ |
| 50 | + # Run the actual build |
| 51 | + RUN ./mvnw -B clean package -pl app -am -T2C -Dmaven.test.skip |
| 52 | + ``` |
| 53 | +* At ton of minor optimizations and improvements |
| 54 | +
|
| 55 | +# 1.2.0 |
| 56 | +* Provide an option to always transfer specific paths |
| 57 | +* Always transfer Dockerfile - as it is required for building - by default |
| 58 | +
|
| 59 | +# 1.1.1 |
| 60 | +* Migrated deployment to _Sonatype Maven Central Portal_ [#155](https://github.com/xdev-software/standard-maven-template/issues/155) |
| 61 | +
|
| 62 | +# 1.1.0 |
| 63 | +* Remove testcontainer's dependency [onto JUnit 4](https://github.com/xdev-software/testcontainers-junit4-mock/?tab=readme-ov-file) |
| 64 | +* Updated dependencies |
| 65 | +
|
| 66 | +# 1.0.2 |
| 67 | +* Do not pull images that are declared inside the Dockerfile (Multi-Stage build) |
| 68 | +
|
| 69 | +# 1.0.1 |
| 70 | +* Minor improvements in cleanup behavior (backported from upstream) |
| 71 | +
|
| 72 | +# 1.0.0 |
| 73 | +_Initial release_ |
0 commit comments