From ee22a67614da8a9c0fb61dbbcde114ed98133bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Thu, 2 Apr 2026 15:56:48 +0200 Subject: [PATCH 1/2] Update pre-commit hooks --- .pre-commit-config.yaml | 10 +++++----- examples/precice-config.xml | 10 ---------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d225e6..a2d7ef8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Official repo for the clang-format hook - repo: https://github.com/pre-commit/mirrors-clang-format - rev: 'v8.0.1' + rev: 'v22.1.2' hooks: - id: clang-format # Rust formatting hook @@ -11,13 +11,13 @@ repos: - id: fmt # Official repo for default hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v4.3.0' + rev: 'v6.0.0' hooks: - id: check-xml - id: check-merge-conflict - id: mixed-line-ending # Custom repo for the preCICE configuration formatter -- repo: https://github.com/precice/precice-pre-commit-hooks - rev: 'v2.1' +- repo: https://github.com/precice/config-format + rev: 'v2.0.0' hooks: - - id: format-precice-config + - id: precice-config-format diff --git a/examples/precice-config.xml b/examples/precice-config.xml index 879efd2..2b3cf1c 100644 --- a/examples/precice-config.xml +++ b/examples/precice-config.xml @@ -24,17 +24,13 @@ - - - - - - @@ -55,13 +49,9 @@ - - - - From a8a48c240a7eef06277f35e44fe29d01ffcfb76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Thu, 2 Apr 2026 15:51:23 +0200 Subject: [PATCH 2/2] Add release 3.4.0 --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e70f496..ab79f6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. ## latest +## 3.4.0 + +- Update pre-commit hooks to latest version + ## 3.3.1 - Fix builing documentation without a preCICE installation on docs.rs diff --git a/Cargo.toml b/Cargo.toml index ebcd50d..8935e00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "precice" -version = "3.3.1" +version = "3.4.0" authors = ["Frédéric Simonis (fsimonis)"] edition = "2021" description = "Rust bindinds for precice"