From fdab98ad41f1b1b47bb5018c34cc41f0a5000689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20K=C3=B6rber?= Date: Mon, 20 Aug 2018 23:17:38 +0200 Subject: [PATCH] Mention deprecated methods in migration guide --- src/site/markdown/migration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/site/markdown/migration.md b/src/site/markdown/migration.md index d8d644c7..69d2de72 100644 --- a/src/site/markdown/migration.md +++ b/src/site/markdown/migration.md @@ -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.