Skip to content

Latest commit

 

History

History
265 lines (195 loc) · 7.83 KB

File metadata and controls

265 lines (195 loc) · 7.83 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.10.0 - 2026-01-02

Changed

  • Bump zarrs to 0.23.0
  • Breaking: Bump MSRV to Rust 1.91
  • Breaking: Rename zarrsArrayGetInnerChunkGridShape to zarrsArrayGetSubChunkGridShape
  • Breaking: Rename zarrsArrayGetInnerChunkShape to zarrsArrayGetSubChunkShape
  • Breaking: Rename zarrsArrayRetrieveInnerChunk to zarrsArrayRetrieveSubChunk

0.9.5 - 2025-10-30

Changed

  • Bump zarrs to 0.22.5

0.9.4 - 2025-09-18

Added

  • Add ZarrsResult::ZARRS_ERROR_INCOMPATIBLE_DIMENSIONALITY

Changed

  • Bump zarrs to 0.22.0

Fixed

  • Validate dimensionality in zarrsArrayGetShape, zarrsArrayGetChunkGridShape, zarrsArrayGetChunksInSubset, and zarrsArrayGetInnerChunkGridShape

0.9.3 - 2025-07-27

Added

  • Add trusted publishing
  • Add Zarr group functionality
    • ZarrsGroup
    • zarrs{Create,Open,Destroy}GroupRW()
    • zarrsGroupStoreMetadata()
    • zarrsGroup{Get,Set}Attributes()

Changed

  • Bump zarrs to 0.21.2
  • Bump cbindgen to 0.29
  • Move cmake example up from ./examples/cmake_project into ./examples
  • Allocate using the element type rather than bytes in the examples
  • Rename zarrsArrayGetAttributesString to zarrsArrayGetAttributes
    • zarrsArrayGetAttributesString is deprecated and will be removed in a future breaking release

Fixed

  • Bump Dockerfile to Rust 1.82 to match the MSRV
  • Fix incorrect zarrsOpenArrayRW usage in README

0.9.2 - 2025-05-17

Changed

  • Bump zarrs to 0.20.0
  • Update URLs to point to new zarrs GitHub organisation

0.9.1 - 2025-02-24

Changed

  • Bump cbindgen to 0.28
  • Bump all dependencies in lockfile
    • zarrs has had a number of metadata compatibility fixes with zarr-python

0.9.0 - 2025-01-12

Changed

  • Bump zarrs to 0.19.0
  • Breaking: Bump MSRV to Rust 1.82

Fixed

  • fix: static_mut_refs lint and zarrsLastError safety

0.8.5 - 2024-11-23

Changed

  • Bump zarrs to 0.18.0

0.8.4 - 2024-10-02

Added

  • Add doxygen docs
  • Add example to README.md

Changed

  • Use FetchContent_MakeAvailable for zarrs_ffi source in Findzarrs.cmake
  • Bump zarrs to 0.17.0
  • Raise MSRV to 1.76

Fixed

  • Use --locked in Findzarrs.cmake for cargo fetch

0.8.3 - 2024-08-15

Added

  • Add Cargo.lock to version control

Changed

  • Use --frozen in Findzarrs.cmake

0.8.2 - 2024-08-13

Added

  • Add zarrsArraySetAttributes

Changed

  • Bump cbindgen to 0.27
  • Change zarrs{LastError,ArrayGetMetadataString,ArrayGetAttributesString} to return non-const pointers

Fixed

  • Bump MSRV to 1.75 (needed since 0.6.1)

0.8.1 - 2024-08-05

Add

  • Add Dockerfile for cmake example
  • Add all_codecs feature

Changed

  • Fetch deps at configure time in Findzarrs.cmake

0.8.0 - 2024-08-05

Add

  • Add zarrs::array::ArrayShardedReadableExtCache related functionality
    • ZarrsShardIndexCache type
    • zarrsArrayGetInnerChunkShape() and zarrsArrayGetInnerChunkGridShape()
    • zarrsCreateShardIndexCache() and zarrsDestroyShardIndexCache()
    • zarrsArrayRetrieveInnerChunk and zarrsArrayRetrieveSubsetSharded()
  • Add zarrsFreeString
  • Add zarrsArrayGetMetadataString and zarrsArrayGetAttributesString
  • Add ZarrsResult:ZARRS_ERROR_UNSUPPORTED_DATA_TYPE

Changed

  • Bump zarrs to 0.16.2
  • Mark ZarrsResult as non-exhaustive

Fixed

  • Add missing CMake library alias zarrs::zarrs-static for zarrs_ffi-static
  • Set CMake target_include_directories for zarrs_ffi-static

0.7.0 - 2024-07-07

Changed

  • Make cbindgen dependency optional
  • Breaking: Rename zarrsCreateArrayRWWithMetadata to zarrsCreateArrayRW and zarrsCreateArrayRW to zarrsOpenArrayRW
  • Bump zarrs to 0.15.0

0.6.2 - 2024-04-20

Fixed

  • Add new functions to lib.rs so they are visible in crate docs

0.6.1 - 2024-04-20

Added

  • zarrsArrayGetChunkShape()
  • zarrsArrayGetChunkOrigin()

Changed

  • Bump zarrs to 0.13

0.6.0 - 2024-04-03

Added

  • zarrsArrayGetDimensionality()
  • zarrsArrayGetShape()
  • zarrsArrayGetDataType() and ZarrsDataType
  • zarrsArrayGetChunkGridShape()
  • zarrsArrayGetChunksInSubset()

Changed

  • Change subset_shape in zarrsArrayGetSubsetSize to *u64
  • Reorder parameters to various functions so counts come first
  • Rename various function parameters to camel case, add p prefix to all pointers
  • Use find_package_handle_standard_args in Findzarrs.cmake

Fixed

  • Fixed various function docs referring to non-existent parameters
  • Add more safety docs

0.5.1 - 2024-03-18

Changed

  • Use tempfile rather than tempdir and move to dev dependency
  • Remove derive_more and serde_json dependency
  • Generalise Findzarrs.cmake and reference in README.md

Fixed

  • Fixed link to examples in README.md

0.5.0 - 2024-03-10

Added

  • cbindgen feature to generate zarrs.h in the source directory
    • zarrs.h is now version controlled in the source directory rather than placed in the build directory
  • Add examples/cmake_project demonstrating using zarrs_ffi in a CMake project

Changed

  • Rename package to zarrs_ffi from zarrs-ffi and move repository
  • zarrsDestroyArray and zarrsDestroyStorage now return a ZarrsResult
  • Set MSRV to 1.71

0.4.0 - 2024-03-09

Added

  • Add zarrs_assert

Changed

  • Remove ZarrsStorageRW and add ZarrsStorage that can hold any type of storage
  • Remove ZarrsArrayRW and add ZarrsArray that can hold any type of array

0.3.0 - 2024-02-23

Added

  • Add examples/array_write_read.cpp

Changed

  • Bump zarrs to 0.12
  • Move C++ test code into separate files
  • Cleanup README.md

0.2.1 - 2024-01-17

Changed

  • Update to zarrs 0.10.0
  • Update cbindgen to 0.26

0.2.0 - 2023-09-25

Added

  • Initial public release