Release 0.11.0
New Feature
- Support both Pydantic V1 and V2 (Validated)
- Support API versioning and lazy loading. See https://github.com/yanyongyu/githubkit#rest-api-versioning
- Support http basic in-memory caching. See https://github.com/yanyongyu/githubkit#config
- Support auto retry. See https://github.com/yanyongyu/githubkit#auto-retry
- Migrate webhook models to https://github.com/github/rest-api-description.
Warning
BREAKING. See #73 for more detailed infos.
What's Changed
- Feature: Support pydantic v2 by @sudosubin in #45
- Bug: fix
require_app_auth
matches unexpected routes by @udangel-r7 in #42 - Feature: Tweak
Missing
type to implicitly allowNone
values by @frankie567 in #48 - Fix: Allow Organization
name
andblog
to be nullable by @frankie567 in #49 - Fix: enterprise auth type detect by @yanyongyu in #53
- Fix: unhashable list when parsing data by @yanyongyu in #59
- Feature: Add caching for HTTP responses by @karpetrosyan in #62
- Fix:
copilot seat details
schema fixed by @jecluis in #68 - Fix:
PullRequestSimplePropHead
label field can benull
by @schelv in #65 - Fix: project v2 item field change type may be labels by @jecluis in #69
- Fix: pull request head label and user may be null by @yanyongyu in #72
- Feature: introduce api versioning, lazy loading and webhook namespace by @yanyongyu in #73
- Fix: webhook parsing when having nested union types by @frankie567 in #57
- Feature: lazy load models in groups by @yanyongyu in #78
- Bug: fix cache and cycle ref issue by @yanyongyu in #81
- Tests: add coverage config by @yanyongyu in #82
- Feature: support detecting rate limit exceeded by @schelv in #80
- Tests: support multi test envs by @yanyongyu in #83
- Feature: pydantic v1/v2 compat by @yanyongyu in #84
- Feature: auto retry when rate limit exceeded or server error encountered by @schelv in #86
- Feature: Add a link to the Github docs for each REST endpoint by @eric-nguyen-cs in #88
Full Changelog: v0.10.7...v0.11.0