Skip to content

Releases: ascopes/java-compiler-testing

v1.1.2

29 Aug 18:15

Choose a tag to compare

What's Changed

  • Multiple null annotation fixes
  • Bump actions/deploy-pages from 2.0.3 to 2.0.4 by @dependabot in #537
  • Bump avaje-jsonb.version from 1.6 to 1.7 by @dependabot in #536
  • Bump io.micronaut:micronaut-bom from 3.10.0 to 3.10.1 by @dependabot in #539
  • Bump auto-value.version from 1.10.2 to 1.10.3 by @dependabot in #538
  • Tidy up JctExtension.java by @ascopes in #540
  • Bump org.mockito:mockito-bom from 5.4.0 to 5.5.0 by @dependabot in #546
  • Bump org.apache.groovy:groovy from 4.0.13 to 4.0.14 by @dependabot in #544
  • Bump com.puppycrawl.tools:checkstyle from 10.12.2 to 10.12.3 by @dependabot in #545
  • Bump org.springframework.boot:spring-boot-dependencies from 3.1.2 to 3.1.3 by @dependabot in #547

Full Changelog: v1.1.1...v1.1.2

v1.1.1

10 Aug 07:39

Choose a tag to compare

What's Changed

  • Fixes for various places missing nullability annotations.
  • Documentation fixes.
  • Various pieces of housekeeping work:

Full Changelog: v1.1.0...v1.1.1

v1.1.0

30 Jul 12:00

Choose a tag to compare

What's Changed

  • Implement default file manager creation hooks by @ascopes in #523
  • Rework internal exceptions to be tied to custom exception types by @ascopes in #524
  • Implement JctCompiler.useRuntimeRelease() by @ascopes in #525

Full Changelog: v1.0.3...v1.1.0

v1.0.3

29 Jul 07:17

Choose a tag to compare

What's Changed

  • Use locks for JctFileManagerConfigurerChain.java by @ascopes in #518
  • Bump org.junit:junit-bom from 5.9.3 to 5.10.0 by @dependabot in #521
  • Bump org.springframework.boot:spring-boot-dependencies from 3.1.1 to 3.1.2 by @dependabot in #520
  • Bump actions/setup-java from 3.11.0 to 3.12.0 by @dependabot in #519

Full Changelog: v1.0.2...v1.0.3

v1.0.2

22 Jul 08:04

Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

15 Jul 08:55

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

01 Jul 07:29

Choose a tag to compare

What's Changed

Full Changelog: v0.7.3...v1.0.0

v1.0.0-RC2

17 Jun 09:23

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0-RC1...v1.0.0-RC2

v1.0.0-RC1

28 May 08:19

Choose a tag to compare

This is the first release candidate for the v1.0 stable release.

Changes

The aim of this set of changes is to remove all deprecated functionality that has been removed to simplify this API for the vast majority of use cases. I have attempted to ensure all functionality that may still be required in edge cases is still accessible via more explicit method calls.

The details of these changes are az follows:

  • Remove deprecated features for v1.0.0 by @ascopes in #395
    • Remove 'modules' parameter for JavacCompilersTest and related functionality.
    • Remove 'modules' parameter in minSupportedVersion and maxSupportedVersion in JavacJctCompilerImpl.
    • Remove deprecated JctCompilers.createPlatformCompiler, as we now just use JctCompilers.newPlatformCompiler instead.
    • Remove deprecation warnings around toString in AbstractJctCompiler.
    • Remove default override for JctCompilation.getArguments -- this is now a required method to be implemented by custom implementations.
    • Move PathRoot.asJar into implementation level. Custom PathRoots must now provide this method explicitly.
    • Remove platform classpath features deprecated in #396 -- platform classpath functionality historically was for Java versions prior to Java 11, and is mostly replaced with the system modules mechanism. If you still need to use this, you can use one of the method overrides that consume a Location object instead, passing StandardLocation.PLATFORM_CLASS_PATH as the Location parameter.
    • Remove obscure deprecated methods in JctFileManager and Workspace classes as part of GH-417. If you still need to use this, you can use one of the method overrides that consume a Location object instead, passing StandardLocation as the Location parameter. The following methods have been affected:
      • Removed JctFileManager.getNativeHeaderOutputGroup
      • Removed JctFileManager.getUpgradeModulePathGroup
      • Removed JctFileManager.getSystemModulesGroup
      • Removed JctFileManager.getPatchModulePathGroup
      • Removed Workspace.addNativeHeaderOutputPackage
      • Removed Workspace.addNativeHeaderOutputModule
      • Removed Workspace.addUpgradeModulePathModule
      • Removed Workspace.addSystemModulePathModule
      • Removed Workspace.addPatchModulePathModule
      • Removed Workspace.createNativeHeaderOutputPackage
      • Removed Workspace.createNativeHeaderOutputModule
      • Removed Workspace.createUpgradeModulePathModule
      • Removed Workspace.createSystemModulePathModule
      • Removed Workspace.createPatchModulePathModule
      • Removed Workspace.getNativeHeaderOutputPackages
      • Removed Workspace.getNativeHeaderOutputModules
      • Removed Workspace.getUpgradeModulePathModules
      • Removed Workspace.getSystemModulePathModules
      • Removed Workspace.getPatchModulePathModules
      • Removed Workspace.getNativeHeaderOutputModule
      • Removed Workspace.getUpgradeModulePathModule
      • Removed Workspace.getSystemModulePathModule
      • Removed Workspace.getPatchModulePathModule
    • Remove deprecated RamFileSystemProvider mechanism
    • Fix MemoryFileSystemProviderImpl to make use of the provided file system name
    • Fix a couple of bugs regarding MemoryFileSystemProvider disallowing specific
      characters in file system names.
    • Remove JctCompilationAssert.generatedHeaders - If you still need to use this, you can use one of the method overrides that consume a Location object instead, passing StandardLocation as the Location parameter.
    • Remove methods deprecated in GH-447 for JctCompilationAssert - all of these have new methods in the same class that are named consistently with the rest of this library. Check the documentation for JctCompilationAssert to see what is available.
      • Removed JctCompilationAssert.classOutput
      • Removed JctCompilationAssert.sourceOutput
      • Removed JctCompilationAssert.classPath
      • Removed JctCompilationAssert.sourcePath
      • Removed JctCompilationAssert.moduleSourcePath
      • Removed JctCompilationAssert.modulePath
    • Remove deprecated PathFileObject.getFullPath, which has been replaced with PathFileObject.getAbsolutePath
    • Make PathFileObject into an interface, and make the existing implementation become part of the internal API.

Full Changelog: v0.7.3...v1.0.0-RC1

v0.7.3

27 May 12:39

Choose a tag to compare

What's Changed

  • Implement path file object assertion tests by @ascopes in #469

    • This deprecates PathFileObject#getFullPath. Use PathFileObject#getAbsolutePath instead. The former will be removed in v1.0.0.
  • Bump gmavenplus-plugin from 2.1.0 to 3.0.0 by @dependabot in #472

  • Bump lombok from 1.18.26 to 1.18.28 by @dependabot in #473

  • Bump maven-checkstyle-plugin from 3.2.2 to 3.3.0 by @dependabot in #471

  • Bump avaje-inject.version from 9.1 to 9.2 by @dependabot in #470

  • Bump auto-service from 1.0.1 to 1.1.0 by @dependabot in #474

  • Bump maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot in #475

Full Changelog: v0.7.2...v0.7.3