aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2019-03-25 23:36:16 +0100
committerRoel Spilker <r.spilker@gmail.com>2019-03-26 00:00:42 +0100
commit4e7414038ad9df25fb6d2ee76dd22421e1ff7005 (patch)
tree8ad77bb929cd0f7e5e47f410c6df4d3b4b2912b7 /doc
parente4b61e1263eb0eb832eb6cfbd97ad92e869ca27e (diff)
downloadlombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.tar.gz
lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.tar.bz2
lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.zip
[i2078] Add possibility to generate assert on `@NonNull`
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog.markdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown
index 4f8d203e..ac1bb097 100644
--- a/doc/changelog.markdown
+++ b/doc/changelog.markdown
@@ -2,8 +2,10 @@ Lombok Changelog
----------------
### v1.18.7 "Edgy Guinea Pig"
-* BUGFIX: var/val on methods that return an intersection type would now work in Eclipse [Issue #1986](https://github.com/rzwitserloot/lombok/issues/1986)
* FEATURE: You can now suppress generation of the `builder` method when using `@Builder`; usually because you're only interested in the `toBuilder` method. As a convenience we won't emit warnings about missing `@Builder.Default` annotations when you do this. [Issue #2046](https://github.com/rzwitserloot/lombok/issues/2046)
+* FEATURE: When using `@NonNull`, or any other annotation that would result in a null-check, you can configure to generate an assert statement instead. [Issue #2078](https://github.com/rzwitserloot/lombok/issues/2078).
+* BUGFIX: var/val on methods that return an intersection type would now work in Eclipse [Issue #1986](https://github.com/rzwitserloot/lombok/issues/1986)
+* IMPROBABLE BREAKING CHANGE: For fields and parameters marked non-null, if the method body starts with an assert statement to ensure the value isn't null, no code to throw an exception will be generated.
### v1.18.6 (February 12th, 2019)
* FEATURE: Javadoc on fields will now also be copied to the Builders' setters. Thanks for the contribution, Emil Lundberg. [Issue #2008](https://github.com/rzwitserloot/lombok/issues/2008)