Skip to content

2.0.0

Compare
Choose a tag to compare
@simon04 simon04 released this 28 Nov 19:04
· 18 commits to master since this release

2.0.0 (2020-11-28)

  • Migrate to TypeScript
  • Generate API documentation using TypeDoc (756ae93)
  • Harmonize options constructor for all geocoders (e4659b5)
  • Use geocodingQueryParams in all geocoders (84d764a)
  • Use reverseQueryParams in all geocoders (9240331)
  • Replace PNG and GIF files with SVG URIs (#298) (1ec9ab5), closes #298
  • photon: update to photon.komoot.io (e4b3082)
  • mapbox: add location properties to reverse geocode (#286) (3398c8c), closes #286
  • demos: add unpkg.com demo (2418679)
  • demos: add esbuild demo (2e0553f)
  • demos: upgrade to webpack 5 (b600cad)
  • tests: Migrate unit tests to Jest (5b64c34)
  • package: Enable compressed-size-action for PRs (fdf6df0), closes #283
  • package: Enable GitHub Actions (c98745e)
  • package: Migrate build to microbundle (fc0eff9)

BREAKING CHANGE

  • All geocoders accept a single options object as constructor parameter. The options objects extends the interface GeocoderOptions. The apiKey string constructors of some geocoders have been removed.
  • reverse now returns bbox in field called bbox (previously bounds)