[
    {
        "role": "user",
        "content": "what%20is%20new%20in%20python%20package%20osmnx%20since%20version%202.0%2C%20such%20as%20in%202.1%3F"
    },
    {
        "role": "assistant",
        "content": "Here\u2019s a summary of what\u2019s new in **OSMnx** since version **2.0**, particularly the new 2.1.0 release (Feb 16, 2026), and what changed when going from version 1.x to 2.0.  \n\n---\n\n## What changed in **OSMnx 2.0** (released Nov 24, 2024)\n\nThe jump from v1.x to v2.0 was a major upgrade. Key changes included:  \n\n- **Full type annotations**: All public and private functions were updated with Python typing for clarity and reliability. ([data.safetycli.com](https://data.safetycli.com/packages/pypi/osmnx/changelog?utm_source=openai))  \n- **Dropped deprecated functionality** from v1.x. Many old functions, modules, and parameters were removed once deprecated. ([data.safetycli.com](https://data.safetycli.com/packages/pypi/osmnx/changelog?utm_source=openai))  \n- **Performance & memory improvements**: Major rewrites and refactoring across modules, especially `features`, `save_graph_xml`/`_osm_xml`, etc., for better speed and efficiency. ([data.safetycli.com](https://data.safetycli.com/packages/pypi/osmnx/changelog?utm_source=openai))  \n- **Dependencies and Python version changes**: Minimum supported Python version bumped to 3.11; support for older ones removed. Dependencies like numpy, pandas, and geopandas upgraded to meet needs (e.g. `union_all`) for the refactoring and typing work. ([data.safetycli.com](https://data.safetycli.com/packages/pypi/osmnx/changelog?utm_source=openai))  \n- **API streamlining**: Function and module renames, moved functionality, more consistency. Built-in parameters and old names cleaned up. ([github.com](https://github.com/gboeing/osmnx/issues/1123?utm_source=openai))  \n\n**Migration guidance**: There\u2019s an official migration guide to help adjust code from v1 to v2. ([github.com](https://github.com/gboeing/osmnx/issues/1123?utm_source=openai))\n\n---\n\n## What\u2019s new in **OSMnx 2.1.0** (released Feb 16, 2026)\n\nWhile 2.1 builds on the foundation of 2.0, it adds refined functionality and small improvements rather than breaking changes. Here are some updates in 2.1.0:\n\n- **Requires Python \u2265 3.11**: The package classifiers confirm that OSMnx 2.1.0 supports Python versions 3.11 through 3.14. ([pypi.org](https://pypi.org/pypi/osmnx?utm_source=openai))  \n- **Typed package**: The typing status remains, and documentation continues to show that typing support is part of the public contract. ([data.safetycli.com](https://data.safetycli.com/packages/pypi/osmnx/changelog?utm_source=openai))  \n- **Features module usage**: The `features` module continues to be highlighted as the way to download geospatial features (buildings, groceries, parks, transit stops, etc.) from Overpass API. This is more stable than the old POIs or footprints modules (deprecated earlier). ([osmnx.readthedocs.io](https://osmnx.readthedocs.io/en/stable/getting-started.html?utm_source=openai))  \n- **Save/load improvements**: Graph/MMX export options remain GeoPackage, GraphML, and OSM XML. The `io` and `convert` modules continue to evolve. ([osmnx.readthedocs.io](https://osmnx.readthedocs.io/en/stable/getting-started.html?utm_source=openai))  \n- **Routing / Distance modules**: These modules allow for more flexible weighting (distance, travel time, elevation, etc.), plus faster methods for nearest node/edge queries. ([osmnx.readthedocs.io](https://osmnx.readthedocs.io/en/stable/getting-started.html?utm_source=openai))  \n\nMost of the changes in 2.1 are incremental (bug fixes, doc improvements, minor functional extensions) rather than introducing big new paradigms or API breaks.\n\n---\n\n## Key Differences Between v1.x \u2192 2.0 \u2192 2.1\n\n| Area | v1.x | v2.0 | 2.1.0 |\n|------|------|------|--------|\n| Type annotations | partial or none | full package typed | preserved & confirmed |\n| Deprecations removed | many deprecated parts remained | deprecated APIs removed; clean API | stable API maintained |\n| Python support | ~3.8+ | 3.11+ (older dropped) | 3.11\u20133.14 |\n| Performance & refactoring | less optimized | many modules rewritten | refinements and optimizations |\n| Features/POIs/Footprints | POIs & footprints modules | replaced by `features`, `geometries` | `features` stabilized |\n| API contracts (function names, parameters) | some inconsistency | streamlined, moved/renamed | stable; no major breaking changes in 2.1 |\n\n---\n\nIf you like, I can pull up a full list of all new functions in 2.1, or highlight specific changes in modules you care about (routing? plotting? etc.). Do you want that?"
    }
]