Skip to content

Latest commit

 

History

History
136 lines (101 loc) · 5.94 KB

CHANGELOG.md

File metadata and controls

136 lines (101 loc) · 5.94 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.0.0 (2021-06-11)

⚠ BREAKING CHANGES

  • The location of observations is supposed to be immutable. We cannot block the user moving points in iD Editor, so instead we ignore changes to location on save.

Bug Fixes

  • Do not allow edits to observation location (5b33c59)

5.0.0 (2019-09-20)

⚠ BREAKING CHANGES

Features

[2.1.5]

Fixed

  • Deleted entries (exposed as of 2.1.4) are no longer exposed; this was a mistake

[2.1.4]

Fixed

  • Fixed incorrect case where nodes belonging to a deleted way were being returned in queries

[2.1.3]

Added

  • Added nyc for test running, codecov for coverage

Changed

  • Upgraded collect-transform-stream@1.1.1
  • Use TAP v10 + parallel tests
  • Removed timeout on tests

Fixed

  • Fixed OSM API upload failing when ways come before nodes (#31)

[2.1.2]

Fixed

  • Removed unused dev dependency (was already a regular dep)

[2.1.1]

Fixed

  • Removed rogue console.log

Added

  • Add a timestamp to elements in a changeset upload with creation/modification time (on the server)

Fixed

  • The latest fork should be returned if forks != true, and forks with a timestamp should be preferred over forks without a timestamp (legacy elements do not have a timestamp). The fork sort/compare function was incorrect.

Fixed

  • Correctly respect json output when ?forks=true for /map endpoint
  • Do not return 'ghost points' from forked ways when forks are not returned

Changed

  • Add callback to server cleanup/teardown in tests - necessary for osm-p2p-server-sw tests

Fixed

  • Additional query string parameters do not break route matching (previously route matching was dependent on the order of query string parameters and including any query string parameter would cause route matching to 404)
  • All routes should return the correct charset (utf-8) on content-type, including error responses. This avoids strange bugs that might have resulted from the assumed charset of ISO-8859-1.

Changed

  • Update split_delete_way.js test so that it will run in the browser for osm-p2p-server-sw.

Fixed

  • Validate bbox on map requests, avoid uncaught error on invalid bbox.
  • Release.

Fixed

Added

  • Return OsmJSON from /map endpoint if request Accept is application/json

Fixed

  • Value returned by changeset creation should not terminate in a newline

Changed

  • BREAKING: Roll back change to URL prefix, keep /api/0.6/ since it is hard-coded in several clients (e.g. iD)

Added

  • Add timestamp to newly created elements.
  • Add created_at timestamp to new changesets.
  • Use as Expresss.js middleware

Changed

  • BREAKING (Possibly): Empty nodes in returned xml are self-closing tags rather than empty e.g. <node id="1" /> vs <node id="1"></node>. This matches OSM Ruby Port, and is likely not breaking but it did break our tests.
  • BREAKING: Closed changesets now have attribute created_at rather than createdAt to be consistent with OSM API. Still checks for createdAt in legacy dbs.
  • BREAKING: Only most recent fork is returned on GET /:type(node|way|relation)/:id, unless ?forks=true query param is set.
  • BREAKING: Only most recent forks are returned on GET /:type(nodes|ways|relations)\\?:ktype=:ids, unless ?forks=true query param is set.
  • BREAKING: Only most recent forks are returned of elements in GET /map, unless ?forks=true query param is set.
  • BREAKING: Routes no longer start with /api/0.6/, routes are now mounted on /
  • Error messages should be more consistent
  • More robust XML parsing

Fixed

  • Always set xml content-encoding to utf-8 (Very important since the default charset is ISO-8859-1 see http://www.w3.org/International/articles/http-charset/index)
  • Set headers content-encoding: identity and no-cache for all routes
  • Correctly parse id for closing a forked changeset.
  • members and nodes are returned before tags in Xml.
  • Delete operations must have changeset attribute set.