From 0dc4ee59abb384325cd70df324ae6c27ac0d1ba3 Mon Sep 17 00:00:00 2001 From: Stephen Powis Date: Wed, 23 Sep 2026 06:53:42 +0900 Subject: [PATCH 1/6] bump release version, update changelog --- CHANGELOG.md | 7 +++++-- pom.xml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index faa4afb..7b792ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## 4.0.1 (UNRELEASED) +## 4.1.0 (09/23/2026) +#### Feature Changes +- [https://github.com/Crim/pardot-java-client/issues/108](Issue-108) Salesforce SSO: Add support for Client Credentials Flow, Thanks for the contribution [FlipWarthog](https://github.com/FlipWarthog)! + #### Internal Dependency Updates - Upgraded Jackson from version 2.11.4 to 2.13.2. - Upgraded slf4j from version 1.7.30 to 1.7.36. @@ -208,4 +211,4 @@ the library prior to October 31st 2018. - Add support for List and ListMembership API endpoints. ## 0.1.0 (08/15/2017) -- Initial release! \ No newline at end of file +- Initial release! diff --git a/pom.xml b/pom.xml index 7314faf..ac5e7b1 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.darksci pardot-api-client - 4.0.1 + 4.1.0 jar @@ -363,4 +363,4 @@ - \ No newline at end of file + From 92caec5e6edbae413581a1664778ca4d03a93224 Mon Sep 17 00:00:00 2001 From: Stephen Powis Date: Wed, 23 Sep 2026 06:58:54 +0900 Subject: [PATCH 2/6] Update README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b62be56..76fd68d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This client library is released on Maven Central. Add a new dependency to your com.darksci pardot-api-client - 4.0.0 + 4.1.0 ``` @@ -50,6 +50,17 @@ final ConfigurationBuilder configuration = Configuration.newBuilder() "YourPardotBusinessUnitId" ); +/* + * If you want to use the client_credentials authentication flow: + */ +Configuration.newBuilder() + // This configures the client using the 'Client Credentials' authentication flow. + .withSsoLogin( + "YourConnectedAppClientId", + "YourConnectedAppClientSecret", + "YourPardotBusinessUnitId" + ); + /* * Alternatively, if you want to use the authorization_code authentication flow, * you can configure the client using a previously acquired refresh_token: From bfeb2bd443ff8454fea881392f73649a541ff554 Mon Sep 17 00:00:00 2001 From: Stephen Powis Date: Wed, 23 Sep 2026 06:59:25 +0900 Subject: [PATCH 3/6] Update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 76fd68d..81f222a 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,7 @@ user friendly Plain Old Java Objects (POJOs). [Crim](https://github.com/crim) [LoRez](https://github.com/lorez) [dai-00](https://github.com/dai-00) +[FlipWarthog](https://github.com/FlipWarthog) ## Releasing Steps for performing a release: From 0674eb54ea85247eee345576fb58ed4dc7174384 Mon Sep 17 00:00:00 2001 From: Stephen Powis Date: Wed, 23 Sep 2026 07:02:50 +0900 Subject: [PATCH 4/6] Bump Log4j2 version 2.17.2 to 2.26.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ac5e7b1..51c30ed 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ 8.29 - 2.17.2 + 2.26.1 1.7.36 From 3df29bc19bb8139c0917329442c040d5d28b8ef0 Mon Sep 17 00:00:00 2001 From: Stephen Powis Date: Wed, 23 Sep 2026 07:08:21 +0900 Subject: [PATCH 5/6] Update jackson to 2.22.2 --- CHANGELOG.md | 4 ++-- pom.xml | 2 +- .../java/com/darksci/pardot/api/parser/JacksonFactory.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b792ce..e5333a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - [https://github.com/Crim/pardot-java-client/issues/108](Issue-108) Salesforce SSO: Add support for Client Credentials Flow, Thanks for the contribution [FlipWarthog](https://github.com/FlipWarthog)! #### Internal Dependency Updates -- Upgraded Jackson from version 2.11.4 to 2.13.2. +- Upgraded Jackson from version 2.11.4 to 2.22.2. - Upgraded slf4j from version 1.7.30 to 1.7.36. - +- Upgraded log4j2 from version 2.17.2 to 2.26.1 (used by tests only). ## 4.0.0 (06/03/2021) diff --git a/pom.xml b/pom.xml index 51c30ed..7aa9751 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ UTF-8 - 2.13.2 + 2.22.2 4.13.2 diff --git a/src/main/java/com/darksci/pardot/api/parser/JacksonFactory.java b/src/main/java/com/darksci/pardot/api/parser/JacksonFactory.java index c971f14..4a83577 100644 --- a/src/main/java/com/darksci/pardot/api/parser/JacksonFactory.java +++ b/src/main/java/com/darksci/pardot/api/parser/JacksonFactory.java @@ -20,7 +20,7 @@ import com.darksci.pardot.api.parser.prospect.ProspectCustomFieldDeserializer; import com.darksci.pardot.api.response.customfield.ProspectCustomFieldValue; import com.fasterxml.jackson.databind.DeserializationFeature; -import com.fasterxml.jackson.databind.PropertyNamingStrategy; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.json.JsonMapper; import com.fasterxml.jackson.dataformat.xml.JacksonXmlModule; import com.fasterxml.jackson.dataformat.xml.XmlMapper; @@ -73,7 +73,7 @@ public static XmlMapper newInstance() { // Configure it mapper .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false) - .setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE) + .setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE) .registerModule(new JodaModule()) .setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")); From 83891b3366aa152f3dd4363bd9b0ba33ae6aeb6c Mon Sep 17 00:00:00 2001 From: Stephen Powis Date: Wed, 23 Sep 2026 07:09:58 +0900 Subject: [PATCH 6/6] fix whitespace --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5333a8..9335fd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Upgraded slf4j from version 1.7.30 to 1.7.36. - Upgraded log4j2 from version 2.17.2 to 2.26.1 (used by tests only). + ## 4.0.0 (06/03/2021) ### NOTE: Breaking Change