Skip to content

v7.0.0-beta.11

Pre-release
Pre-release
Compare
Choose a tag to compare
@twelch twelch released this 12 Dec 18:43
· 29 commits to dev since this release

What's Changed

πŸ’₯ Breaking Changes

Users on upgrade should look at preprocessing functions now installed with new project and borrow their code. See global datasources for datasource listing.

  • Drop genClipLoader, replaced with clipToPolygonFeatures/genClipToPolygonFeatures and clipToPolygonDatasources/genClipToPolygonDatasources. Default preprocessing functions have migrated to using clipToPolygonFeatures and fetching features in a separate step.
  • Drop JSON format from data import and precalc. It's no longer required now that precalc reads fgb from disk and fgb is superior for other uses.

πŸ‘Ž Deprecated

  • Deprecate getFeatures (in name) and replace with same functionality in getDatasourceFeatures. This makes it clear that this is a datasource aware function.

πŸš€ New Feature / Improvement

  • getDatasourceFeatures now accepts optional sketch option. When used it calls optimized getFeaturesForSketchBBoxes
  • getFeaturesForSketchBBoxes add support for all geometry types and allow user to extend them with generics support
  • Add lower-level getFeaturesForBBoxes that takes an array of bounding boxes
  • loadFgb: add retry on error with exponential backoff (3 times). This will hopefully avoid the Closed socket error seeing in testing environment, seemingly in high volume request situation.

🏠 Internal

  • Drop old doc build workflow by @twelch in #382
  • Drop global datasources from base-project. No longer included with new project.
  • Contribute squares.fgb, squares.json with easy to reason about named polygons for testing. Develop getFeaturesForSketchBBoxes e2e tests to use them.
  • Update squareSketches fixtures to match squares.fgb/json for testing.
  • Add squaresReadme.txt ascii art image to see the layout of the polygons

πŸ“ƒ Docs

  • Drop macos direct install support from docs by @twelch in #383
  • Delete chunked cache results on clear:results by @avmey in #387

Full Changelog: v7.0.0-beta.10...v7.0.0-beta.11