Skip to content

build(deps): update dependency mkdocs-git-revision-date-localized-plugin to v1.6.0 - #503

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/mkdocs-git-revision-date-localized-plugin-1.x-lockfile
Sep 20, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/mkdocs-git-revision-date-localized-plugin-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mkdocs-git-revision-date-localized-plugin 1.5.41.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.


Configuration

📅 Schedule: (in timezone Africa/Lusaka)

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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-lockfile branch from 8da7e15 to 8ae071c Compare September 20, 2026 09:58
@renovate
renovate Bot merged commit c17668a into main Sep 20, 2026
7 checks passed
@renovate
renovate Bot deleted the renovate/mkdocs-git-revision-date-localized-plugin-1.x-lockfile branch September 20, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants