Skip to content

Commit

Permalink
Merge pull request #228 from theolind/0.19.0
Browse files Browse the repository at this point in the history
0.19.0
  • Loading branch information
MartinHjelmare authored Mar 12, 2020
2 parents a139ab6 + df216d5 commit fc9df24
Show file tree
Hide file tree
Showing 46 changed files with 2,112 additions and 939 deletions.
10 changes: 10 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name-template: "$NEXT_PATCH_VERSION 🌈"
tag-template: "$NEXT_PATCH_VERSION"
categories:
- title: "Breaking changes:"
labels:
- "breaking change"
template: |
## Merged pull requests:
$CHANGES
16 changes: 16 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Draft release

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- dev

jobs:
update-release-draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Generate changelog

on:
release:
types: [published]

jobs:
generate_changelog:
runs-on: ubuntu-latest
name: Generate changelog for master branch
steps:
- uses: actions/checkout@v2
with:
ref: master

- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
release_branch: master
base: HISTORY.md
since_tag: "0.13.0"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
base: master
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update changelog
title: Update changelog
body: Update the changelog. This PR is created automatically after a new release.
branch: update-changelog
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test

on:
push:
branches: [master, dev]
pull_request:
branches: [master, dev]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

## [0.18.0](https://github.com/theolind/pymysensors/tree/0.18.0) (2018-10-21)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.17.0...0.18.0)

**Closed issues:**
Expand All @@ -15,6 +16,7 @@
- Clean up ensure\_future [\#173](https://github.com/theolind/pymysensors/pull/173) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.17.0](https://github.com/theolind/pymysensors/tree/0.17.0) (2018-08-12)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.16.0...0.17.0)

**Merged pull requests:**
Expand All @@ -30,6 +32,7 @@
- Scheduled monthly dependency update for August [\#164](https://github.com/theolind/pymysensors/pull/164) ([pyup-bot](https://github.com/pyup-bot))

## [0.16.0](https://github.com/theolind/pymysensors/tree/0.16.0) (2018-07-19)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.15.0...0.16.0)

**Merged pull requests:**
Expand All @@ -43,6 +46,7 @@
- Update wheel dependency to fix release procedure [\#156](https://github.com/theolind/pymysensors/pull/156) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.15.0](https://github.com/theolind/pymysensors/tree/0.15.0) (2018-05-27)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.14.0...0.15.0)

**Closed issues:**
Expand All @@ -59,6 +63,7 @@
- Use pytest for tests [\#148](https://github.com/theolind/pymysensors/pull/148) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.14.0](https://github.com/theolind/pymysensors/tree/0.14.0) (2018-05-10)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.13...0.14.0)

**Merged pull requests:**
Expand All @@ -69,6 +74,7 @@
- Call event callback when gateway is ready [\#144](https://github.com/theolind/pymysensors/pull/144) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.13](https://github.com/theolind/pymysensors/tree/0.13) (2018-04-02)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.12.1...0.13)

**Breaking Changes:**
Expand Down Expand Up @@ -100,6 +106,7 @@
- Add new internal sub-types [\#120](https://github.com/theolind/pymysensors/pull/120) ([jslove](https://github.com/jslove))

## [0.12.1](https://github.com/theolind/pymysensors/tree/0.12.1) (2018-01-14)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.12...0.12.1)

**Closed issues:**
Expand All @@ -112,6 +119,7 @@
- Fix bug in \_handle\_internal [\#116](https://github.com/theolind/pymysensors/pull/116) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.12](https://github.com/theolind/pymysensors/tree/0.12) (2018-01-14)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.11.1...0.12)

**Closed issues:**
Expand All @@ -126,6 +134,7 @@
- Fix reboot not returning to False [\#111](https://github.com/theolind/pymysensors/pull/111) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.11.1](https://github.com/theolind/pymysensors/tree/0.11.1) (2017-08-29)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.11...0.11.1)

**Merged pull requests:**
Expand All @@ -135,6 +144,7 @@
- Update release instructions [\#107](https://github.com/theolind/pymysensors/pull/107) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.11](https://github.com/theolind/pymysensors/tree/0.11) (2017-08-21)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.10...0.11)

**Breaking Changes:**
Expand All @@ -152,6 +162,7 @@
- Fix subscription to topics with nested prefix [\#99](https://github.com/theolind/pymysensors/pull/99) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.10](https://github.com/theolind/pymysensors/tree/0.10) (2017-05-06)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.9.1...0.10)

**Closed issues:**
Expand All @@ -166,6 +177,7 @@
- Add changelog [\#95](https://github.com/theolind/pymysensors/pull/95) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.9.1](https://github.com/theolind/pymysensors/tree/0.9.1) (2017-04-11)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.9...0.9.1)

**Merged pull requests:**
Expand All @@ -174,6 +186,7 @@
- Fix pickle persistence when upgrading to 0.9 [\#92](https://github.com/theolind/pymysensors/pull/92) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.9](https://github.com/theolind/pymysensors/tree/0.9) (2017-04-03)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.8...0.9)

**Breaking Changes:**
Expand All @@ -199,6 +212,7 @@
- tcp\_check to reconnect in case of connection lost [\#67](https://github.com/theolind/pymysensors/pull/67) ([afeno](https://github.com/afeno))

## [0.8](https://github.com/theolind/pymysensors/tree/0.8) (2016-10-19)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.7.1...0.8)

**Closed issues:**
Expand All @@ -216,6 +230,7 @@
- Fix log spam by disconnecting at serial exception [\#68](https://github.com/theolind/pymysensors/pull/68) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.7.1](https://github.com/theolind/pymysensors/tree/0.7.1) (2016-08-21)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.7...0.7.1)

**Closed issues:**
Expand All @@ -228,6 +243,7 @@
- Fix persistence with missing attributes [\#64](https://github.com/theolind/pymysensors/pull/64) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.7](https://github.com/theolind/pymysensors/tree/0.7) (2016-08-20)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.6...0.7)

**Closed issues:**
Expand Down Expand Up @@ -258,6 +274,7 @@
- Bump version to 0.7.dev0 [\#43](https://github.com/theolind/pymysensors/pull/43) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.6](https://github.com/theolind/pymysensors/tree/0.6) (2016-04-19)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.5...0.6)

**Closed issues:**
Expand All @@ -281,6 +298,7 @@
- Travis [\#31](https://github.com/theolind/pymysensors/pull/31) ([Br3nda](https://github.com/Br3nda))

## [0.5](https://github.com/theolind/pymysensors/tree/0.5) (2016-02-12)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.4...0.5)

**Closed issues:**
Expand All @@ -300,6 +318,7 @@
- Fix decode partial data [\#15](https://github.com/theolind/pymysensors/pull/15) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.4](https://github.com/theolind/pymysensors/tree/0.4) (2016-01-07)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.3...0.4)

**Merged pull requests:**
Expand All @@ -309,6 +328,7 @@
- Fix attributes [\#11](https://github.com/theolind/pymysensors/pull/11) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.3](https://github.com/theolind/pymysensors/tree/0.3) (2015-10-09)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.2...0.3)

**Closed issues:**
Expand All @@ -321,9 +341,9 @@
- Pass protocol version through from SerialGateway to Gateway. [\#8](https://github.com/theolind/pymysensors/pull/8) ([andythigpen](https://github.com/andythigpen))

## [0.2](https://github.com/theolind/pymysensors/tree/0.2) (2015-08-15)

**Merged pull requests:**

- Add setup.py [\#4](https://github.com/theolind/pymysensors/pull/4) ([balloob](https://github.com/balloob))
- Fix ValueError issue when decoding a message. [\#2](https://github.com/theolind/pymysensors/pull/2) ([andythigpen](https://github.com/andythigpen))
- Improvements [\#1](https://github.com/theolind/pymysensors/pull/1) ([andythigpen](https://github.com/andythigpen))

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ Bug reports in the issue tracker and pull requests are welcome.
$ git push origin HEAD
```
10. Create a pull request at github to the main pymysensors repository and target the dev branch with your changes. The master branch should only be targeted when a new version of pymysensors is ready. Changes in the dev branch is then merged with the master branch.
11. Watch Travis builds turn green :white_check_mark:, and get the :thumbsup: in the code review.
11. Watch build checks turn green :white_check_mark:, and get the :thumbsup: in the code review.
Loading

0 comments on commit fc9df24

Please sign in to comment.