Skip to content

Latest commit

 

History

History
78 lines (51 loc) · 6.35 KB

File metadata and controls

78 lines (51 loc) · 6.35 KB

Changelog

2.3.0 (2026-08-29)

Features

  • add chart, evolution helpers, and improve reporting utilities (c72b218)

2.2.0 (2026-08-21)

Features

  • client: cancellation, pagination, resolution, retry and revalidation (#1401) (2d4c27d)

2.1.0 (2026-08-17)

Features

  • cache: add WebStorageCache (4b50329)
  • logger: accept any debug/error logger (3d0b155)
  • models: infer what a resource link points at (1a35bda)
  • models: update pokemon typings and improve live tests (fe71b07)
  • sprites: add getPokemonSpriteUrl (dc617cd)

Bug Fixes

  • api lists and logger (8ee4a95)
  • change regex for utility function (03f7b6d)
  • client: report a response to every caller (9820e29)
  • hide credential logging (00f0d8f)

2.0.0 (2026-08-15)

⚠ BREAKING CHANGES

  • ItemClient#listItemFilingEffects is renamed to listItemFlingEffects. The old name was a typo — the endpoint is item-fling-effect, after the move Fling — and no alias is kept, because 2.0 already asks callers to revisit their imports. Behavior is unchanged.
  • axios and axios-cache-interceptor are no longer peer dependencies. cacheOptions is replaced by cache?: CacheStore | false, and logs?: boolean by logger?: Logger. ClientArgs is renamed ClientOptions. Failed requests reject with PokenodeError instead of AxiosError; match it with isPokenodeError rather than instanceof, which is false across a duplicated ESM/CJS copy of the class. MainClient no longer extends BaseClient. getResourceByURL throws a TypeError on a URL that names no endpoint under the base URL, where it previously issued a malformed request. ENDPOINTS.POKEMON_LOCATION_AREA is removed; it held a template, not an endpoint.

Features

  • add base getListURL method (1b387c6)
  • add currency client (ed1a18f)
  • Add Showdown animated sprites (02184a1)
  • clients: add getResourceByURL for a custom base URL #903 (a76e5a0)
  • clients: refactor clients (b3475f5)
  • models: change from interface to type (e2aa37c)
  • models: update pokemon typings (b74341a)
  • new build and release system (1ed23bf)
  • refactor berry client (eb2e30d)
  • replace axios with native fetch (88ca8d5)
  • replace axios with native fetch (a2f3c24)
  • update evolution and pokemon typings (f3a6086)

Bug Fixes

  • base: change base url enum to as const (25e1be1)
  • base: fix get resource (fa6576a)
  • build: tsdown config (be56498)
  • ci: remove tsc lint from ci (cea9117)
  • clients: remove unused axios typings (55d3aa8)
  • clients: revert usage of URLSearchParams #839 (c92e365)
  • constants: remove enums for readonly consts (483252a)
  • lint: replace rome for biome (a6c2cff)
  • models: add version to FlavorText interface (793f266)
  • pin nodejs version (b410640)
  • typo (0c13ada)
  • typo (9bc9076)

Documentation

  • overhaul documentation and .github (6621101)