Skip to content

Commit 8fbcb8f

Browse files
committed
Release 2.0.0
1 parent c291500 commit 8fbcb8f

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup java
1515
uses: actions/setup-java@v1
1616
with:
17-
java-version: 8
17+
java-version: 11
1818
server-id: ossrh
1919
server-username: OSSRH_USERNAME # env variable for username in deploy
2020
server-password: OSSRH_PASSWORD # env variable for password in deploy

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [2.0.0]
810
Complete rewrite of the library. The models and endpoints are generated from output of my [spotify-web-api-parser](https://github.com/sonallux/spotify-web-api) which generates a machine-readable format of the [Spotify Web API Reference](https://developer.spotify.com/documentation/web-api/reference). This results in a lot of breaking changes around naming of objects, properties, endpoints and parameters.
911

1012
Other notable changes:
@@ -22,6 +24,7 @@ ApiCall<?> call2 = spotifyWebApi.getXApi().getX("requiredParam").optionalParam1(
2224
- Removed `SpotifyApi.callApi()` in favour of an `executeCall()` method on the new `ApiCall` class
2325
- Removed `SpotifyApi.callApiAndReturnBody()` in favour of an `execute()` method on the new `ApiCall` class
2426
- Added support for all authorization flows. See [here](https://github.com/sonallux/spotify-web-api-java/tree/main#authorization) for more details.
27+
- Bump minimum required Java version to Java 11
2528

2629
## [1.x.x]
2730
The changelog of the `1.x.x` version of the `spotify-web-api-java` can be found on the [master branch](https://github.com/sonallux/spotify-web-api-java/blob/master/CHANGELOG.md).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Java wrapper for Spotify's Web API.
99
This is the 2.x.x version of the `spotify-web-api-java` library. The 1.x.x version can be found on the [master branch](https://github.com/sonallux/spotify-web-api-java/tree/master)
1010

1111
## Installation
12-
This library will be available on [Maven Central](https://search.maven.org/search?q=g:%22de.sonallux.spotify%22%20AND%20a:%22spotify-web-api-java%22) in the future:
12+
This library is available on [Maven Central](https://search.maven.org/search?q=g:%22de.sonallux.spotify%22%20AND%20a:%22spotify-web-api-java%22) and requires at least Java 11:
1313

1414
### With maven
1515
```xml

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.sonallux.spotify</groupId>
88
<artifactId>spotify-web-api-java-parent</artifactId>
9-
<version>2.0.0-SNAPSHOT</version>
9+
<version>2.0.0</version>
1010
<packaging>pom</packaging>
1111

1212
<name>spotify-web-api-java-parent</name>

spotify-web-api-java-generator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<groupId>de.sonallux.spotify</groupId>
99
<artifactId>spotify-web-api-java-parent</artifactId>
10-
<version>2.0.0-SNAPSHOT</version>
10+
<version>2.0.0</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

1414
<artifactId>spotify-web-api-java-generator</artifactId>
15-
<version>2.0.0-SNAPSHOT</version>
15+
<version>2.0.0</version>
1616
<packaging>jar</packaging>
1717

1818
<name>spotify-web-api-java-generator</name>

spotify-web-api-java/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<groupId>de.sonallux.spotify</groupId>
99
<artifactId>spotify-web-api-java-parent</artifactId>
10-
<version>2.0.0-SNAPSHOT</version>
10+
<version>2.0.0</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

1414
<artifactId>spotify-web-api-java</artifactId>
15-
<version>2.0.0-SNAPSHOT</version>
15+
<version>2.0.0</version>
1616
<packaging>jar</packaging>
1717

1818
<name>spotify-web-api-java</name>

0 commit comments

Comments
 (0)