expression breaking changes
expression 7.0.0 (December 3, 2026) is its newest release with breaking changes, 40 of them. The first: Removed expression.collections.asyncseq.pipe. Every breaking API change we have recorded in expression on PyPI: 545 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.0.0, released December 3, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
expression 7.0.0 breaking changes
- Removed
expression.collections.asyncseq.pipe
expression.collections.asyncseq.pipe was removed in Expression 7.0.0 pypi.org - Removed
expression.core.option.model_dump
Use option.dict in place of option.model_dump, matching result.dict. pypi.org - Removed
expression.curry_flipped
curry_flipped is removed; call curry_flip instead. pypi.org - Behavior changed
AsyncSeq
map, filter, choose, collect, concat, take, skip, tail and scan now return an AsyncSeq directly, so construction-time await is removed; terminal operations remain awaitable. github.com - Behavior changed
repeat
Previously repeat() without a count yielded nothing; it now repeats indefinitely, so code relying on the old result must be reviewed. github.com - Signature changed
expression.collections.asyncseq.append
Was def append(other: AsyncIterable[TSource]) -> Callable[[AsyncIterable[TSource]], AsyncIterable[TSource]]; now def append(other: Iterable[TSource] | AsyncIterable[TSource]) -> Callable[[Iterable[TSource] | AsyncIterable[TSource]]... pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.choose
Was async def choose(self, chooser: Callable[[TSource], Option[TResult]]) -> AsyncIterable[TResult]; now def choose(self, chooser: Callable[[TSource], Option[TResult]]) -> AsyncSeq[TResult]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.collect
Was async def collect(self, mapping: Callable[[TSource], AsyncIterable[TResult]]) -> AsyncIterable[TResult]; now def collect(self, mapping: Callable[[TSource], Iterable[TResult] | AsyncIterable[TResult]]) -> AsyncSeq[TResult]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.concat
Was async def concat(self: AsyncSeq[AsyncIterable[TSource]]) -> AsyncIterable[TSource]; now def concat(self: AsyncSeq[AsyncIterable[TResult]]) -> AsyncSeq[TResult]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.filter
Was async def filter(self, predicate: Callable[[TSource], bool]) -> AsyncIterable[TSource]; now def filter(self, predicate: Callable[[TSource], bool]) -> AsyncSeq[TSource]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.map
Was async def map(self, mapper: Callable[[TSource], TResult]) -> AsyncSeq[TResult]; now def map(self, mapper: Callable[[TSource], TResult]) -> AsyncSeq[TResult]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.scan
Was async def scan(self, scanner: Callable[[TState, TSource], TState], state: TState) -> AsyncIterable[TState]; now def scan(self, scanner: Callable[[TState, TSource], TState], state: TState) -> AsyncSeq[TState]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.skip
Was async def skip(self, count: int) -> AsyncIterable[TSource]; now def skip(self, count: int) -> AsyncSeq[TSource]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.tail
Was async def tail(self) -> AsyncIterable[TSource]; now def tail(self) -> AsyncSeq[TSource]. pypi.org - Signature changed
expression.collections.asyncseq.AsyncSeq.take
Was async def take(self, count: int) -> AsyncIterable[TSource]; now def take(self, count: int) -> AsyncSeq[TSource]. pypi.org - Signature changed
expression.collections.asyncseq.choose
Was def choose(chooser: Callable[[TSource], Option[TResult]]) -> Callable[[AsyncIterable[TSource]], AsyncIterable[TResult]]; now def choose(chooser: Callable[[TSource], Option[TResult]]) -> Callable[[Iterable[TSource] |... pypi.org - Signature changed
expression.collections.asyncseq.collect
Was def collect(mapping: Callable[[TSource], AsyncIterable[TResult]]) -> Callable[[AsyncIterable[TSource]], AsyncIterable[TResult]]; now def collect(mapping: Callable[[TSource], Iterable[TResult] | AsyncIterable[TResult]]) ->... pypi.org - Signature changed
expression.collections.asyncseq.filter
Was def filter(predicate: Callable[[TSource], bool]) -> Callable[[AsyncIterable[TSource]], AsyncIterable[TSource]]; now def filter(predicate: Callable[[TSource], bool]) -> Callable[[Iterable[TSource] | AsyncIterable[TSource]]... pypi.org - Signature changed
expression.collections.asyncseq.map
Was def map(mapper: Callable[[TSource], TResult]) -> Callable[[AsyncIterable[TSource]], AsyncIterable[TResult]]; now def map(mapper: Callable[[TSource], TResult]) -> Callable[[Iterable[TSource] | AsyncIterable[TSource]]... pypi.org - Signature changed
expression.collections.asyncseq.range
Was async def range(*args: int, **kw: int) -> AsyncIterable[int]; now def range(*args: int, **kw: int) -> AsyncIterable[int]. pypi.org - Signature changed
expression.core.option.Nothing.to_list
Was def to_list(self) -> list[_TEmpty]; now def to_list(self) -> list[TEmpty]. pypi.org - Signature changed
expression.core.option.Nothing.to_seq
Was def to_seq(self) -> Seq[_TEmpty]; now def to_seq(self) -> Seq[TEmpty]. pypi.org - Signature changed
expression.core.option.or_else
Call option.or_else(if_none) and apply it to the option, instead of passing the option and if_none together. pypi.org - Signature changed
expression.core.option.Some.__await__
Was def __await__(self) -> Generator[_TSourceOut, _TSourceOut, _TSourceOut]; now def __await__(self) -> Generator[_TSourceOut, object, _TSourceOut]. pypi.org - Signature changed
expression.core.option.Some.__iter__
Was def __iter__(self) -> Generator[_TSourceOut, _TSourceOut, _TSourceOut]; now def __iter__(self) -> Generator[_TSourceOut, object, _TSourceOut]. pypi.org - Signature changed
expression.core.option.Some.to_list
Was def to_list(self) -> list[_TSourceOut]; now def to_list(self: Some[TSource]) -> list[TSource]. pypi.org - Signature changed
expression.core.option.Some.to_seq
Was def to_seq(self) -> Seq[_TSourceOut]; now def to_seq(self: Some[TSource]) -> Seq[TSource]. pypi.org - Signature changed
expression.core.result.Ok.__await__
Was def __await__(self) -> Generator[_T, _T, _T]; now def __await__(self) -> Generator[_T, object, _T]. pypi.org - Signature changed
expression.core.result.Ok.__iter__
Was def __iter__(self) -> Generator[_T, _T, _T]; now def __iter__(self) -> Generator[_T, object, _T]. pypi.org - Signature changed
expression.core.typing.upcast
Was def upcast(type: type[Base], expr: object) -> Base; now def upcast(type: type[Base]) -> Callable[[Base], Base]. pypi.org - Signature changed
expression.Nothing.to_list
Was def to_list(self) -> list[_TEmpty]; now def to_list(self) -> list[TEmpty]. pypi.org - Signature changed
expression.Nothing.to_seq
Was def to_seq(self) -> Seq[_TEmpty]; now def to_seq(self) -> Seq[TEmpty]. pypi.org - Signature changed
expression.Ok.__await__
Was def __await__(self) -> Generator[_T, _T, _T]; now def __await__(self) -> Generator[_T, object, _T]. pypi.org - Signature changed
expression.Ok.__iter__
Was def __iter__(self) -> Generator[_T, _T, _T]; now def __iter__(self) -> Generator[_T, object, _T]. pypi.org - Signature changed
expression.Some.__await__
Was def __await__(self) -> Generator[_TSourceOut, _TSourceOut, _TSourceOut]; now def __await__(self) -> Generator[_TSourceOut, object, _TSourceOut]. pypi.org - Signature changed
expression.Some.__iter__
Was def __iter__(self) -> Generator[_TSourceOut, _TSourceOut, _TSourceOut]; now def __iter__(self) -> Generator[_TSourceOut, object, _TSourceOut]. pypi.org - Signature changed
expression.Some.to_list
Was def to_list(self) -> list[_TSourceOut]; now def to_list(self: Some[TSource]) -> list[TSource]. pypi.org - Signature changed
expression.Some.to_seq
Was def to_seq(self) -> Seq[_TSourceOut]; now def to_seq(self: Some[TSource]) -> Seq[TSource]. pypi.org - Signature changed
expression.upcast
Was def upcast(type: type[Base], expr: object) -> Base; now def upcast(type: type[Base]) -> Callable[[Base], Base]. pypi.org - Signature changed
upcast
Calls of the form upcast(Base, value) must change to upcast(Base)(value). github.com
expression 6.0.0 breaking changes
- Removed
Generator computations are removed in favor of typed synchronous and asynchronous scopes. github.com - Removed
expression.collections.asyncseq.Option.Nothing
expression.collections.asyncseq.Option.Nothing was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.asyncseq.Option.Some
expression.collections.asyncseq.Option.Some was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.asyncseq.TResult
expression.collections.asyncseq.TResult was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.asyncseq.TSource
expression.collections.asyncseq.TSource was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.asyncseq.TSourceSortable
expression.collections.asyncseq.TSourceSortable was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.asyncseq.TSourceSum
expression.collections.asyncseq.TSourceSum was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.asyncseq.TState
expression.collections.asyncseq.TState was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.maptree.Key
expression.collections.maptree.Key was removed in Expression 6.0.0 pypi.org - Removed
expression.collections.maptree.Nothing
expression.collections.maptree.Nothing was removed in Expression 6.0.0 pypi.org
And 495 more in this version. Sign up to see every change
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.