diff --git a/CHANGELOG.md b/CHANGELOG.md index 71f15d5..96d4db8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## 1.1.2 (02/20/2020) -- Fixed bug preventing the library from auto-renewing a session when it expires. +#### Bugfixes +- [ISSUE-45](https://github.com/Crim/pardot-java-client/issues/45) Fixed bug preventing the library from auto-renewing a session when it expires. + +#### Internal Dependency Updates +- Upgraded Jackson from version 2.10.1 to 2.10.2. +- Upgraded HttpComponents Client from version 4.5.10 to 4.5.11. +- Upgraded SLF4J from version 1.7.29 to 1.7.30. ## 1.1.1 (01/07/2020) - Fixed bug in User create endpoint where setting a new user's role could only be set via a RoleId. Now you can set the role by name or id. diff --git a/build/checkstyle.xml b/build/checkstyle.xml index 3055e8d..7d31b4a 100644 --- a/build/checkstyle.xml +++ b/build/checkstyle.xml @@ -13,6 +13,11 @@ + + + + + @@ -25,10 +30,6 @@ - - - - @@ -154,12 +155,12 @@ - - - - - + + + + + diff --git a/pom.xml b/pom.xml index 6417f62..388f3a2 100644 --- a/pom.xml +++ b/pom.xml @@ -47,19 +47,19 @@ UTF-8 - 2.10.1 + 2.10.2 - 4.12 + 4.13 build/checkstyle.xml - 3.0.0 - 8.18 + 3.1.0 + 8.29 2.12.1 - 1.7.29 + 1.7.30 false @@ -76,7 +76,7 @@ org.apache.httpcomponents httpclient - 4.5.10 + 4.5.11 diff --git a/src/main/java/com/darksci/pardot/api/response/user/NewUser.java b/src/main/java/com/darksci/pardot/api/response/user/NewUser.java index 048a5d1..324be21 100644 --- a/src/main/java/com/darksci/pardot/api/response/user/NewUser.java +++ b/src/main/java/com/darksci/pardot/api/response/user/NewUser.java @@ -82,6 +82,7 @@ public Long getRoleId() { /** * You can set the user's role by Id OR Name. * @param roleId Id of the role to set. + * @return self for method chaining. */ public NewUser setRoleId(final Long roleId) { this.roleId = roleId; @@ -100,6 +101,7 @@ public String getRole() { /** * You can set the user's role by Name or Id. * @param role Name of the role to set. + * @return self for method chaining. */ public NewUser setRole(final String role) { this.role = role;