Skip to content

chore(main): release 2.0.0-alpha.3#61

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main--components--stac-react
Open

chore(main): release 2.0.0-alpha.3#61
github-actions[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main--components--stac-react

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

🤖 I have created a release beep boop

2.0.0-alpha.3 (2026-06-08)

⚠ BREAKING CHANGES

  • use stac-ts for types (#54)
  • reload() method renamed to refetch() in useCollection, useCollections, and useItem hooks.
  • Hooks no longer return state property. Use isLoading and isFetching booleans instead.
  • Remove collections, setCollections, getItem, addItem, deleteItem from context. Context now only provides stacApi. Users should use useCollections() hook directly instead of accessing collections from context.

Features

  • Add basic pagination implementation (d8c44c4)
  • Add collections filter to search hook (23b9d08)
  • Add date-range filter to useStacSearch (9cc0e90)
  • Add error handling for useCollection (025023b)
  • Add error handling for useItem (e57e3a0)
  • Add error handling to useCollections (0c6cfdb)
  • Add GET search (f328944)
  • Add ID filter (resolves #21) (bf297e3)
  • Add limit to set page size in search (resolves #22) (c48d752)
  • Add loading state (594f32c), closes #8
  • Add reload item (f1bc57a)
  • Add reload to useCollection (5db4b2b)
  • Add sortby field (resolve #23) (69227eb)
  • Add useCollection hook (9684545)
  • Add useCollections hook (cf60bf6)
  • Add useItem hook (fefcd86)
  • Add useStacApi hook (0b6a69a)
  • enable TanStack Query DevTools browser extension (e40fcce)
  • Handle errors (32f212b), closes #6
  • Include pagination headers in search (787be1e)
  • Merge search payload with pagintion link body (93ac27f)
  • migrate useCollections hook to TanStack Query (9bccaaa)
  • migrate useItem hook to TanStack Query (a04443b)
  • migrate useStacApi hook to TanStack Query (9999717)
  • migrate useStacSearch hook to TanStack Query (4d0f701)
  • optimize React Query cache keys (9f30e60)
  • Pass STAC-API options to context (b2cf2d8)
  • Refactor, use context API (99d326e)
  • Specify Stac API request headers (575da0f)

Bug Fixes

  • add comprehensive error handling for JSON parsing failures (ec62ab4)
  • Export useCollection and useItem (4b5e39c)
  • externalize @tanstack/react-query in build and fix StacApiProvider initialization order (e0819c4)
  • generate index.d.ts at dist root for proper TypeScript imports (1dfbf58)
  • ID prev link via rel=previous (a6495d6)
  • make date range parameters optional in useStacSearch hook (6b75fcc)
  • make DevTools opt-in to avoid conflicts with consuming apps (6f5713d)
  • prevent memory leak in debounced submit function (9cb92fa)
  • prevent refetch of STAC API when options change (#57) (c6dcb83)
  • properly type reload as async across all hooks (0109e59)
  • Remove collection reload when initialising useCollections (505b426)
  • Remove dependency on collections object in useCollections effect hook (a914f22)
  • Remove trailing / from stac baseUrl [fix #15] (05e752c)
  • Reset state with each new StacAPI instance [fix: #17] (89fdaa7)
  • Send selection collections as undefined is array is empty [fix #16] (b763302)
  • Sort bbox coordinates before POSTing (6eab46a)
  • Update module names in package.json (1ba363c)

Code Refactoring

  • add base StacHook interface for type consistency (6849141)
  • Clean up types (e519ce3)
  • fetch single collection directly from /collections/{id} endpoint (c785dea)
  • Internal handling and execution of pagination (8ce2251)
  • Make request options for fetch function optional (56a4b8e)
  • remove collections/items state from context (fd431a3)
  • rename reload to refetch in hooks API (44882cb)
  • replace LoadingState with React Query's isLoading/isFetching (3236166)
  • replace Object.assign error pattern with ApiError class (0b4bcdc)
  • replace queryClient prop with auto-detecting parent QueryClient (3ddb6f2)
  • use stac-ts for types (#54) (d07fe44)

This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

0 participants