Skip to content

Commit

Permalink
v1.1.0 version release
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Feb 13, 2019
1 parent 80317e6 commit 93da4bd
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 13 deletions.
41 changes: 40 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,52 @@
# Change Log

## [v1.0.3](https://github.com/ably/ably-python/tree/v1.0.3)
## [v1.1.0](https://github.com/ably/ably-python/tree/v1.1.0)
[Full Changelog](https://github.com/ably/ably-python/compare/v1.0.3...v1.1.0)

**Closed issues:**

- Idempotent publishing is not enabled in the upcoming 1.1 release [\#132](https://github.com/ably/ably-python/issues/132)
- forward slash in channel name [\#130](https://github.com/ably/ably-python/issues/130)
- Refactor tests setup [\#109](https://github.com/ably/ably-python/issues/109)

**Implemented enhancements:**

- Add support for remembered REST fallback host [\#131](https://github.com/ably/ably-python/issues/131)
- Ensure request method accepts UPDATE, PATCH & DELETE verbs [\#128](https://github.com/ably/ably-python/issues/128)
- Add idempotent REST publishing support [\#121](https://github.com/ably/ably-python/issues/121)
- Allow to configure logger [\#107](https://github.com/ably/ably-python/issues/107)

**Merged pull requests:**

- Fix flake8 [\#142](https://github.com/ably/ably-python/pull/142) ([jdavid](https://github.com/jdavid))
- Rsc15f Support for remembered REST fallback host [\#141](https://github.com/ably/ably-python/pull/141) ([jdavid](https://github.com/jdavid))
- Add patch [\#135](https://github.com/ably/ably-python/pull/135) ([jdavid](https://github.com/jdavid))
- Idempotent publishing [\#129](https://github.com/ably/ably-python/pull/129) ([jdavid](https://github.com/jdavid))
- Push [\#127](https://github.com/ably/ably-python/pull/127) ([jdavid](https://github.com/jdavid))
- RSH1c5 New push.admin.channel\_subscriptions.remove\_where [\#126](https://github.com/ably/ably-python/pull/126) ([jdavid](https://github.com/jdavid))
- RSH1c4 New push.admin.channel\_subscriptions.remove [\#125](https://github.com/ably/ably-python/pull/125) ([jdavid](https://github.com/jdavid))
- RSH1c2 New push.admin.channel\_subscriptions.list\_channels [\#124](https://github.com/ably/ably-python/pull/124) ([jdavid](https://github.com/jdavid))
- RSH1c1 New push.admin.channel\_subscriptions.list [\#120](https://github.com/ably/ably-python/pull/120) ([jdavid](https://github.com/jdavid))
- RSH1c3 New push.admin.channel\_subscriptions.save [\#118](https://github.com/ably/ably-python/pull/118) ([jdavid](https://github.com/jdavid))
- RHS1b5 New push.admin.device\_registrations.remove\_where [\#117](https://github.com/ably/ably-python/pull/117) ([jdavid](https://github.com/jdavid))
- RHS1b4 New push.admin.device\_registrations.remove [\#116](https://github.com/ably/ably-python/pull/116) ([jdavid](https://github.com/jdavid))
- RSH1b2 New push.admin.device\_registrations.list [\#114](https://github.com/ably/ably-python/pull/114) ([jdavid](https://github.com/jdavid))
- Rsh1b1 New push.admin.device\_registrations.get [\#113](https://github.com/ably/ably-python/pull/113) ([jdavid](https://github.com/jdavid))
- RSH1b3 New push.admin.device\_registrations.save [\#112](https://github.com/ably/ably-python/pull/112) ([jdavid](https://github.com/jdavid))
- Document how to configure logging [\#110](https://github.com/ably/ably-python/pull/110) ([jdavid](https://github.com/jdavid))
- Rsh1a New push.admin.publish [\#106](https://github.com/ably/ably-python/pull/106) ([jdavid](https://github.com/jdavid))

## [v1.0.3](https://github.com/ably/ably-python/tree/v1.0.3) (2019-01-18)
[Full Changelog](https://github.com/ably/ably-python/compare/v1.0.2...v1.0.3)

**Closed issues:**

- Travis failures with Python 2 in the 1.0 branch [\#138](https://github.com/ably/ably-python/issues/138)

**Fixed bugs:**

- Authentication with auth\_url doesn't accept camel case [\#136](https://github.com/ably/ably-python/issues/136)

**Merged pull requests:**

- clientId must be a \(text\) string [\#139](https://github.com/ably/ably-python/pull/139) ([jdavid](https://github.com/jdavid))
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,12 @@ pytest test
## Release Process

1. Update [`setup.py`](./setup.py) and [`ably/__init__.py`](./ably/__init__.py) with the new version number
2. Run `python setup.py sdist upload -r ably` to build and upload this new package to PyPi
3. 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.0`. Also ensure that the `Full Changelog` link points to the new version tag instead of the `HEAD`. Commit this change.
4. Tag the new version such as `git tag v1.0.0`
5. Visit https://github.com/ably/ably-python/tags and add release notes for the release including links to the changelog entry.
6. Push the tag to origin `git push origin v1.0.0`
2. 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.0`. Also ensure that the `Full Changelog` link points to the new version tag instead of the `HEAD`.
3. Commit
4. Run `python setup.py sdist upload -r ably` to build and upload this new package to PyPi
5. Tag the new version such as `git tag v1.0.0`
6. Visit https://github.com/ably/ably-python/tags and add release notes for the release including links to the changelog entry.
7. Push the tag to origin `git push origin v1.0.0`

## License

Expand Down
4 changes: 2 additions & 2 deletions ably/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def createLock(self):
from ably.util.crypto import CipherParams
from ably.util.exceptions import AblyException, AblyAuthException, IncompatibleClientIdException

api_version = '1.0'
lib_version = '1.0.3'
api_version = '1.1'
lib_version = '1.1.0'
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='ably',
version='1.0.3',
version='1.1.0',
classifiers=[
'Development Status :: 6 - Mature',
'Intended Audience :: Developers',
Expand All @@ -15,7 +15,6 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down
6 changes: 3 additions & 3 deletions test/ably/resthttp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,15 @@ def test_request_headers(self):

# API
assert 'X-Ably-Version' in r.request.headers
assert r.request.headers['X-Ably-Version'] == '1.0'
assert r.request.headers['X-Ably-Version'] == '1.1'

# Lib
assert 'X-Ably-Lib' in r.request.headers
expr = r"^python-1\.0\.\d+(-\w+)?$"
expr = r"^python-1\.1\.\d+(-\w+)?$"
assert re.search(expr, r.request.headers['X-Ably-Lib'])

# Lib Variant
ably.set_variant('django')
r = ably.http.make_request('HEAD', '/time', skip_auth=True)
expr = r"^python.django-1\.0\.\d+(-\w+)?$"
expr = r"^python.django-1\.1\.\d+(-\w+)?$"
assert re.search(expr, r.request.headers['X-Ably-Lib'])

0 comments on commit 93da4bd

Please sign in to comment.