Skip to content

Commit

Permalink
Bump version to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paddybyers committed Mar 1, 2018
1 parent 66f6398 commit 88a4517
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 11 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Change Log

## [v1.0.2](https://github.com/ably/ably-java/tree/v1.0.2)

[Full Changelog](https://github.com/ably/ably-java/compare/v1.0.1...v1.0.2)

**Implemented enhancements:**

- Implement AblyRealtime.connect\(\) [\#305](https://github.com/ably/ably-java/issues/305)
- Auth header included in HTTP requests [\#166](https://github.com/ably/ably-java/issues/166)
- autoConnect & useTokenAuth [\#27](https://github.com/ably/ably-java/issues/27)
- authParams & authMethod ClientOptions [\#25](https://github.com/ably/ably-java/issues/25)

**Fixed bugs:**

- When using token auth with client-side signing, renewing a token is broken [\#350](https://github.com/ably/ably-java/issues/350)
- Remove calls to System.xxx.println\(\) [\#217](https://github.com/ably/ably-java/issues/217)
- Race condition when lib is closed soon after being instantiated [\#319](https://github.com/ably/ably-java/issues/319)
- Crash inside a library [\#309](https://github.com/ably/ably-java/issues/309)
- Android System.out: \(ERROR\): io.ably.lib.transport.WebSocketTransport: No activity for 25000ms, closing connection [\#306](https://github.com/ably/ably-java/issues/306)
- RSC19 is not implemented according to the spec in 0.9 [\#278](https://github.com/ably/ably-java/issues/278)
- Invalid binary error message [\#247](https://github.com/ably/ably-java/issues/247)

**Merged pull requests:**

- Fix connectionmgr regressions [\#368](https://github.com/ably/ably-java/pull/368) ([paddybyers](https://github.com/paddybyers))
- Avoid depending on reference equality of interned strings and literals; this seems to fail sometimes on Android [\#367](https://github.com/ably/ably-java/pull/367) ([paddybyers](https://github.com/paddybyers))
- Update to latest gradle and tools plugins [\#362](https://github.com/ably/ably-java/pull/362) ([paddybyers](https://github.com/paddybyers))
- Auth.assertValidToken: always remove old token when force == true. [\#354](https://github.com/ably/ably-java/pull/354) ([tcard](https://github.com/tcard))
- Omit TTL in TokenRequest as JSON if unset. [\#353](https://github.com/ably/ably-java/pull/353) ([tcard](https://github.com/tcard))
- Add ability to generalize over a HTTP request being async or not. [\#347](https://github.com/ably/ably-java/pull/347) ([tcard](https://github.com/tcard))
- Implement and add test for AblyRealtime.connect\(\) [\#345](https://github.com/ably/ably-java/pull/345) ([paddybyers](https://github.com/paddybyers))
- Connectionmgr sync transport [\#344](https://github.com/ably/ably-java/pull/344) ([paddybyers](https://github.com/paddybyers))
- Fix issue where a close\(\) would not abort an existing in-progress connection [\#343](https://github.com/ably/ably-java/pull/343) ([paddybyers](https://github.com/paddybyers))
- New test RealtimeResumeTest.resume\_none [\#204](https://github.com/ably/ably-java/pull/204) ([trenouf](https://github.com/trenouf))

## [v1.0.1](https://github.com/ably/ably-java/tree/v1.0.1)

[Full Changelog](https://github.com/ably/ably-java/compare/v1.0.0...v1.0.1)
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Reference the library by including a compile dependency reference in your gradle
For [Java](https://bintray.com/ably-io/ably/ably-java/_latestVersion):

```
compile 'io.ably:ably-java:1.0.1'
compile 'io.ably:ably-java:1.0.2'
```

For [Android](https://bintray.com/ably-io/ably/ably-android/_latestVersion):

```
compile 'io.ably:ably-android:1.0.1'
compile 'io.ably:ably-android:1.0.2'
```

The library is hosted on the [Jcenter repository](https://bintray.com/ably-io/ably), so you need to ensure that the repo is referenced also; IDEs will typically include this by default:
Expand Down Expand Up @@ -432,8 +432,8 @@ This library uses [semantic versioning](http://semver.org/). For each release, t
### Release notes

* Replace all references of the current version number with the new version number (check this file [README.md](./README.md) and [build.gradle](./build.gradle)) and commit the changes
* Run [`github_changelog_generator`](https://github.com/skywinder/Github-Changelog-Generator) to automate the update of the [CHANGELOG](./CHANGELOG.md). Once the CHANGELOG has completed, manually change the `Unreleased` heading and link with the current version number such as `v1.0.1`. Also ensure that the `Full Changelog` link points to the new version tag instead of the `HEAD`. Commit this change.
* Add a tag and push to origin such as `git tag v1.0.1 && git push origin v1.0.1`
* Run [`github_changelog_generator`](https://github.com/skywinder/Github-Changelog-Generator) to automate the update of the [CHANGELOG](./CHANGELOG.md). Once the CHANGELOG has completed, manually change the `Unreleased` heading and link with the current version number such as `v1.0.2`. Also ensure that the `Full Changelog` link points to the new version tag instead of the `HEAD`. Commit this change.
* Add a tag and push to origin such as `git tag v1.0.2; git push origin v1.0.2`

### Build release

Expand All @@ -442,12 +442,12 @@ This library uses [semantic versioning](http://semver.org/). For each release, t

### Publishing to JCenter (Maven)

* Go to the home page for the package; eg https://bintray.com/ably-io/ably/ably-java. Select [New version](https://bintray.com/ably-io/ably/ably-java/new/version), enter the new version such as "1.0.1" in name and save
* Go to the home page for the package; eg https://bintray.com/ably-io/ably/ably-java. Select [New version](https://bintray.com/ably-io/ably/ably-java/new/version), enter the new version such as "1.0.2" in name and save
* Run `./gradlew java:assembleRelease` locally to generate the files
* Open local relative folder such as `/lib/build/release/1.0.1/`
* Then go to the new version in JFrog Bintray; eg https://bintray.com/ably-io/ably/ably-java/1.0.1, then click on the link to upload via the UI in the "Upload files" section
* Type in `io/ably/ably-java/1.0.1` into "Target Repository Path" ensuring the correct version is included. The drag in the files in `java/build/release/1.0.1/`
* You will see a notice "You have 8 unpublished item(s) for this version", make sure you click "Publish". Wait a few minutes and check that your version has all the necessary files at https://bintray.com/ably-io/ably/ably-java/1.0.1?sort=&order=#files/io/ably/ably-java/1.0.1 for example.
* Open local relative folder such as `/lib/build/release/1.0.2/`
* Then go to the new version in JFrog Bintray; eg https://bintray.com/ably-io/ably/ably-java/1.0.2, then click on the link to upload via the UI in the "Upload files" section
* Type in `io/ably/ably-java/1.0.2` into "Target Repository Path" ensuring the correct version is included. The drag in the files in `java/build/release/1.0.2/`
* You will see a notice "You have 8 unpublished item(s) for this version", make sure you click "Publish". Wait a few minutes and check that your version has all the necessary files at https://bintray.com/ably-io/ably/ably-java/1.0.2?sort=&order=#files/io/ably/ably-java/1.0.2 for example.
* Update the README text in Bintray.

### Create release on Github
Expand All @@ -456,7 +456,7 @@ This library uses [semantic versioning](http://semver.org/). For each release, t

Similarly for the Android release at https://bintray.com/ably-io/ably/ably-android.
Run `gradle android:assembleRelease` locally to generate the files, and drag in the files in
`android/build/release/1.0.1/`.
`android/build/release/1.0.2/`.

## Support, feedback and troubleshooting

Expand Down
2 changes: 1 addition & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repositories {
}

group = 'io.ably'
version = '1.0.1'
version = '1.0.2'
description = """Ably java client library"""

tasks.withType(Javadoc) {
Expand Down

0 comments on commit 88a4517

Please sign in to comment.