Skip to content

0.6.0

Compare
Choose a tag to compare
@rustprooflabs rustprooflabs released this 31 Aug 01:17
· 266 commits to main since this release

PgOSM Flex 0.6.0

This release polishes the improvements started in v0.5.1 and introduces a breaking change.

⚠️ Breaking Change

  • Removed views osm.vplace_polygon and osm.places_in_relations - Removing duplicates is now done by deleting rows instead of creating a materialized view to remove them.

Data changes

Added member_ids and exclude duplicates from relations/members. Affects tables:

  • public_transport_line
  • public_transport_polygon
  • road_major
  • road_line
  • road_polygon
  • water_line
  • water_polygon

Functionality changes

  • Removed views osm.vplace_polygon and osm.places_in_relations
  • Make process builds everything instead of default for increased testing

Others

  • Fix N/A

Notes for --append users

You need to manually migrate from 0.5.x to 0.6.0. ⚠️ This is the first upgrade I'm trying to provide guidance on how to maintain/update an --append process across PgOSM Flex versions. ⚠️ Proceed with caution, please test first and report any issues as new bugs!

This is only necessary when using append mode.

ALTER TABLE osm.public_transport_line ADD COLUMN member_ids JSONB;
ALTER TABLE osm.public_transport_polygon ADD COLUMN member_ids JSONB;
ALTER TABLE osm.road_line ADD COLUMN member_ids JSONB;
ALTER TABLE osm.road_polygon ADD COLUMN member_ids JSONB;
ALTER TABLE osm.water_line ADD COLUMN member_ids JSONB;
ALTER TABLE osm.water_polygon ADD COLUMN member_ids JSONB;

DROP VIEW osm.places_in_relations CASCADE;

Full Changelog: 0.5.1...0.6.0