rstr breaking changes
rstr 4.0.0 (November 19, 2026) is its newest release with breaking changes, 15 of them. The first: rstr 4.0.0 drops support for Python 3.7, 3.8, 3.9 and 3.10. Every breaking API change we have recorded in rstr on PyPI: 15 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 19, 2026. Source repository
Its 4.0.0 release drops Python 3.7, 3.8, 3.9 and 3.10. Python end of life dates.
rstr 4.0.0 breaking changes
- Removed
Python 3.7, 3.8, 3.9 and 3.10 are no longer supported, so users on those versions must upgrade Python to use this release. github.com - Removed
rstr.rstr_base
rstr.rstr_base was removed in rstr 4.0.0 pypi.org - Removed
rstr.Xeger.__getattr__
Xeger.__getattr__ was removed in rstr 4.0.0 pypi.org - Removed
rstr.Xeger.add_alphabet
Xeger.add_alphabet was removed in rstr 4.0.0 pypi.org - Removed
rstr.Xeger.rstr
Xeger.rstr was removed in rstr 4.0.0 pypi.org - Removed
rstr.xeger.RstrBase
rstr.xeger.RstrBase was removed in rstr 4.0.0 pypi.org - Removed
rstr.Xeger.sample_wr
Xeger.sample_wr was removed in rstr 4.0.0 pypi.org - Removed
rstr.xeger.STAR_PLUS_LIMIT
rstr.xeger.STAR_PLUS_LIMIT was removed in rstr 4.0.0 pypi.org - Behavior changed
star_plus_limit
Explicit repeats such as a{1000} are no longer capped by star_plus_limit, so patterns relying on that limit behave differently. github.com - Behavior changed
Xeger
Xeger and Rstr are now separate classes, so code that relies on Xeger being a XegerBase subclass may break. github.com - Default changed
The default random source is now SystemRandom, a cryptographically secure generator, so generated output differs from earlier versions. github.com - Signature changed
rstr.rstr
Was rstr; now module rstr.rstr. pypi.org - Signature changed
rstr.Rstr
Was Rstr; now class Rstr. pypi.org - Signature changed
rstr.Xeger
Was class Xeger(RstrBase); now class Xeger. pypi.org - Signature changed
rstr.Xeger.__init__
Was def __init__(self, _random: Random = typing.cast('Random', random), **custom_alphabets: str) -> None; now def __init__(self, random: Random = SYSTEM_RANDOM, *, star_plus_limit: int = 100) -> None. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.