Skip to content

Commit edaf85f

Browse files
authored
Merge pull request #613 from ucfopen/develop
Release v3.1.0
2 parents 2859820 + ac2fc96 commit edaf85f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2368
-1346
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,14 @@ jobs:
3333
run: coverage run -m unittest discover
3434
- name: Lint markdown files
3535
uses: bewuethr/mdl-action@v1
36+
- name: Check if all modules are visible to inspect
37+
run: python scripts/find_missing_modules.py
3638
- name: Check if methods are alphabetical
3739
run: python scripts/alphabetic.py
3840
- name: Check for missing kwargs
3941
run: python scripts/find_missing_kwargs.py
4042
- name: Upload coverage to Codecov
41-
uses: codecov/codecov-action@v1
43+
uses: codecov/codecov-action@v3
4244
with:
4345
fail_ci_if_error: true
46+
token: ${{ secrets.CODECOV_TOKEN }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
2-
- repo: https://github.com/ambv/black
3-
rev: stable
2+
- repo: https://github.com/psf/black
3+
rev: 23.3.0
44
hooks:
55
- id: black
6-
language_version: python3.7
6+
language_version: python3

AUTHORS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Patches and Suggestions
3333
- Damian Sweeney [@damianfs](https://github.com/damianfs)
3434
- Daniel Brinkman [@DanBrink91](https://github.com/DanBrink91)
3535
- Daniel Grobani [@dgrobani](https://github.com/dgrobani)
36+
- Daniel Molares [@dmols](https://github.com/dmols)
3637
- David Warden [@dfwarden](https://github.com/dfwarden)
3738
- Davis Goff [@Goff-Davis](https://github.com/Goff-Davis)
3839
- Deundre Williams [@deundrewilliams](https://github.com/deundrewilliams)
@@ -60,13 +61,16 @@ Patches and Suggestions
6061
- Kenny Perez [@kennygperez](https://github.com/kennygperez)
6162
- [@kensler](https://github.com/kensler)
6263
- Lawrence Oks [@ljoks](https://github.com/ljoks)
64+
- Lee Fent [@lafent](https://github.com/lafent)
6365
- Leonard Camacho [@lcamacho](https://github.com/lcamacho)
66+
- Lucas Salas [@lucas-salas](https://github.com/lucas-salas)
6467
- Mark Lalor [@MarkLalor](https://github.com/MarkLalor)
6568
- Markus [@elec3647](https://github.com/elec3647)
6669
- Matthew Fedder [@matthewf-ucsd](https://github.com/matthewf-ucsd)
6770
- Matthew Jones [@jonespm](https://github.com/jonespm)
6871
- Michael Phelps [@nottheswimmer](https://github.com/nottheswimmer)
6972
- Mike Nahmias [@Mike-Nahmias](https://github.com/Mike-Nahmias)
73+
- Mike Suhan [@mikesuhan](https://github.com/mikesuhan)
7074
- Nathan Dabu [@nathaned](https://github.com/nathaned)
7175
- Petar Nikolovski [@petarGitNik](https://github.com/petarGitNik)
7276
- Philip Austin [@phaustin](https://github.com/phaustin)
@@ -79,6 +83,7 @@ Patches and Suggestions
7983
- Stephen Woosley [@stephenwoosley](https://github.com/stephenwoosley)
8084
- Steven Bell [@stevenbell](https://github.com/stevenbell)
8185
- Steven Williams [@onomou](https://github.com/onomou)
86+
- [@svanderwulp](https://github.com/svanderwulp)
8287
- Tinson Lai [@laitingsheng](https://github.com/laitingsheng)
8388
- Toan Vu [@vutoan1245](https://github.com/vutoan1245)
8489
- [@Tobiaqs](https://github.com/Tobiaqs)

CHANGELOG.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,48 @@
22

33
## [Unreleased]
44

5+
## [3.1.0] - 2023-04-21
6+
7+
### New Endpoint Coverage
8+
9+
- Account Calendars (Thanks, [@dmols](https://github.com/dmols))
10+
- List available account calendars
11+
- Get a single account calendar
12+
- Update a calendar's visibility
13+
- Update many calendars' visibility
14+
- List all account calendars
15+
- Enrollments (Thanks, [@svanderwulp](https://github.com/svanderwulp))
16+
- Accept Course Invitation
17+
- Reject Course Invitation
18+
- File (Thanks, [@bennettscience](https://github.com/bennettscience))
19+
- Update File
20+
- JWTs (Thanks [@dmols](https://github.com/dmols))
21+
- Create JWTs
22+
- Refresh JWTs
23+
- Moderation Grading (Moderation Set)
24+
- List students selected for moderation
25+
- Select students for moderation
26+
- Query Course Events (Thanks, [@dmols](https://github.com/dmols))
27+
- Query by course
28+
- Query by account
29+
- Rubrics (Thanks, [@bennettscience](https://github.com/bennettscience))
30+
- Create, Update, and Delete Rubric Assessments
31+
- Create a Rubric Association
32+
- Users
33+
- Terminate all user sessions (Thanks, [@lucas-salas](https://github.com/lucas-salas))
34+
35+
### General
36+
37+
- Updated Codecov action to v3
38+
39+
### Bugfixes
40+
41+
- Fixed an issue where kwargs were not passed along to Canvas in `Course.get_module()`. (Thanks, [@bennettscience](https://github.com/bennettscience))
42+
- Fixed an issue where not all functions allowed arbitrary keyword arguments. Added a test to detect and prevent this for the future.
43+
- 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))
44+
- Added missing docs for `AssignmentOverride`. (Thanks, [@lafent](https://github.com/lafent))
45+
- 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))
46+
547
## [3.0.0] - 2022-09-21
648

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

566-
[Unreleased]: https://github.com/ucfopen/canvasapi/compare/v3.0.0...develop
608+
[Unreleased]: https://github.com/ucfopen/canvasapi/compare/v3.1.0...develop
609+
[3.1.0]: https://github.com/ucfopen/canvasapi/compare/v3.0.0...v3.1.0
567610
[3.0.0]: https://github.com/ucfopen/canvasapi/compare/v2.2.0...v3.0.0
568611
[2.2.0]: https://github.com/ucfopen/canvasapi/compare/v2.1.0...v2.2.0
569612
[2.1.0]: https://github.com/ucfopen/canvasapi/compare/v2.0.0...v2.1.0

canvasapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
__all__ = ["Canvas"]
66

7-
__version__ = "3.0.0"
7+
__version__ = "3.1.0"

0 commit comments

Comments
 (0)