From 06f7db9b89f3465d3f0564a3885c9e19e4826222 Mon Sep 17 00:00:00 2001 From: Jia Yu Date: Wed, 1 May 2024 00:13:11 -0700 Subject: [PATCH] [DOCS] Add release notes for 1.6.0 (#1395) * Release note 1.6.0 * Fix linter --- docs/setup/release-notes.md | 116 ++++++++++++++++++++++++++++++++++++ mkdocs.yml | 8 +-- 2 files changed, 120 insertions(+), 4 deletions(-) diff --git a/docs/setup/release-notes.md b/docs/setup/release-notes.md index 03fbf39b47..771335d11b 100644 --- a/docs/setup/release-notes.md +++ b/docs/setup/release-notes.md @@ -3,6 +3,122 @@ If you use Sedona < 1.6.0, please use GeoPandas <= `0.11.1` since GeoPandas > 0.11.1 will automatically install Shapely 2.0. If you use Shapely, please use <= `1.8.5`. +!!! warning + Sedona 1.6.0+ requires Java 11+ to compile and run. If you are using Java 8, please use Sedona <= 1.5.2. + +## Sedona 1.6.0 + +Sedona 1.6.0 is compiled against Spark 3.3 / Spark 3.4 / Spark 3.5, Flink 1.12, Snowflake 7+, Java 11. + +## New Contributors + +* @mpetazzoni made their first contribution in https://github.com/apache/sedona/pull/1216 +* @sebdiem made their first contribution in https://github.com/apache/sedona/pull/1217 +* @guilhem-dvr made their first contribution in https://github.com/apache/sedona/pull/1229 +* @niklas-petersen made their first contribution in https://github.com/apache/sedona/pull/1252 +* @mebrein made their first contribution in https://github.com/apache/sedona/pull/1334 + +### Highlights + +* [X] Sedona is now compatible with Shapely 2.0 and GeoPandas 0.11.1+. +* [X] Sedona now requires Java 11 to compile and run. +* [X] Sedona added enhanced support for geography data. This includes + * ST_Buffer with spheroid distance + * ST_BestSRID to find the best SRID for a geometry + * ST_ShiftLongitude to shift the longitude of a geometry to mitigate the issue of crossing the date line + * ST_CrossesDateLine to check if a geometry crosses the date line + * ST_DWithin now supports spheroid distance +* [X] **Sedona Spark** Sedona Raster allows RS_ReropjectMatch to wrap the extent of one raster to another raster, similar to [RasterArray.reproject_match function in rioxarray](https://corteva.github.io/rioxarray/html/rioxarray.html#rioxarray.raster_array.RasterArray.reproject_match) +* [X] **Sedona Spark** Sedona Raster now supports Rasterio and NumPy UDF by `raster.as_numpy`, `raster.as_numpy_masked`, `raster.as_rasterio`. You can perform any native function from rasterio and numpy and run them in parallel. See the example below. + +```python +from pyspark.sql.types import DoubleType + +def mean_udf(raster): + return float(raster.as_numpy().mean()) + +sedona.udf.register("mean_udf", mean_udf, DoubleType()) +df_raster.withColumn("mean", expr("mean_udf(rast)")).show() +``` + +### Bug + + + +### New Feature + + + +### Improvement + + + +### Task + + + ## Sedona 1.5.2 Sedona 1.5.2 is compiled against Spark 3.3 / Spark 3.4 / Spark 3.5, Flink 1.12, Snowflake 7+, Java 8. diff --git a/mkdocs.yml b/mkdocs.yml index 1f3a3e5a3e..47ae4f98ba 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -161,10 +161,10 @@ extra: current_version: 1.5.1 current_geotools: 1.5.1-28.2 sedona_create_release: - current_version: 1.5.2 - current_git_tag: sedona-1.5.2-rc2 - current_rc: 1.5.2-rc2 - current_snapshot: 1.5.2-SNAPSHOT + current_version: 1.6.0 + current_git_tag: sedona-1.6.0-rc1 + current_rc: 1.6.0-rc1 + current_snapshot: 1.6.1-SNAPSHOT next_version: 1.6.0 copyright: Copyright © 2024 The Apache Software Foundation. Apache Sedona, Sedona, Apache, the Apache feather logo, and the Apache Sedona project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries. All other marks mentioned may be trademarks or registered trademarks of their respective owners. Please visit Apache Software Foundation for more details.