Skip to content

Commit f23885a

Browse files
jvmvikclaude
andcommitted
chore: bump version to 1.2.0
Bump the project version and the places that restate it: - build.gradle, which names the published artifact - README installation snippet and changelog, in both the erb template and the generated README.md - SerpApiHttp.VERSION, which had drifted to 1.0.0 while the project was at 1.1.0. It is public and never read anywhere in the library, so the stale value was only ever visible to callers. demo/build.gradle still pins 1.0.0 and is left alone, since it resolves a published JitPack artifact rather than this source tree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent e3ad763 commit f23885a

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121
}
2222
2323
dependencies {
24-
implementation 'com.github.serpapi:serpapi-java:1.1.0'
24+
implementation 'com.github.serpapi:serpapi-java:1.2.0'
2525
}
2626
```
2727

@@ -566,7 +566,7 @@ If you are upgrading from the legacy [`google-search-results-java`](https://gith
566566
implementation 'com.github.serpapi:google-search-results-java:2.0.0'
567567
568568
// after
569-
implementation 'com.github.serpapi:serpapi-java:1.1.0'
569+
implementation 'com.github.serpapi:serpapi-java:1.2.0'
570570
```
571571

572572
### Class and method renames
@@ -664,6 +664,7 @@ On Windows, install a current JDK from your vendor and point `JAVA_HOME` at it.
664664
MIT license
665665

666666
## Changelog
667+
- 1.2.0 — Version bump
667668
- 1.1.0 — Java 21, Gradle 8.x; ongoing API and example updates
668669
- 1.0.0 — Revisit API naming and align the client with serpapi.com
669670

‎README.md.erb‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repositories {
3939
}
4040

4141
dependencies {
42-
implementation 'com.github.serpapi:serpapi-java:1.1.0'
42+
implementation 'com.github.serpapi:serpapi-java:1.2.0'
4343
}
4444
```
4545

@@ -303,7 +303,7 @@ If you are upgrading from the legacy [`google-search-results-java`](https://gith
303303
implementation 'com.github.serpapi:google-search-results-java:2.0.0'
304304

305305
// after
306-
implementation 'com.github.serpapi:serpapi-java:1.1.0'
306+
implementation 'com.github.serpapi:serpapi-java:1.2.0'
307307
```
308308

309309
### Class and method renames
@@ -401,6 +401,7 @@ On Windows, install a current JDK from your vendor and point `JAVA_HOME` at it.
401401
MIT license
402402

403403
## Changelog
404+
- 1.2.0 — Version bump
404405
- 1.1.0 — Java 21, Gradle 8.x; ongoing API and example updates
405406
- 1.0.0 — Revisit API naming and align the client with serpapi.com
406407

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jacocoTestReport {
2020
base {
2121
archivesName = 'serpapi'
2222
}
23-
version = '1.1.0'
23+
version = '1.2.0'
2424
group = 'com.github.serpapi'
2525

2626
java {

‎src/main/java/serpapi/SerpApiHttp.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class SerpApiHttp {
2222
/**
2323
* current API version
2424
*/
25-
public static String VERSION = "1.0.0";
25+
public static String VERSION = "1.2.0";
2626

2727
/**
2828
* backend service

0 commit comments

Comments
 (0)