diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e6fdfb0afe..3762bc79311 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog +## 27.1.2 - 2024-10-29 +* [#1912](https://github.com/stripe/stripe-java/pull/1912) add `tolerance` argument to `parseThinEvent` + - The default `tolerance` value is still what most users will want, but this fixes an oversight where it wasn't possible to set `tolerance` at all when parsing thin events +* [#1911](https://github.com/stripe/stripe-java/pull/1911) Fixes bug [#1899](https://github.com/stripe/stripe-java/issues/1899) + - Fixes the bug introduced in v27 where StripeException#getUserMessage on v1 API errors would return null instead of the error message. +* [#1906](https://github.com/stripe/stripe-java/pull/1906) Update webhook API version validation + - Update webhook event processing to accept events from any API version within the supported major release + ## 27.1.1 - 2024-10-18 * [#1901](https://github.com/stripe/stripe-java/pull/1901) update object tags for meter-related classes - + - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server. * [#1898](https://github.com/stripe/stripe-java/pull/1898) Clean up examples * [#1894](https://github.com/stripe/stripe-java/pull/1894) Fixed example for raw request in readme file diff --git a/README.md b/README.md index 78f9194115c..2b11736ac17 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Stripe Java client library -[![Maven Central](https://img.shields.io/badge/maven--central-v27.1.1-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) +[![Maven Central](https://img.shields.io/badge/maven--central-v27.1.2-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) [![JavaDoc](http://img.shields.io/badge/javadoc-reference-blue.svg)](https://stripe.dev/stripe-java) [![Build Status](https://github.com/stripe/stripe-java/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-java/actions?query=branch%3Amaster) [![Coverage Status](https://coveralls.io/repos/github/stripe/stripe-java/badge.svg?branch=master)](https://coveralls.io/github/stripe/stripe-java?branch=master) @@ -18,7 +18,7 @@ The official [Stripe][stripe] Java client library. Add this dependency to your project's build file: ```groovy -implementation "com.stripe:stripe-java:27.1.1" +implementation "com.stripe:stripe-java:27.1.2" ``` ### Maven users @@ -29,7 +29,7 @@ Add this dependency to your project's POM: com.stripe stripe-java - 27.1.1 + 27.1.2 ``` @@ -37,7 +37,7 @@ Add this dependency to your project's POM: You'll need to manually install the following JARs: -- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/27.1.1/stripe-java-27.1.1.jar) +- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/27.1.2/stripe-java-27.1.2.jar) - [Google Gson][gson] from . ### [ProGuard][proguard] diff --git a/VERSION b/VERSION index 4c8e2ce2ac9..c859fa17d6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -27.1.1 +27.1.2 diff --git a/gradle.properties b/gradle.properties index cad13c2b929..ef8beaa03be 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.stripe -VERSION_NAME=27.1.1 +VERSION_NAME=27.1.2 POM_URL=https://github.com/stripe/stripe-java POM_SCM_URL=git@github.com:stripe/stripe-java.git diff --git a/src/main/java/com/stripe/Stripe.java b/src/main/java/com/stripe/Stripe.java index 7df32611977..c5126f462b5 100644 --- a/src/main/java/com/stripe/Stripe.java +++ b/src/main/java/com/stripe/Stripe.java @@ -14,7 +14,7 @@ public abstract class Stripe { public static final String LIVE_API_BASE = "https://api.stripe.com"; public static final String UPLOAD_API_BASE = "https://files.stripe.com"; public static final String METER_EVENTS_API_BASE = "https://meter-events.stripe.com"; - public static final String VERSION = "27.1.1"; + public static final String VERSION = "27.1.2"; public static volatile String apiKey; public static volatile String clientId;