Skip to content

Give every deprecation a removal date of 2027-09-30 - #334

Merged
trans merged 1 commit into
mainfrom
claude/github-connector-capabilities-4qcre6
Sep 27, 2026
Merged

trans merged 1 commit into
mainfrom
claude/github-connector-capabilities-4qcre6

Conversation

@trans

@trans trans commented Sep 27, 2026

Copy link
Copy Markdown
Member

The deprecations added in #326, #331 and #332 name a removal date of 2027-09-30. The ~45 older ones only said "is deprecated". Now they all do the same, so the next major release has one clear removal list (see #273).

Change

  • All older deprecation warnings now end with It will be removed after 2027-09-30. Their @deprecated notes also gain Scheduled for removal after 2027-09-30. This covers 42 files across lib/core and lib/standard.
  • Deprecations that only lived in the docs now warn too, since a removal date means little if nobody hears about it:
    • String#upper_camelcase / #lower_camelcase
    • Kernel#equate?, which was an alias of #like? and is now a small method so it can warn
    • facets/kernel/tee
  • Interval#each(n, d) said it "will be deprecated". It's now a real deprecation with the date.
  • Fixes along the way: Enumerable#hashify's warning said "has been be deprecated", now fixed. It and Kernel#eigen gain uplevel: 1, so their warnings point at the caller.

A search now finds no deprecation warning or @deprecated note without the date.

Testing

  • rake test: 1,263 tests pass on CRuby 3.3 and on JRuby 10.1.2 (4 pending).
  • rake qed: 157 demos pass, 0 failures.
  • One local demo run counted 729 checks instead of 730, with no failures. That comes from demo/core/string/trim.md, which builds 100 random strings as hash keys; occasionally two are identical, leaving one fewer entry to check. It predates this change and isn't affected by it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E2Njj4j1r9twkVcXsMySLW


Generated by Claude Code

Deprecations added today name 2027-09-30; the older ones only said
"is deprecated". All of them now say "It will be removed after
2027-09-30." in the warning and "Scheduled for removal after 2027-09-30."
in the @deprecated note.

Deprecations that only lived in the docs now warn too, since a removal
date means little if nobody hears about it: String#upper_camelcase and
#lower_camelcase, Kernel#equate? (was an alias of #like?), and
facets/kernel/tee. Interval#each(n, d) said it "will be deprecated";
it now is.

Also fixes the "has been be deprecated" typo in Enumerable#hashify's
warning, and adds uplevel: 1 to it and to Kernel#eigen so their
warnings point at the caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E2Njj4j1r9twkVcXsMySLW
@trans
trans merged commit a31f2da into main Sep 27, 2026
14 checks passed
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