Skip to content

Upgrade libosmium from 2.20.0 to 2.23.0#7356

Merged
DennisOSRM merged 2 commits intomasterfrom
copilot/upgrade-libosmium-to-2220
Feb 16, 2026
Merged

Upgrade libosmium from 2.20.0 to 2.23.0#7356
DennisOSRM merged 2 commits intomasterfrom
copilot/upgrade-libosmium-to-2220

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 16, 2026

Upgrades the bundled libosmium from 2.20.0 to 2.23.0 (latest release), spanning three minor versions of improvements.

Changes

  • third_party/libosmium/ — replaced with v2.23.0 release contents
  • scripts/update_dependencies.sh — updated OSMIUM_TAG to v2.23.0

Notable upstream changes (2.21.0 → 2.23.0)

  • C++14 minimum (was C++11), CMake 3.10 minimum
  • LZ4 compression support for PBF files
  • Removed deprecated APIs: sparsehash indexes, regex_filter.hpp, projection.hpp, old Proj support
  • Extended RelationsMapIndex to 64-bit IDs
  • Extra bit storage in osmium::Location, TagList comparison
  • Bug fixes: bzip2 concatenated streams, PBF varint parsing, memory corruption in ChangesetDiscussionBuilder, progress reporting regression

Compatibility

No OSRM code uses any of the removed APIs. All unit test suites pass without modification.

Original prompt

This section details on the original issue you should resolve

<issue_title>Upgrade libosmium from 2.20.0 to 2.22.0</issue_title>
<issue_description>New libosmium features since 2.20.0 (September 2023):

  • C++17/C++20 compilation support
  • LZ4 compression support for PBF files (faster than ZLIB)
  • Reduced dependencies (uses std::variant instead of boost::variant when available)
  • Memory efficiency improvements in area assembly
  • Removed deprecated sparsehash index support
  • Reduced dependencies (less reliance on Boost libraries)</issue_description>

<agent_instructions>- upgrade libosmium dependency to lastest available version

  • fix warnings and compilation errors</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade libosmium from 2.20.0 to 2.22.0 Upgrade libosmium from 2.20.0 to 2.23.0 Feb 16, 2026
Copilot AI requested a review from DennisOSRM February 16, 2026 09:26
@DennisOSRM DennisOSRM marked this pull request as ready for review February 16, 2026 09:36
@DennisOSRM DennisOSRM merged commit cb4d49f into master Feb 16, 2026
19 checks passed
@DennisOSRM DennisOSRM deleted the copilot/upgrade-libosmium-to-2220 branch February 16, 2026 10:07
MarcelloPerathoner pushed a commit to MarcelloPerathoner/osrm-backend that referenced this pull request Feb 24, 2026
* Initial plan

* Upgrade libosmium from 2.20.0 to 2.23.0

Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade libosmium from 2.20.0 to 2.22.0

2 participants