Skip to content

Commit

Permalink
draft post
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Oct 4, 2024
1 parent 67b2df9 commit 0abd3a3
Showing 1 changed file with 129 additions and 0 deletions.
129 changes: 129 additions & 0 deletions _posts/2024-10-07-nanoarrow-0.6.0-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
---
layout: post
title: "Apache Arrow nanoarrow 0.6.0 Release"
date: "2024-10-07 00:00:00"
author: pmc
categories: [release]
---
<!--
{% comment %}
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

The Apache Arrow team is pleased to announce the 0.6.0 release of
Apache Arrow nanoarrow. This release covers 114 resolved issues from
10 contributors.

## Release Highlights

- Run End Encoding support
- StringView support
- IPC Write support
- DLPack/device support
- IPC/Device available from CMake/Meson as feature flags

See the
[Changelog](https://github.com/apache/arrow-nanoarrow/blob/apache-arrow-nanoarrow-0.6.0/CHANGELOG.md)
for a detailed list of contributions to this release.

## Breaking Changes

Most changes included in the nanoarrow 0.6.0 release will not break downstream
code; however, several changes in the C library are breaking changes to previous
behaviour.

- Check changelog + revdep ADBC

## Features

### REE Support

- C library only, build by buffer

### StringView Support

- C demo
- Python demo
- R demo

### IPC Write Support

- C demo
- Python demo
- R demo

### DLPack/CUDA Support



### Build System Support for IPC/Device

Lastly, the CMake build system was refactored to enable `FetchContent` to
work in an even wider variety of
[develop/build/install scenarios](https://github.com/apache/arrow-nanoarrow/tree/main/examples/cmake-scenarios). In most cases, CMake-based projects should be able
to add the nanoarrow C library with device and/or IPC support as a dependency with:

```cmake
include(FetchContent)
set(NANOARROW_IPC ON)
set(NANOARROW_DEVICE ON)
fetchcontent_declare(nanoarrow
GIT_REPOSITORY https://github.com/apache/arrow-nanoarrow.git
GIT_TAG apache-arrow-nanoarrow-0.6.0
GIT_SHALLOW TRUE)
fetchcontent_makeavailable(nanoarrow)
add_executable(some_target ...)
target_link_libraries(some_target PRIVATE nanoarrow::nanoarrow_ipc nanoarrow::nanoarrow_device)
```

- Works in Meson, too

## Get nanoarrow

- cxx via CMake/Meson

The nanoarrow R bindings are distributed as the `nanoarrow` package on
[CRAN](https://cran.r-project.org/).

The nanoarrow Python bindings are distributed as the `nanoarrow` package on
[PyPI](https://pypi.org/project/nanoarrow/) and [conda-forge](https://anaconda.org/conda-forge/nanoarrow):

```shell
pip install nanoarrow
conda install nanoarrow -c conda-forge
```

## Contributors

This release consists of contributions from 10 contributors in addition
to the invaluable advice and support of the Apache Arrow community.

```console
$ git shortlog -sn apache-arrow-nanoarrow-0.6.0.dev..apache-arrow-nanoarrow-0.6.0 | grep -v "GitHub Actions"
64 Dewey Dunnington
19 William Ayd
16 Benjamin Kietzman
5 Cocoa
2 Abhishek Singh
1 Ashwin Srinath
1 Dane Pitkin
1 Jacob Wujciak-Jens
1 Matt Topol
1 Tao Zuhong
```

0 comments on commit 0abd3a3

Please sign in to comment.