Blag

Latest version: v2.3.2

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.0.0

Breaking

* blag does not use default fallback templates anymore and will return an error
if it is unable to find required templates, e.g. in `templates/`.

Users upgrading from older versions can either run `blag quickstart` (don't
forget to backup your `config.ini` or copy the templates from blag's
resources (the resource path is shown in the error message).

New users are not affected as `blag quickstart` will generate the needed
templates.

* Split former archive page which served as index.html into "index" and
"archive", each with their own template, respectively. Index is the landing
page and shows by default only the latest 10 articles. Archive shows the full
list of articles.

If you used custom templates,
* you should create an "index.html"-template (take blag's default one as a
starting point)
* you may want to include the new "/archive.html" link somewhere in your
navigation

Changed

* blag comes now with a simple yet good looking default theme that supports
syntax highlighting and a light- and dark theme.

* apart from the generated configuration, `blag quickstart` will now also
create the initial directory structure, with the default template, the static
directory with the CSS files and the content directory with some initial
content to get the user started

* Added a make target to update the pygments themes

* updated dependencies:
* markdown 3.4.3
* pygments 2.15.1
* pytest 7.3.2
* types-markdown 3.4.2.9
* build 0.10.0

* Switched from sphinx to mkdocs

Fixed

* fixed pyproject.toml to include tests/conftest.py

1.5.0

* moved to pyproject.toml
* added python 3.11 to test suite
* break out lint and mypy from test matrix and only run on linux- and latest
stable python to make it a bit more efficient
* added dependabot check for github actions
* updated dependencies:
* mypy 1.2.0
* types-markdown 3.4.2.1
* pytest-cov 4.0.0
* sphinx 5.3.0
* pytest 7.3.0
* flake8 6.0.0
* twine 4.0.2
* wheel 0.40.0

1.4.1

* applied multi-arch fix by debian-janitor
* updated dependencies:
* pytest 7.1.3
* sphinx 5.2.1
* types-markdown 3.4.2

1.4.0

* added type hints and mypy --strict to test suite
* improved default template
* updated dependencies:
* markdown 3.4.1
* pygments 2.13.0
* flake 5.0.4
* twine 4.0.1
* sphinx 5.1.1

1.3.2

* Added --version option
* added --verbose option, that increases the loglevel to 'debug'
* Improved quickstart:
* respective default answers will be written to config if user provided no
answer
* added tests for quickstart
* Added some test cases for the MarkdownLinktreeProcessor

1.3.1

* fixed man page

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.