Nice.What happens when there are uses of a deprecated method in files held in a repositorybut not currently loaded into the image?How does one get rewrite rules applied to a bunch of files?On Tue, 3 Feb 2026 at 11:22, Denis Kudriashov via Pharo-users <pharo-users@lists.pharo.org> wrote:Following the release of BPatterns, I am happy to share another idea that naturally grows out of it: simplifying deprecations in Pharo.Today���s deprecations are powerful but verbose���string-based rewrite rules, duplicated selectors, and boilerplate that most of us copy from examples.With BPatterns, all of this can be eliminated:Object>>confirm: queryString�� �� �� ����^��self��deprecatedBy:����[ ConfirmationRequest signal:��queryString��]Deprecation is now expressed in the same language as the code itself, not in a separate, string-based mini-language. There is no need to think about transformation rules���they are part of the system and enabled by default.
Zero boilerplate.
No duplicated codeFor more details��and comparison with current API see the blog post: