Skip to content

Commit 2bedd01

Browse files
committed
Release 1.2.0
1 parent 4297334 commit 2bedd01

File tree

5 files changed

+33
-11
lines changed

5 files changed

+33
-11
lines changed

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,31 @@ All notable changes to this project will be documented in this file.
44
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

7+
## [1.2.0] - 12-01-2020
8+
### Added
9+
- Add CORS headers to API responses (#161)
10+
- Added timeout to Mercury requests to avoid deadlocks (1e8255bfac4c360f61712eca3da76fe90a49be84)
11+
- Added `trackTime` to API events (9a8a515bbebce17a68142c35242f0a9d38c13254)
12+
- Added `metadataAvailable`, `playbackHaltStateChanged`, `sessionCleared`, `sessionChanged`, `inactiveSession` events (5cfae00dfdd3fade92934c4504de6ac5268be1d4, b933939e165f4a76cc9c9cd65fb4f6d9f283d3a6)
13+
- API server is available immediately even for Zeroconf instances (#166, b933939e165f4a76cc9c9cd65fb4f6d9f283d3a6)
14+
15+
### Changed
16+
- Updated client version and type (b4d6476f49c81dc7db8f6d2c22bd7ead0a2a0095)
17+
- Improved download retry strategy (#163, fcd47e2ee0f8774a6adc8da4149339714d498e51)
18+
- Moved API configuration (`api.port` and `api.host`) to file (1c9a221221df0549d45003f96d4ca31297d7746f)
19+
- Modified `player/current` endpoint to include `trackTime` parameter (9a8a515bbebce17a68142c35242f0a9d38c13254)
20+
21+
### Fixed
22+
- Do not shuffle mixed playlists if not allowed (2e35d9bf74f12a417302a9b1ea43ab72c7cd7b1d)
23+
- Fixed NTP UDP socket timeout (4e5c5749039f98346f2f7fa0c4cded84b98d064d)
24+
- Fixed official client not working after disconnecting (#165)
25+
- Update time (`pcm_offset` in Vorbis codec) when seeking (553fa315663279754e0f5d19d1012073dc6d8bd3)
26+
- Fixed pausing state being overridden in some cases (651d6d78e10773103867131660a746669def74ea)
27+
28+
729
## [1.1.0] - 13-12-2019
830
### Added
9-
- Websocet API to listen to player events
31+
- Websocket API to listen to player events
1032
- Ability to change the API port via `api.port`
1133
- Retry request when Spotify sends 503
1234

api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>xyz.gianlu.librespot</groupId>
77
<artifactId>librespot-java</artifactId>
8-
<version>1.1.0</version>
8+
<version>1.2.0</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>io.undertow</groupId>
5656
<artifactId>undertow-core</artifactId>
57-
<version>2.0.27.Final</version>
57+
<version>2.0.29.Final</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>com.stijndewitt.undertow.cors</groupId>

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>xyz.gianlu.librespot</groupId>
77
<artifactId>librespot-java</artifactId>
8-
<version>1.1.0</version>
8+
<version>1.2.0</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

core/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>xyz.gianlu.librespot</groupId>
77
<artifactId>librespot-java</artifactId>
8-
<version>1.1.0</version>
8+
<version>1.2.0</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

@@ -75,21 +75,21 @@
7575
<dependency>
7676
<groupId>com.h2database</groupId>
7777
<artifactId>h2</artifactId>
78-
<version>1.4.199</version>
78+
<version>1.4.200</version>
7979
</dependency>
8080

8181
<!-- HTTP -->
8282
<dependency>
8383
<groupId>com.squareup.okhttp3</groupId>
8484
<artifactId>okhttp</artifactId>
85-
<version>4.0.1</version>
85+
<version>4.3.1</version>
8686
</dependency>
8787

8888
<!-- TOML configuration -->
8989
<dependency>
9090
<groupId>com.electronwill.night-config</groupId>
9191
<artifactId>toml</artifactId>
92-
<version>3.6.0</version>
92+
<version>3.6.2</version>
9393
</dependency>
9494

9595
<!-- Commons Net (NTP) -->

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>xyz.gianlu.librespot</groupId>
66
<artifactId>librespot-java</artifactId>
77
<packaging>pom</packaging>
8-
<version>1.1.0</version>
8+
<version>1.2.0</version>
99

1010
<name>librespot-java</name>
1111
<description>Java port of librespot, the Open Source Spotify client library</description>
@@ -37,8 +37,8 @@
3737
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3838
<maven.compiler.source>1.8</maven.compiler.source>
3939
<maven.compiler.target>1.8</maven.compiler.target>
40-
<gson.version>2.8.5</gson.version>
41-
<protobuf.version>3.9.0</protobuf.version>
40+
<gson.version>2.8.6</gson.version>
41+
<protobuf.version>3.11.1</protobuf.version>
4242
</properties>
4343

4444
<modules>

0 commit comments

Comments
 (0)