Skip to content

Commit 678bc18

Browse files
committed
chore: release v1.0.4
- Updates dependencies. - Fixes markdown extension registration. - Remove some dependencies version constraints. Co-Authored-by: Pascal Repond <[email protected]>
1 parent 144de7d commit 678bc18

File tree

5 files changed

+349
-161
lines changed

5 files changed

+349
-161
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [v1.0.4](https://github.com/rero/flask-wiki/tree/v1.0.4) (2025-12-10)
4+
5+
[Full Changelog](https://github.com/rero/flask-wiki/compare/v1.0.3...v1.0.4)
6+
7+
- chore: update dependencies [\#77](https://github.com/rero/flask-wiki/pull/77) (by @PascalRepond)
8+
- chore(actions): auto-assign PR author (by @PascalRepond)
9+
310
## [v1.0.3](https://github.com/rero/flask-wiki/tree/v1.0.3) (2025-08-05)
411

512
[Full Changelog](https://github.com/rero/flask-wiki/compare/v1.0.2...v1.0.3)

flask_wiki/markdown_ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
class BootstrapExtension(Extension):
1414
"""."""
1515

16-
def extendMarkdown(self, md, md_globals): # noqa
16+
def extendMarkdown(self, md): # noqa
1717
"""."""
1818
md.registerExtension(self)
1919
self.processor = BootstrapTreeprocessor()
2020
self.processor.md = md
2121
self.processor.config = self.getConfigs()
22-
md.treeprocessors.add("bootstrap", self.processor, "_end")
22+
md.treeprocessors.register(self.processor, "bootstrap", 1)
2323

2424

2525
class BootstrapTreeprocessor(Treeprocessor):

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "flask-wiki"
3-
version = "1.0.3"
3+
version = "1.0.4"
44
description = "Simple file-based wiki for Flask"
55
readme = "README.md"
66
authors = [{name = "RERO+", email = "[email protected]"}]
@@ -17,10 +17,10 @@ dependencies = [
1717
"wtforms",
1818
"werkzeug (>=0.15)",
1919
"jinja2 (>=3.0.0)",
20-
"markdown (<3.4.0)",
21-
"py (<2.0.0)",
22-
"beautifulsoup4 (<5.0.0)",
23-
"click (<9.0.0)",
20+
"markdown",
21+
"py",
22+
"beautifulsoup4",
23+
"click",
2424
"whoosh-reloaded>=2.7.5",
2525
]
2626

scripts/test

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ fi
6464

6565
function pretests () {
6666
info_msg "Check vulnerabilities:"
67-
# pip 25.2 GHSA-4xh5-x5gv-qwph
68-
add_exceptions "GHSA-4xh5-x5gv-qwph"
69-
# py 1.11.0 PYSEC-2022-42969
70-
add_exceptions " PYSEC-2022-42969"
7167
pip-audit ${pip_audit_exceptions}
7268

7369
info_msg "Test formatting:"

0 commit comments

Comments
 (0)