You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Restoral of ActivationStateMachine events fails because not all event types have a no-argument constructor [\#598](https://github.com/ably/ably-java/issues/598) fixed by:
10
+
- Discard persisted events with non-nullary constructors [\#599](https://github.com/ably/ably-java/pull/599) ([tcard](https://github.com/tcard))
11
+
- Fatal Exception on API level below 19 [\#596](https://github.com/ably/ably-java/issues/596) fixed by:
12
+
- Replace use of StandardCharsets [\#601](https://github.com/ably/ably-java/pull/601) ([QuintinWillison](https://github.com/QuintinWillison))
13
+
14
+
**Other merged pull requests:**
15
+
16
+
- Rename master to main [\#592](https://github.com/ably/ably-java/pull/592) ([QuintinWillison](https://github.com/QuintinWillison))
17
+
- Bump protocol version to 1.2 [\#591](https://github.com/ably/ably-java/pull/591) ([QuintinWillison](https://github.com/QuintinWillison))
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ Reference the library by including a compile dependency reference in your gradle
30
30
For [Java](https://bintray.com/ably-io/ably/ably-java/_latestVersion):
31
31
32
32
```
33
-
compile 'io.ably:ably-java:1.2.1'
33
+
compile 'io.ably:ably-java:1.2.2'
34
34
```
35
35
36
36
For [Android](https://bintray.com/ably-io/ably/ably-android/_latestVersion):
37
37
38
38
```
39
-
compile 'io.ably:ably-android:1.2.1'
39
+
compile 'io.ably:ably-android:1.2.2'
40
40
```
41
41
42
42
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:
@@ -586,15 +586,15 @@ Configuration of Run/Debug configurations for running the unit tests on Android
586
586
587
587
This library uses [semantic versioning](http://semver.org/). For each release, the following needs to be done:
588
588
589
-
1. Create a branch for the release, named like `release/1.2.1`
589
+
1. Create a branch for the release, named like `release/1.2.2`
590
590
2. Replace all references of the current version number with the new version number (check this file [README.md](./README.md) and [common.gradle](./common.gradle)) and commit the changes
591
591
3. Run [`github_changelog_generator`](https://github.com/skywinder/Github-Changelog-Generator) to update the [CHANGELOG](./CHANGELOG.md):
* But your mileage may vary as it can error. Perhaps more reliable is something like: `github_changelog_generator -u ably -p ably-java --since-tag v1.2.0 --output delta.md` and then manually merge the delta contents in to the main change log
* But your mileage may vary as it can error. Perhaps more reliable is something like: `github_changelog_generator -u ably -p ably-java --since-tag v1.2.1 --output delta.md` and then manually merge the delta contents in to the main change log
594
594
4. Commit [CHANGELOG](./CHANGELOG.md)
595
595
5. Make a PR against `main`
596
596
6. Once the PR is approved, merge it into `main`
597
-
7. Add a tag and push to origin - e.g.: `git tag v1.2.1 && git push origin v1.2.1`
597
+
7. Add a tag and push to origin - e.g.: `git tag v1.2.2 && git push origin v1.2.2`
598
598
8. Create the release on Github including populating the release notes (needed so JFrog can pull them in)
599
599
9. Assemble and Upload ([see below](#publishing-to-jcenter-and-maven-central) for details) - but the overall order to follow is:
600
600
1. Upload to Bintray and use the pushed tag, which will pull in the associated release notes
@@ -622,18 +622,18 @@ We publish to:
622
622
623
623
The `java` release process goes as follows:
624
624
625
-
* Go to the home page for the package; eg https://bintray.com/ably-io/ably/ably-java. Select Add a version, enter the new version such as "1.2.1" in name and save
625
+
* Go to the home page for the package; eg https://bintray.com/ably-io/ably/ably-java. Select Add a version, enter the new version such as "1.2.2" in name and save
626
626
* Run `./gradlew java:assembleRelease` locally to generate the files
627
-
* Open local relative folder in Finder, such as `./java/build/release/1.2.1/io/ably/ably-java/1.2.1`
628
-
* Go to the new version in JFrog Bintray; eg https://bintray.com/ably-io/ably/ably-java/1.2.1, then click on the link to upload via the UI in the "Upload files" section
627
+
* Open local relative folder in Finder, such as `./java/build/release/1.2.2/io/ably/ably-java/1.2.2`
628
+
* Go to the new version in JFrog Bintray; eg https://bintray.com/ably-io/ably/ably-java/1.2.2, then click on the link to upload via the UI in the "Upload files" section
629
629
* Drag in the files from Finder, just the `.jar` files and the `.pom` file. JFrog will fill in the "Target Path" box after you drop the files in. Click the "Upload" button.
630
630
* You will see a notice something like "4 unpublished files in your version. Will be deleted in 6 days and 22 hours. Publish all or Delete all unpublished files.", make sure you click "Publish all". Wait a few minutes and check that what's uploaded looks like what was uploaded for previous releases. The `maven-metadata` files are created by JFrog.
631
631
* Update the README text in Bintray (version number needs incrementing).
632
632
633
633
Similarly for the `android` release at https://bintray.com/ably-io/ably/ably-android:
634
634
635
635
* Run `./gradlew android:assembleRelease` locally to generate the files, and drag in the files in
0 commit comments