Skip to content

Releases: mgeisler/version-sync

version-sync-0.9.5

09 Sep 17:55
6a4c233
Compare
Choose a tag to compare
Merge pull request #138 from mgeisler/release-0.9.5

Release 0.9.5

version-sync-0.9.4

14 Dec 22:42
de9d735
Compare
Choose a tag to compare

Version 0.9.4 — 2021-12-14

  • #114: Move from
    deprecated the semver-parser crate to semver.
  • #115: Expand
    assert_markdown_deps_updated! to also check version numbers such
    as =1.2.3, >1.2.3, and >=1.2.3.
  • #119: Add new
    assert_only_contains_regex! macro which can ensure that all
    version numbers in a file are updated.

version-sync-0.9.3

20 Sep 18:55
0694a2a
Compare
Choose a tag to compare

Version 0.9.3 — 2021-09-20

  • #108: Make all
    dependencies optional.
  • #109: Forbid
    the use of unsafe code.
  • #110: Add
    simple check_contains_version function.

version-sync-0.9.2

13 Feb 16:34
7891516
Compare
Choose a tag to compare
  • #94: chore: Update pulldown-cmark to 0.8.
  • #95: Fix non_fmt_panic lint error in latest nightly.
  • #100: Setup weekly build to catch errors on nightly Rust.
  • #101: Forbid warnings when building in CI.

version-sync-0.9.1

11 Feb 23:02
Compare
Choose a tag to compare
  • #91: Pull in fewer dependencies. This optimizes the build time by 1-2 seconds.
  • #92: Normalize \r\n to \n to ensure ^ and $ always match line boundaries.

version-sync-0.9.0

11 Feb 23:00
516b640
Compare
Choose a tag to compare

Drop support for Rust 1.31.0 since our dependencies keep releasing new patch versions that push up the minimum required Rust version. These updates mean that version-sync 0.8.1 no longer compiles with Rust 1.31.0 because cargo sync will pull in too new versions of the direct and transitive dependencies. This happens even if there are no changes in version-sync.

The constant build failures in our CI makes it infeasible to keep version-sync compatible with any particular version of Rust. We will therefore track the latest stable version of Rust from now on.

At the time of writing, the code compiles with Rust 1.36, but this will likely become outdated soon.

Issues closed:

  • #83: version_sync fails to parse toml blocks when inside blockquotes
  • #84: Release update to crates.io with syn 1.0

version-sync-0.8.1

11 Feb 22:58
10eaa12
Compare
Choose a tag to compare

Dependencies were relaxed to make it easier to upgrade version-sync.

version-sync-0.8.0

11 Feb 22:57
7413a2b
Compare
Choose a tag to compare

We now use Rust 2018, which means we require Rust version 1.31.0 or later. The assert_html_root_url_updated! macro will again report accurate line numbers based on span information from the syn crate.

version-sync-0.7.0

11 Feb 22:56
207d6df
Compare
Choose a tag to compare

Special characters are now correctly escaped in the {name} and {version} placeholders in assert_contains_regex!.

Dependencies were updated and version-sync now requires Rust version 1.27.2 or later.

version-sync-0.6.0

11 Feb 22:55
a254c84
Compare
Choose a tag to compare

You can use assert_contains_regex! to grep files for the current version number. The search is done with a regular expression where {version} is replaced with the current version number.

Git dependencies are now always accepted, which means that blocks like

```toml
[dependencies]
your_crate = { git = "..." }
```

will work without you having to add no_sync.

Issues closed:

  • #17: Allow to check non-markdown sources.
  • #39: Version 0.5 requires Rust version 1.21.0.
  • #42: Handle Git dependencies.