[OSGeo-Announce] pgRouting version 4.0.2 released

OSGeo News news_item at osgeo.org
Sat Sep 5 12:29:26 PDT 2026


https://www.osgeo.org/foundation-news/pgrouting-version-4-0-2-released/

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




More information about the Announce mailing list