This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch branch-1.8.0
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/branch-1.8.0 by this push:
new 034665179b [DOCS] Add a breaking change to 1.8.0 release notes
034665179b is described below
commit 034665179b1da6382b7f834aee9bd8a1558404be
Author: Jia Yu <[email protected]>
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