diff options
author | 2022-05-10 23:57:25 +0400 | |
---|---|---|
committer | 2022-05-10 23:57:25 +0400 | |
commit | e7fbea9a74f13312aa67a7737b632db46680ff80 (patch) | |
tree | ecd2000830012406982ce78c909215419a50fa8b | |
parent | Fix Discord Invite Regex Docs (diff) | |
parent | Enable Testing In CI (diff) |
Merge pull request #75 from python-discord/prepare-v6v7.0.0
Prepare v7
-rw-r--r-- | .github/workflows/lint-test.yaml (renamed from .github/workflows/lint.yaml) | 15 | ||||
-rw-r--r-- | CHANGELOG.md | 4 |
2 files changed, 8 insertions, 11 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint-test.yaml index cbe692f3..a51623cb 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint-test.yaml @@ -1,4 +1,4 @@ -name: Lint +name: Lint & Test on: push: @@ -12,7 +12,7 @@ concurrency: jobs: lint: - name: Run pre-commit & flake8 + name: Run Linting & Test Suites runs-on: ubuntu-latest steps: @@ -42,15 +42,8 @@ jobs: run: "flake8 \ --format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'" -# - name: Run tests and generate coverage report -# run: pytest -n auto --cov --disable-warnings -q -# -# # This step will publish the coverage reports coveralls.io and -# # print a "job" link in the output of the GitHub Action -# - name: Publish coverage report to coveralls.io -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# run: coveralls + - name: Run tests and generate coverage report + run: python -m pytest -n auto --cov botcore -q # Prepare the Pull Request Payload artifact. If this fails, we # we fail silently using the `continue-on-error` option. It's diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a6841cb..c251c35a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 7.0.0 10th May 2022 +- Fix: Capture all characters up to a whitespace in the Discord Invite regex. +- Breaking: Discord invite regex no longer returns a URL safe result, refer to documentation for safely handling it. + ## 6.4.0 26th April 2022 - Feature: Bump discord.py to `[5a06fa5](https://github.com/Rapptz/discord.py/tree/5a06fa5f3e28d2b7191722e1a84c541560008aea)` - Notably, one of the commits in this bump dynamically extends the timeout of `Guild.chunk()` based on the number or members, so it should actually work on our guild now. |