Skip to content

chore: release v0.4.0 - #22

Merged
jondkinney merged 1 commit into
mainfrom
release-plz-2026-05-22T19-55-14Z
May 26, 2026
Merged

chore: release v0.4.0#22
jondkinney merged 1 commit into
mainfrom
release-plz-2026-05-22T19-55-14Z

Conversation

@jondkinney

@jondkinney jondkinney commented May 22, 2026

Copy link
Copy Markdown
Owner

🤖 New release

  • vernier-rs-core: 0.3.0 -> 0.4.0 (⚠ API breaking changes)
  • vernier-rs-platform: 0.3.0 -> 0.4.0 (⚠ API breaking changes)
  • vernier-rs-ui: 0.3.0 -> 0.4.0 (✓ API compatible changes)
  • vernier-rs: 0.3.0 -> 0.4.0

vernier-rs-core breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field Settings.edge_bias in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/settings.rs:21
  field Settings.edge_bias in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/settings.rs:21
  field EdgeCandidate.edge_phys in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:135
  field EdgeCandidate.edge_phys in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:135
  field ShortcutSettings.bias_cycle in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/settings.rs:537
  field ShortcutSettings.bias_cycle in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/settings.rs:537

--- failure derive_trait_impl_removed: built-in derived trait no longer implemented ---

Description:
A public type has stopped deriving one or more traits. This can break downstream code that depends on those types implementing those traits.
        ref: https://doc.rust-lang.org/reference/attributes/derive.html#derive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/derive_trait_impl_removed.ron

Failed in:
  type Measurement no longer derives Eq, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/measurement.rs:37
  type Measurement no longer derives Eq, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/measurement.rs:37
  type EdgeCandidate no longer derives Eq, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:124
  type EdgeCandidate no longer derives Eq, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:124
  type SnapPoint no longer derives Eq, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/measurement.rs:14
  type SnapPoint no longer derives Eq, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/measurement.rs:14

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/function_parameter_count_changed.ron

Failed in:
  vernier_rs_core::edge::shrink_to_content_with_bg now takes 8 parameters instead of 7, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:416
  vernier_rs_core::shrink_to_content_with_bg now takes 8 parameters instead of 7, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:416
  vernier_rs_core::edge::detect_edges now takes 4 parameters instead of 3, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:146
  vernier_rs_core::detect_edges now takes 4 parameters instead of 3, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:146
  vernier_rs_core::edge::shrink_to_content now takes 7 parameters instead of 6, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:398
  vernier_rs_core::shrink_to_content now takes 7 parameters instead of 6, in /tmp/.tmpHK2DDD/vernier/crates/vernier-core/src/edge.rs:398

vernier-rs-platform breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field HeldRect.bounds_phys in /tmp/.tmpHK2DDD/vernier/crates/vernier-platform/src/types.rs:431
  field HudEdge.pos_phys in /tmp/.tmpHK2DDD/vernier/crates/vernier-platform/src/types.rs:605
  field StuckMeasurement.len_phys in /tmp/.tmpHK2DDD/vernier/crates/vernier-platform/src/types.rs:462
Changelog

vernier-rs

0.4.0 - 2026-05-26

Added

  • (prefs) record chords through the daemon + bundle Adwaita Sans
  • (core) soft-edge localization with edge-bias control
  • (linux) render the overlay at the true fractional display scale

Fixed

  • pixel-perfect measurement — exact physical-pixel pipeline
  • scale HUD strokes to the display + track monitor changes live

Other

  • fix cargo fmt + macOS clippy on the chord-recording PR


This PR was generated with release-plz.

@jondkinney jondkinney changed the title chore: release v0.3.1 chore: release v0.4.0 May 22, 2026
@jondkinney
jondkinney force-pushed the release-plz-2026-05-22T19-55-14Z branch 4 times, most recently from 1a53766 to 97dbf60 Compare May 22, 2026 20:47
@jondkinney
jondkinney force-pushed the release-plz-2026-05-22T19-55-14Z branch from 97dbf60 to a85cf55 Compare May 26, 2026 00:37
@jondkinney
jondkinney merged commit 365dda0 into main May 26, 2026
4 checks passed
@jondkinney
jondkinney deleted the release-plz-2026-05-22T19-55-14Z branch May 26, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant