Skip to content

Commit 0c863d8

Browse files
committed
Release notes for 0.5.0.
1 parent d25a32f commit 0c863d8

4 files changed

Lines changed: 26 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.11.12
3+
rev: v0.12.0
44
hooks:
55
- id: ruff-check
66
args: [ --fix ]

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22
Protego changelog
33
=================
44

5+
0.5.0 (unreleased)
6+
==================
7+
8+
- Restructured the code, splitting the single ``protego.py`` file into
9+
multiple modules. The public API remains the same but some internal names
10+
may now be available at different import paths.
11+
12+
- Added type hints and ``py.typed``.
13+
14+
- Added official support for PyPy 3.11.
15+
16+
- Switched the build backend from ``setuptools`` to ``hatchling``.
17+
18+
- Switched from ``setup.py`` to ``pyproject.toml``.
19+
20+
- CI fixes and improvements.
21+
522
0.4.0 (2024-11-15)
623
==================
724

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ commit = true
5555
tag = true
5656
tag_name = "{new_version}"
5757

58+
[[tool.bumpversion.files]]
59+
filename = "CHANGELOG.rst"
60+
search = "\\(unreleased\\)$"
61+
replace = "({now:%Y-%m-%d})"
62+
regex = true
63+
5864
[tool.coverage.run]
5965
branch = true
6066

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ commands =
3030
[testenv:typing]
3131
basepython = python3
3232
deps =
33-
mypy==1.16.0
33+
mypy==1.16.1
3434
pytest
35-
scrapy==2.13.1
35+
scrapy==2.13.2
3636
commands =
3737
mypy --strict {posargs: src tests}

0 commit comments

Comments
 (0)