Release of pgRouting version 4.0.2

Hello pgRouting community,

The pgRouting Team is pleased to announce the release of pgRouting version 4.0.2

The latest release is available at [1]

For discussions on the release, go to [2]

To see all issues & pull requests closed by this release see the Git closed milestone for 4.0.2 on Github. [3]

Summary of changes by function

  • pgr_dijkstraVia
    • Fix: bad alloc
  • pgr_drivingDistance
    • Standardizing negative distance behaviour
      • Throws when :math:distance < 0.
      • Standard message and hint.
  • pgr_withPointsDD
    • Standardizing negative distance behaviour
      • Throws when :math:distance < 0.
      • Standard message and hint.
  • pgr_withPointsVia
    • Fix: bad alloc

Bug Fixes

  • #3110: pgr_dijkstraVia throws std::bad_alloc when a node does not exist
  • #3091: Catchment functions when negative distance do not have a standardized behaviour

To update your database

Download the packaged version from your operating system, and use this command in the database:

ALTER EXTENSION pgrouting UPDATE TO “4.0.2”;

[1]. https://github.com/pgRouting/pgrouting/releases/latest

[2]. https://github.com/pgRouting/pgrouting/discussions/3144

[3]. https://github.com/pgRouting/pgrouting/issues?utf8=%E2%9C%93&q=milestone%3A%22Release%204.0.2%22