Skip to content

Commit 84273f6

Browse files
committed
Prepare for release 0.12.0.
1 parent 91cf25d commit 84273f6

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
Changelog
22
=========
3+
Version 0.12.0
4+
---------------
5+
IMPORTANT:
6+
* We now by default check/enforce that pure type-use annotations from JSpecify are written in the "right place" on array types, varargs types, and nested types. More
7+
details can be found in the [wiki](https://github.com/uber/NullAway/wiki/JSpecify-Support).
8+
We also expose `-XepOpt:NullAway:LegacyAnnotationLocations` flag to disable this new
9+
behavior for now to ease the migration. We expect to remove this flag in a future version
10+
of NullAway.
11+
* We now support writing @EnsuresNonNullIf on methods to capture cases where a method conditionally ensures that a field is @NonNull. Thanks @mauricioaniche for the contributions!
12+
13+
(The changelog below contains all changes from version 0.11.2, since version 0.11.3
14+
contains only one cherry-picked PR from master).
15+
16+
* Enforce Strict Interpretation Of Type Use Annotation Locations Outside of JSpecify mode (#1010)
17+
* Update handling of annotations on varargs argument (#1025)
18+
* Create basic unit tests for library model generation (#1031)
19+
* Partial handling for restrictive annotations on varargs in unannotated code (#1029)
20+
* Add missing source files in android-jarinfer-models-sdk modules (#1033)
21+
* External Library Models: Adding support for @nullable Method parameters (#1006)
22+
* JDK 23 support (#1034)
23+
* Support @EnsuresNonNullIf (#1044)
24+
* Update some Android astubx models (#1052)
25+
* Remove unused or unneeded JarInfer flags (#1050)
26+
* Enforce correct type-use annotation locations for nested types (#1045)
27+
* Update Android SDK 31 astubx models (#1054)
28+
* Fix bugs in reading varargs annotations from bytecodes (#1055)
29+
* General maintenance:
30+
- Update to Gradle 8.10 (#1023)
31+
- Update to Gradle 8.10.1 (#1036)
32+
- Update to Error Prone 2.32.0 (#1037)
33+
- Typo fix in README.md (#1041)
34+
- Fix Gradle config instructions (#1039)
35+
- Update to v4 of setup-gradle GitHub action (#1043)
36+
- Add extra JVM args needed for JMH on recent JDK versions (#1049)
37+
- Use HTTP instead of SSH for cloning repo for JMH Benchmarks (#1056)
38+
- Various version updates (#1051)
39+
- Update to Checker Framework 3.48.0 (#1030)
40+
341
Version 0.11.3
442
---------------
543
IMPORTANT: We have cherry-picked one PR in master since 0.11.2 for this release, it

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ org.gradle.caching=true
1212
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
1313

1414
GROUP=com.uber.nullaway
15-
VERSION_NAME=0.12.0-SNAPSHOT
15+
VERSION_NAME=0.12.0
1616

1717
POM_DESCRIPTION=A fast annotation-based null checker for Java
1818

0 commit comments

Comments
 (0)