v0.2.1
Bugfixes/API changes
This patch includes some new API changes that are non-breaking that were needed to
patch various bits and pieces internally.
- GH-354, GH-294, GH-356 related API changes:
- Add new method: PathFileObject#getBinaryName
- JctCompilationFactoryImpl will now error if no initial compilation units
were found with a clearer error message. - JctCompilationFactoryImpl will now error if any of the explicitly provided
class names are not found as compilation units. - JctCompilationFactoryImpl will now error if the list of provided class
names is non-null but empty. - Allow call chaining on PackageContainerGroupAssert#allFilesExist.
- Add a new method TeeWriter#getContent that gets the lines of content
within a TeeWriter, as this is easier to stub than #toString due to
how Mockito works internally. - Add a new method TeeWriter#wrapOutputStream that wraps a given
OutputStream and Charset in an OutputStreamWriter and inserts that
into a new TeeWriter that is returned. - Fix regression in JctCompilationFactoryImpl where the locale was not
being set during compilations. - Fix bug in JctCompilationFactory where the TeeWriter was not being flushed,
so buffered content may not have been written to System.out properly
in some edge cases. - Improve performance of JctCompilationFactoryImpl for explicit class name
lookup by avoiding creating a distinct collection that is iteratively
resized with O(n) space complexity. - Fixes GH-354: Fix incorrect logic for filtering explicit class names that previously
resulted in an exception being raised if annotation processing was not configured in
a very specific way.
Other changes
- Bump maven-surefire-plugin from 3.0.0-M8 to 3.0.0-M9 by @dependabot in #353
- Bump micronaut-bom from 3.8.4 to 3.8.5 by @dependabot in #352
- Bump checkerframework.version from 3.30.0 to 3.31.0 by @dependabot in #347
- Bump maven-javadoc-plugin from 3.4.1 to 3.5.0 by @dependabot in #348
- Bump avaje-jsonb.version from 1.1 to 1.2 by @dependabot in #350
- Bump maven-failsafe-plugin from 3.0.0-M8 to 3.0.0-M9 by @dependabot in #349
- Bump avaje-inject.version from 8.11 to 8.12 by @dependabot in #351
- Bump error_prone_core from 2.17.0 to 2.18.0 by @dependabot in #242
Full Changelog: v0.2.0...v0.2.1