Skip to content

Commit

Permalink
Merge pull request #613 from ucfopen/develop
Browse files Browse the repository at this point in the history
Release v3.1.0
  • Loading branch information
Thetwam committed Apr 21, 2023
2 parents 2859820 + ac2fc96 commit edaf85f
Show file tree
Hide file tree
Showing 70 changed files with 2,368 additions and 1,346 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/run-tests.yml
Expand Up @@ -33,11 +33,14 @@ jobs:
run: coverage run -m unittest discover
- name: Lint markdown files
uses: bewuethr/mdl-action@v1
- name: Check if all modules are visible to inspect
run: python scripts/find_missing_modules.py
- name: Check if methods are alphabetical
run: python scripts/alphabetic.py
- name: Check for missing kwargs
run: python scripts/find_missing_kwargs.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
language_version: python3.7
language_version: python3
5 changes: 5 additions & 0 deletions AUTHORS.md
Expand Up @@ -33,6 +33,7 @@ Patches and Suggestions
- Damian Sweeney [@damianfs](https://github.com/damianfs)
- Daniel Brinkman [@DanBrink91](https://github.com/DanBrink91)
- Daniel Grobani [@dgrobani](https://github.com/dgrobani)
- Daniel Molares [@dmols](https://github.com/dmols)
- David Warden [@dfwarden](https://github.com/dfwarden)
- Davis Goff [@Goff-Davis](https://github.com/Goff-Davis)
- Deundre Williams [@deundrewilliams](https://github.com/deundrewilliams)
Expand Down Expand Up @@ -60,13 +61,16 @@ Patches and Suggestions
- Kenny Perez [@kennygperez](https://github.com/kennygperez)
- [@kensler](https://github.com/kensler)
- Lawrence Oks [@ljoks](https://github.com/ljoks)
- Lee Fent [@lafent](https://github.com/lafent)
- Leonard Camacho [@lcamacho](https://github.com/lcamacho)
- Lucas Salas [@lucas-salas](https://github.com/lucas-salas)
- Mark Lalor [@MarkLalor](https://github.com/MarkLalor)
- Markus [@elec3647](https://github.com/elec3647)
- Matthew Fedder [@matthewf-ucsd](https://github.com/matthewf-ucsd)
- Matthew Jones [@jonespm](https://github.com/jonespm)
- Michael Phelps [@nottheswimmer](https://github.com/nottheswimmer)
- Mike Nahmias [@Mike-Nahmias](https://github.com/Mike-Nahmias)
- Mike Suhan [@mikesuhan](https://github.com/mikesuhan)
- Nathan Dabu [@nathaned](https://github.com/nathaned)
- Petar Nikolovski [@petarGitNik](https://github.com/petarGitNik)
- Philip Austin [@phaustin](https://github.com/phaustin)
Expand All @@ -79,6 +83,7 @@ Patches and Suggestions
- Stephen Woosley [@stephenwoosley](https://github.com/stephenwoosley)
- Steven Bell [@stevenbell](https://github.com/stevenbell)
- Steven Williams [@onomou](https://github.com/onomou)
- [@svanderwulp](https://github.com/svanderwulp)
- Tinson Lai [@laitingsheng](https://github.com/laitingsheng)
- Toan Vu [@vutoan1245](https://github.com/vutoan1245)
- [@Tobiaqs](https://github.com/Tobiaqs)
Expand Down
45 changes: 44 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,6 +2,48 @@

## [Unreleased]

## [3.1.0] - 2023-04-21

### New Endpoint Coverage

- Account Calendars (Thanks, [@dmols](https://github.com/dmols))
- List available account calendars
- Get a single account calendar
- Update a calendar's visibility
- Update many calendars' visibility
- List all account calendars
- Enrollments (Thanks, [@svanderwulp](https://github.com/svanderwulp))
- Accept Course Invitation
- Reject Course Invitation
- File (Thanks, [@bennettscience](https://github.com/bennettscience))
- Update File
- JWTs (Thanks [@dmols](https://github.com/dmols))
- Create JWTs
- Refresh JWTs
- Moderation Grading (Moderation Set)
- List students selected for moderation
- Select students for moderation
- Query Course Events (Thanks, [@dmols](https://github.com/dmols))
- Query by course
- Query by account
- Rubrics (Thanks, [@bennettscience](https://github.com/bennettscience))
- Create, Update, and Delete Rubric Assessments
- Create a Rubric Association
- Users
- Terminate all user sessions (Thanks, [@lucas-salas](https://github.com/lucas-salas))

### General

- Updated Codecov action to v3

### Bugfixes

- Fixed an issue where kwargs were not passed along to Canvas in `Course.get_module()`. (Thanks, [@bennettscience](https://github.com/bennettscience))
- Fixed an issue where not all functions allowed arbitrary keyword arguments. Added a test to detect and prevent this for the future.
- Fixed an issue with `Course.get_enabled_features()` where it would throw an error trying to paginate. It now returns a list of strings directly. (Thanks, [@bennettscience](https://github.com/bennettscience))
- Added missing docs for `AssignmentOverride`. (Thanks, [@lafent](https://github.com/lafent))
- Fixed a typo in `Canvas.create_calendar_event()` where an error message improperly listed the missing key as 'context_codes' instead of 'context_code'. (Thanks, [@dmols](https://github.com/dmols) and [@mikesuhan](https://github.com/mikesuhan))

## [3.0.0] - 2022-09-21

### New Endpoint Coverage
Expand Down Expand Up @@ -563,7 +605,8 @@ Huge thanks to [@liblit](https://github.com/liblit) for lots of issues, suggesti
- Fixed some incorrectly defined parameters
- Fixed an issue where tests would fail due to an improperly configured requires block

[Unreleased]: https://github.com/ucfopen/canvasapi/compare/v3.0.0...develop
[Unreleased]: https://github.com/ucfopen/canvasapi/compare/v3.1.0...develop
[3.1.0]: https://github.com/ucfopen/canvasapi/compare/v3.0.0...v3.1.0
[3.0.0]: https://github.com/ucfopen/canvasapi/compare/v2.2.0...v3.0.0
[2.2.0]: https://github.com/ucfopen/canvasapi/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/ucfopen/canvasapi/compare/v2.0.0...v2.1.0
Expand Down
2 changes: 1 addition & 1 deletion canvasapi/__init__.py
Expand Up @@ -4,4 +4,4 @@

__all__ = ["Canvas"]

__version__ = "3.0.0"
__version__ = "3.1.0"

0 comments on commit edaf85f

Please sign in to comment.