Skip to content

Release v3.11.0#420

Merged
michaelherold merged 1 commit into
mainfrom
michaelherold/release-3.11.0
Apr 2, 2026
Merged

Release v3.11.0#420
michaelherold merged 1 commit into
mainfrom
michaelherold/release-3.11.0

Conversation

@michaelherold

Copy link
Copy Markdown
Contributor

✅ What

Release CompiledMetric.metric_name and the developer experience fix of disallowing CompiledMetric.define outside of a subclass.

🤔 Why

The metric_name method is a net-new feature so warrants a minor version.

Caution

The disallowing of the CompiledMetric.define being called on the top-level class is technically a breaking change, but was a broken experience as soon as you called define on a second metric of the same type so it's unlikely anyone relied on it.

Additionally, the change of error type for not calling define is a breaking change, but it's not one that anyone would rescue since the metric wouldn't work and would continually raise.

Between these two things, I believe we do not need a major version bump.

Checklist

  • I documented the changes in the CHANGELOG file.

@pedro-stanaka pedro-stanaka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Between these two things, I believe we do not need a major version bump.

Agreed!

@michaelherold michaelherold merged commit 41a714f into main Apr 2, 2026
11 checks passed
@michaelherold michaelherold deleted the michaelherold/release-3.11.0 branch April 2, 2026 15:03
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.

2 participants