Skip to content

Commit 79cf2f5

Browse files
authored
Merge pull request #427 from ably/release/1.2.6
Release 1.2.6
2 parents a265d6a + 9ac75df commit 79cf2f5

File tree

5 files changed

+1764
-861
lines changed

5 files changed

+1764
-861
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Change Log
22

3+
## [v1.2.6](https://github.com/ably/ably-ruby/tree/v1.2.6)
4+
5+
[Full Changelog](https://github.com/ably/ably-ruby/compare/v1.2.5...v1.2.6)
6+
7+
**Implemented enhancements:**
8+
9+
- [ably-ruby][no-connection-serial] Implement connection resume/recover [\#393](https://github.com/ably/ably-ruby/issues/393)
10+
- [ably-ruby][no-connection-serial] Implement missing internal presence [\#392](https://github.com/ably/ably-ruby/issues/392)
11+
- [ably-ruby][no-connection-serial] Implement code + tests for no-connection-serial [\#378](https://github.com/ably/ably-ruby/issues/378)
12+
13+
**Closed issues:**
14+
15+
- Remove unimplemented push activation methods [\#417](https://github.com/ably/ably-ruby/issues/417)
16+
- Failing Test - updates attach\_serial [\#415](https://github.com/ably/ably-ruby/issues/415)
17+
- Failing Test - retrieves two pages of messages before channel was attached [\#414](https://github.com/ably/ably-ruby/issues/414)
18+
- [ably-ruby] Fix failing tests [\#394](https://github.com/ably/ably-ruby/issues/394)
19+
320
## [v1.2.5](https://github.com/ably/ably-ruby/tree/v1.2.5)
421

522
This contains an important fix for a TLS certificate validation bug which prevented the library from being able to use Realtime fallback hosts.

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ client.connection.on do |state_change|
9797
end
9898
```
9999

100+
Retrieve connection id, state etc
101+
102+
```ruby
103+
connection_id = client.connection.id
104+
state = client.connection.state
105+
recovery_key = client.connection.create_recovery_key # https://ably.com/docs/connect/states?q=recovery#connection-state-recover-options
106+
```
107+
100108
### Subscribing to a channel
101109

102110
Given a channel is created as follows:
@@ -331,9 +339,18 @@ To see what has changed in recent versions of Bundler, see the [CHANGELOG](CHANG
331339

332340
This library uses [semantic versioning](http://semver.org/). For each release, the following needs to be done:
333341

334-
* Update the version number in [version.rb](./lib/ably/version.rb) and commit the change.
335-
* Run [`github_changelog_generator`](https://github.com/skywinder/Github-Changelog-Generator) to automate the update of the [CHANGELOG](./CHANGELOG.md). Once the `CHANGELOG` update has completed, manually change the `Unreleased` heading and link with the current version number such as `v1.0.0`. Also ensure that the `Full Changelog` link points to the new version tag instead of the `HEAD`. Ideally, run `rake doc:spec` to generate a new [spec file](./SPEC.md). Then commit these changes.
336-
* Add a tag and push to origin such as `git tag v1.0.0 && git push origin v1.0.0`
337-
* Visit [https://github.com/ably/ably-ruby/tags](https://github.com/ably/ably-ruby/tags) and `Add release notes` for the release including links to the changelog entry.
338-
* Run `rake release` to publish the gem to [Rubygems](https://rubygems.org/gems/ably)
339-
* Release the [REST-only library `ably-ruby-rest`](https://github.com/ably/ably-ruby-rest#release-process)
342+
1. Create a branch for the release, named like `release/1.2.3` (where `1.2.3` is the new version number)
343+
2. Update the version number in [version.rb](./lib/ably/version.rb) and commit the change.
344+
3. Run [`github_changelog_generator`](https://github.com/github-changelog-generator/github-changelog-generator) to automate the update of the [CHANGELOG](./CHANGELOG.md). This may require some manual intervention, both in terms of how the command is run and how the change log file is modified. Your mileage may vary:
345+
- The command you will need to run will look something like this: `github_changelog_generator -u ably -p ably-ruby --since-tag v1.2.3 --output delta.md --token $GITHUB_TOKEN_WITH_REPO_ACCESS`. Generate token [here](https://github.com/settings/tokens/new?description=GitHub%20Changelog%20Generator%20token).
346+
- Using the command above, `--output delta.md` writes changes made after `--since-tag` to a new file
347+
- The contents of that new file (`delta.md`) then need to be manually inserted at the top of the `CHANGELOG.md`, changing the "Unreleased" heading and linking with the current version numbers
348+
- Also ensure that the "Full Changelog" link points to the new version tag instead of the `HEAD`
349+
4. Commit this change: `git add CHANGELOG.md && git commit -m "Update change log."`
350+
5. Ideally, run `rake doc:spec` to generate a new [spec file](./SPEC.md). Then commit these changes.
351+
6. Make a PR against `main`. Once the PR is approved, merge it into `main`.
352+
7. Add a tag to the new `main` head commit and push to origin such as `git tag v1.0.3 && git push origin v1.0.3`.
353+
8. Visit [https://github.com/ably/ably-ruby/tags](https://github.com/ably/ably-ruby/tags) and `Add release notes` for the release including links to the changelog entry.
354+
9. Run `rake release` to publish the gem to [Rubygems](https://rubygems.org/gems/ably).
355+
10. Release the [REST-only library `ably-ruby-rest`](https://github.com/ably/ably-ruby-rest#release-process).
356+
11. Create the entry on the [Ably Changelog](https://changelog.ably.com/) (via [headwayapp](https://headwayapp.co/)).

0 commit comments

Comments
 (0)