yfinance breaking changes
yfinance 1.8.0 (November 3, 2026) is its newest release with breaking changes, 6 of them. The first: Requires curl_cffi 0.17 or later as a dependency in yfinance 1.8.0. Every breaking API change we have recorded in yfinance on PyPI: 150 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.8.0, released November 3, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
yfinance 1.8.0 breaking changes
- Configuration changed
The package now forces curl_cffi to version 0.17 or higher for security updates. Environments that pin an older curl_cffi must upgrade it. github.com - Signature changed
yfinance.base.TickerBase.get_earnings_estimate
Was def get_earnings_estimate(self, as_dict=False); now def get_earnings_estimate(self, as_dict=False, methodology=None). pypi.org - Signature changed
yfinance.base.TickerBase.get_earnings_history
Was def get_earnings_history(self, as_dict=False); now def get_earnings_history(self, as_dict=False, methodology=None). pypi.org - Signature changed
yfinance.base.TickerBase.get_eps_revisions
Was def get_eps_revisions(self, as_dict=False); now def get_eps_revisions(self, as_dict=False, methodology=None). pypi.org - Signature changed
yfinance.base.TickerBase.get_eps_trend
Was def get_eps_trend(self, as_dict=False); now def get_eps_trend(self, as_dict=False, methodology=None). pypi.org - Signature changed
yfinance.base.YfData.post
Was def post(self, url, body=None, params=None, timeout=30, data=None); now def post(self, url, body=None, params=None, timeout=30, data=None, headers=None). pypi.org
yfinance 1.7.0 breaking changes
- Behavior changed
history_metadata
The tradingPeriods field of history_metadata is now fetched only when accessed rather than up front. Code that reads it should expect the data to load on first access. github.com
yfinance 1.6.0 breaking changes
- Signature changed
yfinance.exceptions.YFPricesMissingError.__init__
Was def __init__(self, ticker, debug_info); now def __init__(self, ticker, debug_info, yahoo_reason=None). pypi.org - Signature changed
yfinance.exceptions.YFTickerMissingError.__init__
Was def __init__(self, ticker, rationale); now def __init__(self, ticker, rationale, possibly_delisted=True). pypi.org - Signature changed
yfinance.utils.format_history_metadata
Was def format_history_metadata(md, tradingPeriodsOnly=True); now def format_history_metadata(md). pypi.org
yfinance 1.5.1 breaking changes
- Signature changed
yfinance.Auth.set_login_cookies
Was def set_login_cookies(self, cookie_t: str, cookie_y: str) -> None; now def set_login_cookies(self, cookie_t: str, cookie_y: str) -> bool. pypi.org - Signature changed
yfinance.base.TickerBase.get_valuation_measures
Was def get_valuation_measures(self); now def get_valuation_measures(self, freq='quarterly', periods=5) -> pd.DataFrame. pypi.org
yfinance 1.4.0 breaking changes
- Removed
yfinance.multi.shared
yfinance.multi.shared was removed in yfinance 1.4.0 pypi.org - Removed
yfinance.scrapers.history.shared
yfinance.scrapers.history.shared was removed in yfinance 1.4.0 pypi.org - Signature changed
yfinance.base.PriceHistory.get_history_metadata
Was def get_history_metadata(self) -> dict; now def get_history_metadata(self, repair=_SENTINEL_) -> dict. pypi.org - Signature changed
yfinance.base.TickerBase.get_history_metadata
Was def get_history_metadata(self) -> dict; now def get_history_metadata(self, repair=_SENTINEL_) -> dict. pypi.org - Signature changed
yfinance.domain.domain.Domain.__init__
Was def __init__(self, key: str, session=None); now def __init__(self, key: str, session=None, region: str = 'US'). pypi.org - Signature changed
yfinance.Industry.__init__
Was def __init__(self, key, session=None); now def __init__(self, key, session=None, region: str = 'US'). pypi.org - Signature changed
yfinance.Market.__init__
Was def __init__(self, market: str, session=None, timeout=30); now def __init__(self, market, session=None, timeout=30). pypi.org - Signature changed
yfinance.Sector.__init__
Was def __init__(self, key, session=None); now def __init__(self, key, session=None, region: str = 'US'). pypi.org
yfinance 1.0 breaking changes
- Removed
yfinance.lookup.YFException
yfinance.lookup.YFException was removed in yfinance 1.0 pypi.org - Renamed
yfinance.domain.sector.YfData
Use yfinance.calendars.YfData instead. pypi.org - Signature changed
yfinance.base.Analysis.__init__
Was def __init__(self, data: YfData, symbol: str, proxy=_SENTINEL_); now def __init__(self, data: YfData, symbol: str). pypi.org - Signature changed
yfinance.base.FastInfo.__init__
Was def __init__(self, tickerBaseObject, proxy=_SENTINEL_); now def __init__(self, tickerBaseObject). pypi.org - Signature changed
yfinance.base.Fundamentals.__init__
Was def __init__(self, data: YfData, symbol: str, proxy=const._SENTINEL_); now def __init__(self, data: YfData, symbol: str). pypi.org - Signature changed
yfinance.base.FundsData.__init__
Was def __init__(self, data: YfData, symbol: str, proxy=_SENTINEL_); now def __init__(self, data: YfData, symbol: str). pypi.org - Signature changed
yfinance.base.Holders.__init__
Was def __init__(self, data: YfData, symbol: str, proxy=_SENTINEL_); now def __init__(self, data: YfData, symbol: str). pypi.org - Signature changed
yfinance.base.PriceHistory.__init__
Was def __init__(self, data, ticker, tz, session=None, proxy=_SENTINEL_); now def __init__(self, data, ticker, tz, session=None). pypi.org - Signature changed
yfinance.base.PriceHistory.get_actions
Was def get_actions(self, period='max', proxy=_SENTINEL_) -> pd.Series; now def get_actions(self, period='max') -> pd.Series. pypi.org - Signature changed
yfinance.base.PriceHistory.get_capital_gains
Was def get_capital_gains(self, period='max', proxy=_SENTINEL_) -> pd.Series; now def get_capital_gains(self, period='max') -> pd.Series. pypi.org
And 61 more in this version. Sign up to see every change
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
yfinance 0.2.1 breaking changes
- Removed
yfinance.base.TickerBase.get_analysis
TickerBase.get_analysis was removed in yfinance 0.2.1 pypi.org - Removed
yfinance.base.TickerBase.get_balancesheet
TickerBase.get_balancesheet was removed in yfinance 0.2.1 pypi.org
And 56 more in this version.
yfinance 0.2.0rc4 breaking changes
- Behavior changed
get_income_stmt
Income statement output switches to the new table layout. Code that needs the old tables must call get_income_stmt(legacy=True). github.com
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.