# Changelog

## [1.4.1] - 2026-09-25 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.4.0...@macrostrat/data-provider-v1.4.1)

### Patch Changes

- `getIntervals` records a full fetch (`fetchedAll`), so later calls no longer
  refetch every interval and replace the store's map; concurrent requests for
  the same scope share one fetch
  [bdcb8223](https://github.com/UW-Macrostrat/web-components/commit/bdcb82232b87da5b1dbb922c9258b24eba66529c)

## [1.4.0] - 2026-09-25 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.3.1...@macrostrat/data-provider-v1.4.0)

### Minor Changes

- - Lithology attributes and timescales in the store — `useLithAttributes`,
    `useTimescales`, `fetchLithAttributes`, `fetchTimescales`
    [5be3d4c9](https://github.com/UW-Macrostrat/web-components/commit/5be3d4c9f3fcf4442720a7ed3bdb72abca4db4ab)

## [1.3.1] - 2026-09-21 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.3.0...@macrostrat/data-provider-v1.3.1)

### Patch Changes

- Fix three bugs in cached interval fetching: a request for one timescale no
  [1b694ccf](https://github.com/UW-Macrostrat/web-components/commit/1b694ccfcc40321a6edc609b8c07106a87164a3b)
  longer strips intervals out of the timescales fetched before it, a duplicate
  request in flight shares the first one's response rather than resolving to
  nothing, and fetched intervals merge into current store state rather than a
  pre-fetch snapshot
- Updated dependencies
  [ea700ff1](https://github.com/UW-Macrostrat/web-components/commit/ea700ff1e7725703d971e3cac440fad0f7540a65)
  - @macrostrat/api-types@1.4.0

## [1.3.0] - 2026-09-10 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.2.1...@macrostrat/data-provider-v1.3.0)

### Minor Changes

- Require an explicit project scope for column requests. `fetchAllColumns` used
  to
  [0f538d1c](https://github.com/UW-Macrostrat/web-components/commit/0f538d1c0edc5fa9f148f7ff6be3457a38a66132)
  send `all=true` when no project was given, which `/columns` silently ignores —
  the request fell through to the API's core-projects default, so entire
  projects (GBDB's 28,951 columns among them) were absent with nothing to
  indicate it. `projectID` is now required and accepts an id, a list, a
  comma-joined string, or `"all"`; `CORE_COLUMNS_PROJECT_ID` names the API's old
  implicit default, and the map components pass it when given no project.

  Also fixes the in-process filter in `useMacrostratColumns`, which assigned to
  `.features` on what is already an array — so it never filtered, and mutated
  the cache while not doing it. Column features now carry `status`, added to the
  `/columns` response in API v2 2.3.10.

### Patch Changes

- Updated dependencies
  [0f538d1c](https://github.com/UW-Macrostrat/web-components/commit/0f538d1c0edc5fa9f148f7ff6be3457a38a66132)
  - @macrostrat/api-types@1.3.1

## [1.2.1] - 2026-09-10 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.2.0...@macrostrat/data-provider-v1.2.1)

### Patch Changes

- Don't mangle point column geometries in `convertSmallAreasToPoints`.
  Point-located
  [39d6dba1](https://github.com/UW-Macrostrat/web-components/commit/39d6dba11383f8cbd9657a459c4e48003e152fac)
  columns (`col_type = 'section'`) have zero area, so they passed the zero-area
  test and were rewritten as `{ type: "Point", coordinates: undefined }`,
  crashing any consumer that streams the geometry.

## [1.2.0] - 2026-07-30 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.1.0...@macrostrat/data-provider-v1.2.0)

### Minor Changes

- - Improve column correlation chart to support more options
    [b21ea1fc](https://github.com/UW-Macrostrat/web-components/commit/b21ea1fc297a5449a91997b3d97ff3509e8cd824)
  - Create a new column reorganization draggable control
  - Update data provider for intervals fetching

## [1.1.0] - 2026-05-24 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.0.5...@macrostrat/data-provider-v1.1.0)

### Minor Changes

- Allow MacrostratDataStore to be provided from outside of React

## [1.0.5] - 2026-05-22 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.0.4...@macrostrat/data-provider-v1.0.5)

### Patch Changes

- Fix interval provision for timescales

## [1.0.4] - 2026-05-20 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.0.3...@macrostrat/data-provider-v1.0.4)

### Patch Changes

- Fixed error with strat name viewer
  [239c0292](https://github.com/UW-Macrostrat/web-components/commit/239c0292ce143f642cf05ec934f246798d89a54f)
- Updated dependencies
  [239c0292](https://github.com/UW-Macrostrat/web-components/commit/239c0292ce143f642cf05ec934f246798d89a54f)
- Updated dependencies
  [225ed9a4](https://github.com/UW-Macrostrat/web-components/commit/225ed9a4534b2d1f8be8af6ab7e4035352825614)
- Updated dependencies
  [01048d6f](https://github.com/UW-Macrostrat/web-components/commit/01048d6ffa1335f58334c5c855b86e7a97b3e9c1)
  - @macrostrat/ui-components@5.0.10
  - @macrostrat/api-types@1.2.0

## [1.0.3] - 2026-05-19 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.0.2...@macrostrat/data-provider-v1.0.3)

### Patch Changes

- Improved typescript type bundling across the board
  [75fe675c](https://github.com/UW-Macrostrat/web-components/commit/75fe675cdb93e79dd28291d8769c1a38d2eb21b0)
- Updates to internal typings
  [3500ef98](https://github.com/UW-Macrostrat/web-components/commit/3500ef9884da7a5feee8e1d42a885531d5e2addf)
- Updated dependencies
  [75fe675c](https://github.com/UW-Macrostrat/web-components/commit/75fe675cdb93e79dd28291d8769c1a38d2eb21b0)
- Updated dependencies
  [3500ef98](https://github.com/UW-Macrostrat/web-components/commit/3500ef9884da7a5feee8e1d42a885531d5e2addf)
  - @macrostrat/ui-components@5.0.9
  - @macrostrat/api-types@1.1.6

## [1.0.2] - 2026-04-05 [_changes_](https://github.com/UW-Macrostrat/web-components/compare/@macrostrat/data-provider-v1.0.1...@macrostrat/data-provider-v1.0.2)

### Patch Changes

- Updated `@macrostrat/hyper` dependency
  [6e9a6654](https://github.com/UW-Macrostrat/web-components/commit/6e9a665456460b31c30316a2a13d41abed94c43a)
- Updated dependencies
  [6e9a6654](https://github.com/UW-Macrostrat/web-components/commit/6e9a665456460b31c30316a2a13d41abed94c43a)
  - @macrostrat/ui-components@5.0.7

## [1.0.1] - 2026-02-07

Improve handling of absolute URLs in `fetch` wrapper.

## [1.0.0] - 2026-01-31

Moved `MacrostratDataProvider` and data fetchers from `@macrostrat/column-views`
for better modularity.
