Skip to content

Update dependency mkdocs-git-revision-date-localized-plugin to v1.6.0 - #60

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mkdocs-git-revision-date-localized-plugin-1.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mkdocs-git-revision-date-localized-plugin-1.x

Conversation

@renovate

@renovate renovate Bot commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mkdocs-git-revision-date-localized-plugin ==1.5.0==1.6.0 age confidence

Release Notes

timvink/mkdocs-git-revision-date-localized-plugin (mkdocs-git-revision-date-localized-plugin)

v1.6.0

Compare Source

Highlights
Faster builds

Every page asked git which tag pointed at its commit, and asked again for the site-wide revision commit — the same answer, recomputed for each page. Those lookups are now cached.

The bigger your site, the more you save: on a 1000 page site this removes roughly 18 seconds of build time.

custom_format keeps your own words

If your format had any text around the date directives, that text came out scrambled:

custom_format: "Updated on %d %B %Y"
before:   Up23AMt723 on 23 January 2022
now:      Updated on 23 January 2022

Any format that was made up purely of % directives (including the %d. %B %Y default) was unaffected and still renders exactly as before. Unrecognised directives such as %Q are now left alone instead of being quietly reinterpreted as a different date field.

Creation date commit hash and tag now work

page.meta.git_creation_date_localized_hash and page.meta.git_creation_date_localized_tag were documented but always came back empty. If you use them in a theme override to link back to the commit or release that introduced a page, they now contain what you expect.

Shallow clone warnings reach more setups

The warning that tells you your dates will be wrong because CI only fetched part of the history was silently skipped whenever your .git was not in the directory you ran mkdocs from — a repository inside docs/, or a temporary checkout made by plugins such as monorepo. It now fires there too.

Clearer messages when something goes wrong
  • A bad type: now produces a proper MkDocs config error listing the valid values, instead of a bare AssertionError.
  • If reading git history in parallel fails, the error explains what enable_parallel_processing: false actually does, rather than suggesting a fallback it never attempted.
  • Plugin messages now go through MkDocs' own logger, so they are formatted and coloured like every other message in your build output.
Type hints are now visible

The package ships py.typed, so mypy, pyright and ty can see the plugin's annotations.

Upgrading

mkdocs build --strict is now stricter. Warnings from this plugin previously bypassed MkDocs' warning counter, so --strict ignored them. They now count.

In practice this means a build that combines --strict with a shallow clone will start failing where it used to pass — most commonly GitHub Actions, which checks out with fetch-depth: 1 by default. The dates in that build really are wrong, so the right fix is to fetch the full history:

- uses: actions/checkout@v6
  with:
    fetch-depth: 0

If you would rather keep the build passing as-is, set strict: false in the plugin config to downgrade these messages:

plugins:
  - git-revision-date-localized:
      strict: false

Minimum MkDocs version is now 1.4. The plugin already required MkDocs 1.4 APIs to import at all; the metadata said >=1.0, which meant a resolver could install a combination that could never work. Nothing changes for anyone on 1.4 or newer.

v1.5.4

Compare Source

Security

Raises the gitpython floor from >=3.1.44 to >=3.1.59.

Earlier dependabot bumps only touched this repo's uv.lock, which pins the CI
environment and nothing else. Downstream users installing from PyPI resolved
against pyproject.toml, so they could still land on a GitPython carrying the
2026 option-injection advisories — GHSA-wvpp-8hx9-p66j and GHSA-jm78-9fvv-mhgr
among them, all patched by 3.1.58, with further option hardening in 3.1.59.

This plugin never passes user input as git options, so it was not exploitable
through those. The floor bump forces the upgrade in environments that already
hold an older GitPython, and clears the warnings downstream scanners report.

Thanks to @​nucleus-ffm for reporting it in #​222.

Maintenance

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.5.3...v1.5.4

v1.5.3

Compare Source

What's Changed

New Contributors

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.5.2...v1.5.3

v1.5.2

Compare Source

What's Changed

Bug fixes
  • Guard against page is None in mkdocs theme override Jinja2 templates by @​Copilot in #​202
Dependency updates (security)

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.5.1...v1.5.2

v1.5.1: revision-date-localized v1.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.5.0...v1.5.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/mkdocs-git-revision-date-localized-plugin-1.x branch from d17f760 to f33cc73 Compare March 13, 2026 12:05
@renovate renovate Bot changed the title chore(deps): update dependency mkdocs-git-revision-date-localized-plugin to v1.5.1 Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.1 Apr 8, 2026
@renovate renovate Bot changed the title Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.1 Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.2 May 13, 2026
@renovate
renovate Bot force-pushed the renovate/mkdocs-git-revision-date-localized-plugin-1.x branch from f33cc73 to 998c61a Compare May 13, 2026 08:42
@renovate renovate Bot changed the title Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.2 Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.3 Jun 1, 2026
@renovate
renovate Bot force-pushed the renovate/mkdocs-git-revision-date-localized-plugin-1.x branch from 998c61a to 828467b Compare June 1, 2026 23:03
@renovate renovate Bot changed the title Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.3 Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.4 Aug 21, 2026
@renovate
renovate Bot force-pushed the renovate/mkdocs-git-revision-date-localized-plugin-1.x branch from 828467b to c6263ea Compare August 21, 2026 11:08
@renovate
renovate Bot force-pushed the renovate/mkdocs-git-revision-date-localized-plugin-1.x branch from c6263ea to 88ca74c Compare September 14, 2026 13:48
@renovate renovate Bot changed the title Update dependency mkdocs-git-revision-date-localized-plugin to v1.5.4 Update dependency mkdocs-git-revision-date-localized-plugin to v1.6.0 Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants