---
title: "pypika 0.51.0 Breaking Changes on PyPI | Since.dev"
description: "What each pypika release removed, renamed or changed: 274 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pypika
last_updated: 2026-12-04
---

# pypika breaking changes

pypika 0.51.0 (February 1, 2026) is its newest release with breaking changes, 27 of them. The first: Signature changed pypika.functions.Abs.\_\_init\_\_. Every breaking API change we have recorded in pypika on PyPI: 274 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

Latest version `0.51.1`, released February 4, 2026. [Source repository](https://github.com/kayak/pypika)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.50.0](#v-0-50-0) to [0.51.0](#v-0-51-0): 27 breaking changes in 1 version.

## pypika 0.51.0 breaking changes

pypika 0.51.0, released February 1, 2026: 27 breaking changes.

- **Signature changed** `pypika.functions.Abs.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Ascii.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Avg.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Bin.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Count.__init__`  

Was def \_\_init\_\_(self, param: str | Field, alias: str | None = None) -> None; now def \_\_init\_\_(self, param: str | Term, alias: str | None = None) -> None. [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Date.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.DateAdd.__init__`  

Was def \_\_init\_\_(self, date_part, interval, term: str, alias: str | None = None); now def \_\_init\_\_(self, date_part, interval, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.First.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Floor.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.IsNull.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Last.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Length.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Lower.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Max.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Min.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.NVL.__init__`  

Was def \_\_init\_\_(self, condition, term: str, alias: str | None = None); now def \_\_init\_\_(self, condition, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Reverse.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Signed.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Sqrt.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Std.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.StdDev.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Sum.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Timestamp.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.TimestampAdd.__init__`  

Was def \_\_init\_\_(self, date_part, interval, term: str, alias: str | None = None); now def \_\_init\_\_(self, date_part, interval, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Trim.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Unsigned.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)
- **Signature changed** `pypika.functions.Upper.__init__`  

Was def \_\_init\_\_(self, term: str | Field, alias: str | None = None); now def \_\_init\_\_(self, term: Term, alias: str | None = None). [pypi.org](https://pypi.org/project/PyPika/0.51.0/)

## pypika 0.50.0 breaking changes

pypika 0.50.0, released January 14, 2026: 247 breaking changes.

- **Removed** `pypika.__author__`  

pypika.\_\_author\_\_ was removed in PyPika 0.50.0 [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Removed** `pypika.__email__`  

pypika.\_\_email\_\_ was removed in PyPika 0.50.0 [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Removed** `pypika.__version__`  

pypika.\_\_version\_\_ was removed in PyPika 0.50.0 [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.analytics.AnalyticFunction.orderby`  

Was def orderby(self, \*terms: Any, \*\*kwargs: Any) -> AnalyticFunction; now def orderby(self, \*terms: Any, \*\*kwargs: Any) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.analytics.AnalyticFunction.over`  

Was def over(self, \*terms: Any) -> AnalyticFunction; now def over(self, \*terms: Any) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.analytics.IgnoreNullsAnalyticFunction.ignore_nulls`  

Was def ignore_nulls(self) -> IgnoreNullsAnalyticFunction; now def ignore_nulls(self) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.analytics.WindowFrameAnalyticFunction.range`  

Was def range(self, bound: Union\[str, EdgeT\], and_bound: Optional\[EdgeT\] = None) -> WindowFrameAnalyticFunction; now def range(self, bound: str | EdgeT, and_bound: EdgeT | None = None) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.analytics.WindowFrameAnalyticFunction.rows`  

Was def rows(self, bound: Union\[str, EdgeT\], and_bound: Optional\[EdgeT\] = None) -> WindowFrameAnalyticFunction; now def rows(self, bound: str | EdgeT, and_bound: EdgeT | None = None) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.Case.replace_table`  

Was def replace_table(self, current_table: Optional\[Table\], new_table: Optional\[Table\]) -> Case; now def replace_table(self, current_table: Table | None, new_table: Table | None) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)
- **Signature changed** `pypika.Case.when`  

Was def when(self, criterion: Any, term: Any) -> Case; now def when(self, criterion: Any, term: Any) -> None. [pypi.org](https://pypi.org/project/PyPika/0.50.0/)

And 237 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
