Skip to content

Commit

Permalink
Merge pull request #35 from ably/release/1.0.4
Browse files Browse the repository at this point in the history
Release/1.0.4
  • Loading branch information
sacOO7 authored Jun 13, 2023
2 parents e8cf18c + c9a360b commit a443e4d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [v1.0.4](https://github.com/ably/laravel-broadcaster/tree/v1.0.4)

[Full Changelog](https://github.com/ably/laravel-broadcaster/compare/v1.0.3...v1.0.4)

**Closed issues:**

- Add missing agent header for laravel version [\#32](https://github.com/ably/laravel-broadcaster/issues/32)
- Need Laravel 10 support [\#29](https://github.com/ably/laravel-broadcaster/issues/29)

**Merged pull requests:**

- Removed non-documented capability key check [\#34](https://github.com/ably/laravel-broadcaster/pull/34) ([sacOO7](https://github.com/sacOO7))
- Added laravel agent header [\#33](https://github.com/ably/laravel-broadcaster/pull/33) ([sacOO7](https://github.com/sacOO7))
- Update laravel echo doc [\#31](https://github.com/ably/laravel-broadcaster/pull/31) ([sacOO7](https://github.com/sacOO7))
- Update README ably clientOptions [\#30](https://github.com/ably/laravel-broadcaster/pull/30) ([sacOO7](https://github.com/sacOO7))

## [v1.0.3](https://github.com/ably/laravel-broadcaster/tree/v1.0.3)

Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,13 @@ Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recen
## Release Process
This library uses [semantic versioning](http://semver.org/). For each release, the following needs to be done:

1. Create a new branch for the release, named like `release/1.2.4` (where `1.2.4` is what you're releasing, being the new version)
2. Update the lib version in `src/AblyBroadcaster.php`
3. 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 `1.2.4`. Also ensure that the `Full Changelog` link points to the new version tag instead of the `HEAD`.
1. Create a new branch for the release, named like `release/1.2.4` (where `1.2.4` is what you're releasing, being the new version).
2. Update the lib version in `src/AblyBroadcaster.php`.
3. Run [`github_changelog_generator`](https://github.com/github-changelog-generator/github-changelog-generator) to automate the update of the [CHANGELOG.md](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:
- The command you will need to run will look something like this: `github_changelog_generator -u ably -p laravel-broadcaster --since-tag v1.2.4 --output delta.md --token $GITHUB_TOKEN_WITH_REPO_ACCESS`. Generate token [here](https://github.com/settings/tokens/new?description=GitHub%20Changelog%20Generator%20token).
- Using the command above, `--output delta.md` writes changes made after `--since-tag` to a new file.
- 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.
- Also ensure that the "Full Changelog" link points to the new version tag instead of the `HEAD`.
4. Commit generated [CHANGELOG.md](./CHANGELOG.md) file.
5. Make a PR against `main`.
6. Once the PR is approved, merge it into `main`.
Expand Down
2 changes: 1 addition & 1 deletion src/AblyBroadcaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AblyBroadcaster extends Broadcaster
{
const LIB_VERSION = '1.0.3';
const LIB_VERSION = '1.0.4';

/**
* The AblyRest SDK instance.
Expand Down

0 comments on commit a443e4d

Please sign in to comment.