diff --git a/README.md b/README.md
index 494033fd..53312d01 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Hetzner Cloud API for Java
Simple Java client for the Hetzner Cloud API.
-The current version is **2.1.0**.
+The current version is **2.1.1**.
It would be nice, if you submit pull requests.
@@ -37,7 +37,7 @@ Dependency:
me.tomsdevsn
hetznercloud-api
- 2.1.0
+ 2.1.1
compile
@@ -55,7 +55,7 @@ repositories({
})
dependencies({
- compile "me.tomsdevsn:hetznercloud-api:2.1.0"
+ compile "me.tomsdevsn:hetznercloud-api:2.1.1"
})
```
diff --git a/pom.xml b/pom.xml
index b58ec49d..f39f9e42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
me.tomsdevsn
hetznercloud-api
- 2.1.0
+ 2.1.1
HetznerCloud-API
Java-client for the Hetzner Cloud
diff --git a/src/main/java/me/tomsdevsn/hetznercloud/objects/general/Image.java b/src/main/java/me/tomsdevsn/hetznercloud/objects/general/Image.java
index b138a350..5737ddd6 100644
--- a/src/main/java/me/tomsdevsn/hetznercloud/objects/general/Image.java
+++ b/src/main/java/me/tomsdevsn/hetznercloud/objects/general/Image.java
@@ -31,6 +31,8 @@ public class Image {
private String osVersion;
@JsonProperty("rapid_redeploy")
private boolean rapidRedeploy;
+ @JsonDeserialize(using = DateDeserializer.class)
+ private Date deprecated;
@Data
public static class CreatedFrom {