This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push: new f9069e7dc6 [DOCS] Add a breaking change to 1.8.0 release notes f9069e7dc6 is described below commit f9069e7dc6682d53335f0e0c6fb4bd444024d3b5 Author: Jia Yu <ji...@apache.org> AuthorDate: Wed Sep 24 21:36:28 2025 -0700 [DOCS] Add a breaking change to 1.8.0 release notes --- docs/setup/release-notes.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/setup/release-notes.md b/docs/setup/release-notes.md index 7eb968100a..4b53cd22c0 100644 --- a/docs/setup/release-notes.md +++ b/docs/setup/release-notes.md @@ -62,6 +62,19 @@ This is a major release that introduces significant new features including GeoPa * [X] Spark 4.0 Support - Full compatibility with Apache Spark 4.0 * [X] Libpostal Integration - Address parsing and geocoding capabilities +### Breaking Changes + +* [<a href='https://github.com/apache/sedona/issues/2354'>GH-2354</a>] - SedonaRegistrator Import Breaking Change: The `SedonaRegistrator` import path has been changed in Sedona 1.8.0. The module has been moved from `sedona.register.geo_registrator` to `sedona.spark.register.geo_registrator`. `SedonaRegistrator` has been soft deprecated since version 1.4.1 but due to a bug its path has now changed. The solution is to either use `SedonaContext` or use the try/except pattern: + +```python +try: + # Sedona 1.7 + from sedona.register.geo_registrator import PackageImporter +except ImportError: + # Sedona 1.8 + from sedona.spark.register.geo_registrator import PackageImporter +``` + ### New Features #### GeoPandas Compatible API