Commit Graph

214 Commits

Author SHA1 Message Date
renovate[bot]
499ea51411 Lock file maintenance 2024-08-24 15:38:56 +00:00
Nick Groenen
aabb6c6132
Disable semantic commits in renovate
The default heuristics were picking up semantic commits even though we
don't use those on this repository. Explicitly disable them to prevent
that.
2024-08-24 14:49:34 +02:00
Nick Groenen
2bee08477d
Disable separateMajorMinor for pulldown-cmark dependency group
Finally figured it out, this was the issue that was preventing renovate
from grouping pulldown-cmark and pulldown-cmark-to-cmark together in a
single PR.

See code comment for a more detailed description of why this is needed.
2024-08-24 14:48:25 +02:00
Nick Groenen
5bede0a357
renovate: matchPackagePatterns -> matchPackageNames
See https://docs.renovatebot.com/release-notes-for-major-versions/#changes-to-package-matching

This might also explain the issues getting grouping to work for
pulldown-cmark.
2024-08-24 13:21:35 +02:00
Nick Groenen
768ebb3ecd
Update groupName for pulldown-cmark in renovate config
66108b5128 didn't actually result in a
grouped update for pulldown-cmark and pulldown-cmark-to-cmark, both of
which have available updates and both of which must be upgraded at the
same time in this instance.

Reading the renovate documentation, it is unclear why this configuration
didn't work, but my best guess is that there's some unexpected behavior
when groupName == packageName.
2024-08-24 13:12:42 +02:00
Nick Groenen
66108b5128
Group updates for pulldown-cmark and pulldown-cmark-to-cmark 2024-08-24 12:52:56 +02:00
renovate[bot]
9044fc83a8 Lock file maintenance 2024-08-19 03:58:34 +00:00
renovate[bot]
76c61c6a07 Lock file maintenance 2024-08-12 03:52:19 +00:00
renovate[bot]
7b1794eb71
Lock file maintenance (#277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-10 11:14:47 +02:00
Nick Groenen
7916cf47e3
Merge pull request #276 from zoni/pulldown-cmark-0.11
Upgrade to pulldown-cmark 0.11
2024-08-10 10:54:58 +02:00
Nick Groenen
3afab84d69
Get frontmatter directly from pulldown-cmark
pulldown-cmark 0.10.0 introduced metadata blocks in
pulldown-cmark/pulldown-cmark#641. Using this we can drop the dependency
on matter and grab the frontmatter as we're consuming markdown events
from the note being parsed, instead of having to extract the frontmatter
separately.
2024-08-09 20:01:39 +02:00
Nick Groenen
e2ef435f04
Enable math extension
This ensures LaTeX/MathJax blocks don't get mangled as seen in
https://github.com/zoni/obsidian-export/issues/14.
2024-08-04 21:11:06 +02:00
Nick Groenen
6d0e693ed7
Upgrade to pulldown-cmark 0.11 2024-08-04 21:11:06 +02:00
Nick Groenen
72735cfff8
Change release process to use towncrier and delay regenerating README
1. Use [towncrier][1] to generate release notes/CHANGELOG instead of
   auto-generating it from git commit messages.
2. Move release scripts into a Justfile.
3. Only regenerate the top-level README file when making a release,
   don't force it to be up to date in between releases.

Point 3 helps prevent documentation for unreleased changes from being
shown to users on GitHub, which may otherwise be confusing.

[1]: https://towncrier.readthedocs.io/en/stable/index.html#
2024-08-04 14:19:50 +02:00
Davis Davalos-DeLosh
564bee1d92 Optionally preserve modified time of exported files
Add a new argument --preserve-mtime to keep the original modified time
attribute of notes being exported, instead of setting them to the
current time.
2024-08-04 14:00:49 +02:00
Nick Groenen
fc7ebd111a
Remove some unnecessary borrows 2024-08-04 11:59:17 +02:00
Nick Groenen
c32d70ac06
Use std::sync::LazyLock instead of lazy_static crate
LazyLock was stabilized in Rust 1.80.0, allowing us to drop this
external dependency now.
2024-08-04 11:52:20 +02:00
renovate[bot]
6601810d2b Update Rust crate tempfile to v3.11.0 2024-08-03 15:07:53 +02:00
renovate[bot]
d081cb4b45 Update Rust crate regex to v1.10.6 2024-08-03 15:07:33 +02:00
renovate[bot]
eed844b4bf Update dependency rust to v1.80.0 2024-08-03 15:07:15 +02:00
Nick Groenen
da9238a78c
Use nightly rust for formatting to group import statements 2024-08-03 14:39:07 +02:00
Nick Groenen
bd1220028b
Run clippy and tests with --all-targets --all-features 2024-08-03 13:17:45 +02:00
Nick Groenen
fc0221e5db
Use cargo-bins/cargo-binstall action instead of manual download 2024-08-03 12:35:17 +02:00
renovate[bot]
e47d06e627 Update actions/setup-python digest to 39cd149 2024-08-03 11:47:23 +02:00
renovate[bot]
c25d80fe66 Update actions/upload-artifact digest to 89ef406 2024-08-03 11:46:37 +02:00
Nick Groenen
c8cf91c0c8
Make clippy more strict 2024-08-03 11:38:20 +02:00
Nick Groenen
b216ac63aa
Refactor CI pipelines
Various semi-related changes to the GHA setup to maximize code-reuse and
cache effectiveness, as well as introduce rust-toolchain.toml and cargo
deny.
2024-08-02 18:28:51 +02:00
renovate[bot]
c60f48df6d Lock file maintenance 2024-07-29 03:11:45 +00:00
renovate[bot]
1ed641e520 Lock file maintenance 2024-07-22 03:52:01 +00:00
renovate[bot]
179a83b85a Lock file maintenance 2024-07-15 04:35:38 +00:00
renovate[bot]
5bf550352b Lock file maintenance 2024-07-08 04:02:58 +00:00
renovate[bot]
f9821c5929 Lock file maintenance 2024-07-01 03:53:48 +00:00
renovate[bot]
2e76243932 Lock file maintenance 2024-06-24 05:16:13 +00:00
renovate[bot]
6a68c52706 Update actions/cache action to v4 2024-06-23 23:33:36 +02:00
renovate[bot]
2a1c9aefac Update Rust crate rstest to 0.21.0 2024-06-23 17:29:20 +00:00
renovate[bot]
a89da43af4 Update actions/upload-artifact action to v4 2024-06-23 15:28:49 +02:00
renovate[bot]
7cbf1e5a84 Update mozilla-actions/sccache-action action to v0.0.5 2024-06-23 15:28:26 +02:00
Nick Groenen
3ba8d7ad21
Upgrade dependencies
name                  old req compatible latest new req
====                  ======= ========== ====== =======
eyre                  0.6.9   0.6.12     0.6.12 0.6.12
ignore                0.4.21  0.4.22     0.4.22 0.4.22
lazy_static           1.4.0   1.5.0      1.5.0  1.5.0
regex                 1.10.2  1.10.5     1.10.5 1.10.5
snafu                 0.8.2   0.8.3      0.8.3  0.8.3
unicode-normalization 0.1.22  0.1.23     0.1.23 0.1.23
tempfile              3.8.1   3.10.1     3.10.1 3.10.1
2024-06-23 15:25:35 +02:00
dependabot[bot]
bf2f0311c3 Bump snafu from 0.7.5 to 0.8.2
Bumps [snafu](https://github.com/shepmaster/snafu) from 0.7.5 to 0.8.2.
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shepmaster/snafu/compare/0.7.5...0.8.2)

---
updated-dependencies:
- dependency-name: snafu
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:15:01 +02:00
dependabot[bot]
e4d30da112 Bump rayon from 1.8.0 to 1.10.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.0 to 1.10.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.10.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:14:53 +02:00
dependabot[bot]
dc6c6fbf94 Bump serde_yaml from 0.9.27 to 0.9.34+deprecated
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.27 to 0.9.34+deprecated.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.34)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:14:46 +02:00
dependabot[bot]
b370433925 Bump walkdir from 2.4.0 to 2.5.0
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.4.0 to 2.5.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: walkdir
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:14:39 +02:00
renovate[bot]
1b1efffe7e Pin dependencies 2024-06-23 15:08:59 +02:00
Nick Groenen
cda79d7fca
Switch from Dependabot to Renovate 2024-06-23 14:57:07 +02:00
dependabot[bot]
a7517106e8 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 23:36:36 +01:00
Nick Groenen
dba05d0e9c
Fix license specifier in Cargo metadata 2023-12-03 17:44:41 +01:00
Nick Groenen
82b6e597c6
Release v23.12.0 2023-12-03 17:38:24 +01:00
Nick Groenen
90d7dc3cf4
Update make-new-release.sh 2023-12-03 17:35:56 +01:00
Nick Groenen
7bbd211732
Remove leftover --ignore-frontmatter-keyword docs reference
An earlier iteration of #163 included this flag, but the final version
only uses `--skip-tags` and `--only-tags`.
2023-12-03 17:21:44 +01:00
Nick Groenen
d6f8b4e692
Use cargo-dist to create release artifacts
This will create binaries for more platforms (including ARM builds for
MacOS) and installer scripts in addition to just the binaries themselves.
2023-12-03 17:06:31 +01:00