Repository navigation
v0.13.0
What's Changed
Breaking changes
- Drop Python 3.9 support and update type hints by @LeMyst in #906
- Fix bugs and refactor entity architecture by @LeMyst in #996
- Drop mwoauth dependency, use oauthlib directly by @LeMyst in #998
- Rewrite the fast run mode with scoped SPARQL queries by @LeMyst in #333
- More write methods by @LeMyst in #479
- Use a per-thread requests.Session instead of module-level sessions by @LeMyst in #981
- Drop support for Python 3.10 by @LeMyst in #1051
- Rely on wbi_backoff for SPARQL query retries by @etlel in #834
- Fix Claims.add() default to preserve existing claims instead of replacing them by @LeMyst with @Copilot in #926
- Reject empty values before writing, with an explicit error by @LeMyst in #1065
- Use the WikibaseDatatype enum for the datatypes by @LeMyst in #1066
- Make WikibaseRank and WikibaseSnakType StrEnum, WikibaseTimePrecision IntEnum by @LeMyst in #1067
New features and improvements
- Add check_constraints() helper for constraint checking by @LeMyst in #997
- Add PEP 561 py.typed marker by @LeMyst in #1011
- Add authentication support to execute_sparql_query by @LeMyst in #1030
- Align unused action_if_exists defaults on APPEND_OR_REPLACE by @LeMyst in #1055
- Add support for merging multiple items and creating redirects by default by @dpriskorn in #917
- Split model classes into their own file by @LeMyst in #1056
- Add Aliases.add() to add aliases without removing existing ones by @LeMyst in #1057
- Raise a clear error for Lexeme requests without WikibaseLexeme by @LeMyst in #1061
- Add EditGroups support for custom bots by @LeMyst in #1063
- Add check_wikibase() to report the features of a Wikibase instance by @LeMyst in #1064
- Add WCQSAuth to query the Wikimedia Commons Query Service by @LeMyst in #1068
Bug fixes
- Recover from lost sessions instead of failing writes by @LeMyst in #999
- Fix mypy errors in reauthenticate() and run lint on dependency bumps by @LeMyst in #1010
- Avoid mutating passed-in request data by @LeMyst in #982
- Compare time values at their precision in fastrun by @LeMyst in #1058
Documentation
- Fix outdated fastrun claim in README and version note in AGENTS.md by @LeMyst in #1012
- Update AGENTS.md and ignore agent worktrees by @LeMyst in #1032
- Update README to match the current code by @LeMyst in #1033
- Prepare for the 0.13.0 release by @LeMyst in #1054
- Mark the MediaInfo / Structured Data on Commons support as beta by @LeMyst in #1060
- Add a README example to replace a property by another by @LeMyst in #1062
- Fix the v0.13 retries entry for execute_sparql_query() in the README by @LeMyst in #1069
Dependencies
- Bump pytest from 8.4.1 to 8.4.2 by @dependabot[bot] in #901
- Bump pytest-cov from 6.2.1 to 7.0.0 by @dependabot[bot] in #904
- Bump mypy from 1.17.1 to 1.18.1 by @dependabot[bot] in #905
- Bump mypy from 1.18.1 to 1.18.2 by @dependabot[bot] in #909
- Bump jupyterlab from 4.4.7 to 4.4.8 by @dependabot[bot] in #910
- Bump pylint from 3.3.8 to 3.3.9 by @dependabot[bot] in #914
- Bump jupyterlab from 4.4.8 to 4.4.9 by @dependabot[bot] in #913
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #915
- Bump jupyterlab from 4.4.9 to 4.4.10 by @dependabot[bot] in #919
- Bump sigstore/gh-action-sigstore-python from 3.0.1 to 3.1.0 by @dependabot[bot] in #918
- Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #920
- Bump urllib3 from 2.5.0 to 2.6.0 in the pip group across 1 directory by @dependabot[bot] in #933
- Bump sigstore/gh-action-sigstore-python from 3.1.0 to 3.2.0 by @dependabot[bot] in #932
- Bump mypy from 1.18.2 to 1.19.0 by @dependabot[bot] in #931
- Bump actions/setup-python from 6.0.0 to 6.1.0 by @dependabot[bot] in #930
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #929
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #921
- Bump jupyterlab from 4.4.10 to 4.5.0 by @dependabot[bot] in #928
- Bump jupyterlab from 4.5.0 to 4.5.1 by @dependabot[bot] in #937
- Bump mypy from 1.19.0 to 1.19.1 by @dependabot[bot] in #936
- Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #935
- Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #934
- Bump urllib3 from 2.6.0 to 2.6.3 in the pip group across 1 directory by @dependabot[bot] in #940
- Bump sphinx-rtd-theme from 3.0.2 to 3.1.0 by @dependabot[bot] in #942
- Bump actions/setup-python from 6.1.0 to 6.2.0 by @dependabot[bot] in #943
- Bump jupyterlab from 4.5.1 to 4.5.4 by @dependabot[bot] in #946
- Bump nbconvert from 7.16.6 to 7.17.0 in the pip group across 1 directory by @dependabot[bot] in #945
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #948
- Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #949
- Bump dependencies in poetry.lock by @LeMyst in #954
- Bump pytest from 9.0.2 to 9.0.3 by @dependabot[bot] in #962
- Bump sigstore/gh-action-sigstore-python from 3.2.0 to 3.3.0 by @dependabot[bot] in #959
- Bump sphinx-github-changelog from 1.7.1 to 1.7.2 by @dependabot[bot] in #957
- Bump pytest-cov from 7.0.0 to 7.1.0 by @dependabot[bot] in #956
- Bump requests from 2.32.5 to 2.33.0 by @dependabot[bot] in #958
- Bump mypy from 1.19.1 to 1.20.0 by @dependabot[bot] in #961
- Bump mypy from 1.20.0 to 1.20.1 by @dependabot[bot] in #964
- Bump mypy from 1.20.1 to 1.20.2 by @dependabot[bot] in #966
- Bump pozil/auto-assign-issue from 2 to 3 by @dependabot[bot] in #967
- Bump requests from 2.32.5 to 2.33.1 by @dependabot[bot] in #960
- Bump actions/setup-python from 6.2.0 to 6.3.0 by @dependabot[bot] in #992
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #989
- Bump sigstore/gh-action-sigstore-python from 3.3.0 to 3.4.0 by @dependabot[bot] in #984
- Bump pozil/auto-assign-issue from 3 to 4 by @dependabot[bot] in #978
- Bump jupyterlab from 4.5.6 to 4.6.1 by @dependabot[bot] in #993
- Bump pylint from 4.0.5 to 4.0.6 by @dependabot[bot] in #987
- Bump pytest from 9.0.3 to 9.1.1 by @dependabot[bot] in #990
- Bump ujson from 5.12.0 to 5.13.0 by @dependabot[bot] in #985
- Bump mypy from 1.20.2 to 2.1.0 by @dependabot[bot] in #974
- Bump requests from 2.33.1 to 2.34.2 by @dependabot[bot] in #977
- Update poetry.lock by @LeMyst in #995
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #1004
- Bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in #1003
- Bump actions/setup-python from 6.2.0 to 6.3.0 by @dependabot[bot] in #1002
- Bump mypy from 2.1.0 to 2.2.0 by @dependabot[bot] in #1005
- Bump mypy from 2.2.0 to 2.3.0 by @dependabot[bot] in #1006
- Bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in #1008
- Bump codespell from 2.4.2 to 2.4.3 by @dependabot[bot] in #1007
- Bump jupyterlab from 4.6.1 to 4.6.2 by @dependabot[bot] in #1009
- Bump sigstore/gh-action-sigstore-python from 3.4.0 to 3.5.0 by @dependabot[bot] in #1014
- Bump github/codeql-action from 4 to 4.37.3 by @dependabot[bot] in #1015
- Bump github/codeql-action from 4.37.3 to 4.37.4 by @dependabot[bot] in #1016
- Bump github/codeql-action from 4.37.4 to 4.37.5 by @dependabot[bot] in #1017
- Bump github/codeql-action from 4.37.5 to 4.37.6 by @dependabot[bot] in #1018
- Bump pylint from 4.0.6 to 4.0.7 by @dependabot[bot] in #1019
- Bump jupyterlab from 4.6.2 to 4.6.3 by @dependabot[bot] in #1020
- Bump github/codeql-action from 4.37.6 to 4.37.7 by @dependabot[bot] in #1021
- Bump mypy from 2.3.0 to 2.3.1 by @dependabot[bot] in #1022
- Bump tornado from 6.5.7 to 6.5.8 in the pip group across 1 directory by @dependabot[bot] in #1025
- Bump github/codeql-action from 4.37.7 to 4.37.9 by @dependabot[bot] in #1024
- Bump pylint from 4.0.7 to 4.0.8 by @dependabot[bot] in #1026
- Bump ujson from 5.13.0 to 6.0.0 by @dependabot[bot] in #1027
- Bump github/codeql-action from 4.37.9 to 4.38.0 by @dependabot[bot] in #1028
- Bump the pip group across 1 directory with 2 updates by @dependabot[bot] in #1029
- Bump anyio from 4.14.1 to 4.15.1 (security) by @LeMyst in #1031
- Bump jupyterlab from 4.6.3 to 4.6.4 by @dependabot[bot] in #1035
- Bump github/codeql-action from 4.38.0 to 4.38.1 by @dependabot[bot] in #1034
- Bump pylint from 4.0.8 to 4.0.9 by @dependabot[bot] in #1036
- Bump github/codeql-action from 4.38.1 to 4.38.2 by @dependabot[bot] in #1037
- Bump oauthlib from 3.3.1 to 4.0.0 in the pip group across 1 directory by @dependabot[bot] in #1038
- Bump the pip group across 1 directory with 2 updates by @dependabot[bot] in #1039
- Bump pylint from 4.0.9 to 4.1.1 by @dependabot[bot] in #1040
- Bump mypy from 2.3.1 to 2.4.0 by @dependabot[bot] in #1041
- Bump notebook from 7.6.0 to 7.6.3 in the pip group across 1 directory by @dependabot[bot] in #1042
- Bump github/codeql-action from 4.38.2 to 4.38.3 by @dependabot[bot] in #1044
- Bump github/codeql-action from 4.38.3 to 4.39.0 by @dependabot[bot] in #1046
- Bump pylint from 4.1.1 to 4.1.3 by @dependabot[bot] in #1045
- Bump github/codeql-action from 4.39.0 to 4.39.1 by @dependabot[bot] in #1049
- Bump actions/setup-python from 7.0.0 to 7.1.0 by @dependabot[bot] in #1048
- Bump actions/setup-python from 7.0.0 to 7.1.0 by @dependabot[bot] in #1050
- Bump certifi from 2026.6.17 to 2026.10.19 in the pip group across 1 directory by @dependabot[bot] in #1047
- Force nbconvert >= 7.17.2 (GHSA-pjvx-prjx-h659) by @LeMyst in #1052
- Update locked dependencies by @LeMyst in #1053
Other changes
- Bump version to 0.12.15.dev0 in pyproject.toml by @LeMyst in #900
- fix: let generate_entity_instances preserve login information by @lihaohong6 in #912
- Add User-Agent header to OAuth2 token request by @LeMyst in #924
- Release version 0.12.15 by @LeMyst in #938
- Bump version to 0.12.16.dev0 by @LeMyst in #955
- Update CI configuration to use Ubuntu 24.04 container by @LeMyst in #973
- Migrate to offline test suite with mocked Wikibase API by @LeMyst in #994
- Add .run/ to gitignore by @LeMyst in #1000
- Ignore local TODO.md and review notes by @LeMyst in #1013
- Rename params to body in execute_sparql_query by @LeMyst in #983
- Add pre-commit configuration by @LeMyst in #1059
- Release version 0.13.0 and publish from GitHub releases by @LeMyst in #1070
New Contributors
- @lihaohong6 made their first contribution in #912
- @etlel made their first contribution in #834
Full Changelog: v0.12.14...v0.13.0