From 4a64850d467e9632a325d62a29a8f80de74f9f04 Mon Sep 17 00:00:00 2001 From: Annika Date: Fri, 28 Jul 2023 21:27:08 -0700 Subject: [PATCH] Version 0.0.7 --- CHANGELOG.md | 11 +++++++++++ src/main.zig | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0503b4b..55f6dab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### 0.0.7 +**BREAKING CHANGE!** +`ziglint` now supports specifying the severity of faults that a rule produces. +The `ziglint.json` format has been changed to accomodate this. + +Other changes include: +- A `banned_comment_phrases` rule allowing the linter to fault certain phrases in comments. +- A `file_as_struct` rule enforcing the file capitalization convention for files with top-level fields. +- A `dupe_import` rule checking for when a file is needlessly imported multiple times. +- The unfinished const pointer enforcement rule has been removed for now. + ### 0.0.6 - `ziglint` now utilizes exit codes. - Logging verbosity has been decreased. diff --git a/src/main.zig b/src/main.zig index 420970c..da497c5 100644 --- a/src/main.zig +++ b/src/main.zig @@ -15,7 +15,7 @@ const Version = @import("./semver.zig").Version; const ZIGLINT_VERSION = Version{ .major = 0, .minor = 0, - .patch = 6, + .patch = 7, .prerelease = null, .build_metadata = @import("comptime_build").GIT_COMMIT_HASH, };