From beb1974c2eb47a85df4cc8c8d7efb486ddbfb7a2 Mon Sep 17 00:00:00 2001 From: zerolab Date: Mon, 29 Jun 2026 16:59:06 +0100 Subject: [PATCH 1/3] Bump actions versions --- .github/workflows/publish.yml | 4 ++-- .github/workflows/ruff.yml | 2 +- .github/workflows/test.yml | 12 ++++++------ .github/workflows/zizmor.yml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1d1ca5..a4ac1a6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,12 +31,12 @@ jobs: pypi.org:443 api.github.com:443 - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 persist-credentials: false - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: '3.14' cache: "pip" diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index d91f1af..c97465c 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -34,7 +34,7 @@ jobs: pypi.org:443 api.github.com:443 - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a222be..381d31f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,12 +46,12 @@ jobs: pypi.org:443 api.github.com:443 - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: ${{ matrix.python-version }} @@ -113,11 +113,11 @@ jobs: pypi.org:443 api.github.com:443 - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -160,10 +160,10 @@ jobs: github.com:443 pypi.org:443 api.github.com:443 - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: # Use latest Python, so it understands all syntax. python-version: ${{env.PYTHON_LATEST}} diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 3b434f6..bea0f20 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -21,11 +21,11 @@ jobs: security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files. steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - name: Run zizmor 🌈 - uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3 + uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7 with: persona: pedantic From f5c95d8f0402248ab24ac6f50270f2955622e527 Mon Sep 17 00:00:00 2001 From: zerolab Date: Mon, 29 Jun 2026 17:00:56 +0100 Subject: [PATCH 2/3] Update CHANGELOG and bump version to 0.5 --- CHANGELOG.md | 10 ++++++++-- src/wagtail_tinytableblock/__version__.py | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f14d9f4..0742584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [0.5.0] - 2026-06-29 + ### Added -- Added common styling options (#27) +- Support for common formatting options ([#30](https://github.com/torchbox/wagtail-tinytableblock/pull/30) by @dest81) + (mostly) aligned with the Wagtail [`RichTextField` formatting controls](https://docs.wagtail.org/en/stable/advanced_topics/customization/page_editing_interface.html#limiting-features-in-a-rich-text-field). + This can be configured per block via the `features` kwarg. Or globally, via the `WAGTAIL_TINYTABLE` setting. + ## [0.4.5] - 2026-05-19 @@ -108,7 +113,8 @@ Note: this is the same as v0.4.2 - 0.4.4 with PyPI Trusted publishing fixes afte Initial release -[unreleased]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.4.5...HEAD +[unreleased]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.5.0...HEAD +[0.5.0]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.4.5...v0.5.0 [0.4.5]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.4.1...v0.4.5 [0.4.1]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/torchbox/wagtail-tinytableblock/compare/v0.3.4...v0.4.0 diff --git a/src/wagtail_tinytableblock/__version__.py b/src/wagtail_tinytableblock/__version__.py index 98a433b..3d18726 100644 --- a/src/wagtail_tinytableblock/__version__.py +++ b/src/wagtail_tinytableblock/__version__.py @@ -1 +1 @@ -__version__ = "0.4.5" +__version__ = "0.5.0" From 58a8cdbf71fb1004eceb87e9c74b573dfd927b93 Mon Sep 17 00:00:00 2001 From: zerolab Date: Mon, 29 Jun 2026 17:06:09 +0100 Subject: [PATCH 3/3] Drop setup cache to avoid cache poisoning https://docs.zizmor.sh/audits/#cache-poisoning --- .github/workflows/publish.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a4ac1a6..5fb52a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,8 +39,6 @@ jobs: - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: '3.14' - cache: "pip" - cache-dependency-path: "**/pyproject.toml" - name: ⬇️ Install build dependencies run: |