Mention deprecated methods in migration guide

pull/81/head
Richard Körber 2018-08-20 23:17:38 +02:00
parent e67d0c1361
commit fdab98ad41
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
This document will help you migrate your code to the latest _acme4j_ version.
## Migration to Version 2.3
- `Authorization.getDomain()`, `Order.getDomains()` and `Problem.getDomain()` are deprecated now, and will be removed in version 2.4. If you use these methods, use `getIdentifier()` (or `getIdentifiers()`) to get an `Identifier` object, then invoke `Identifier.getDomain()` to get the domain name.
## Migration to Version 2.1
- This version adds [JSR 305](https://jcp.org/en/jsr/detail?id=305) annotations. If you use a null-safe language like Kotlin, or tools like SpotBugs, your code may fail to compile because of detected possible null pointer dereferences and unclosed streams. These are potential bugs that need to be resolved.