Skip to content

Commit

Permalink
Publish a beta for v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu committed Jul 16, 2024
1 parent 20fbd4c commit ee773bd
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
# Changes
## Version 3.0.0-beta - 2024-07-16
This version is a major one and is breaking some usage compare to v2.
Read the migration guide from the documentation: https://bluebrain.github.io/HighFive/md__2home_2runner_2work_2_high_five_2_high_five_2doc_2migration__guide.html

The minimum version for C++ has been moved to `C++14`.

If you want to cite us, we now are on Zenodo: https://zenodo.org/records/10679738

### Removed
- Removed `read(T*, ...)`, use explicit `read_raw(T*, ...)` for `Slice` or `Attribute`. (#928)
- Removed `FixedLenStringArray`. Use any container with strings instead. (#932)
- Removed `FileDriver` and `MPIOFileDriver` use file access properties instead. (#949)
- Removed default constructor for `Group` and `DataSet`. (#947, #948)
- Broadcasting have been removed. Use `squeeze` and `reshape` feature instead. (#992)
- `ObjectCreateProps` and `ObjectAccessProps` those do not really exist in hdf5. (#1002)

### New Features
- Support for `std::span`. (#987)
- Add `squeezeMemSpace` and `reshapeMemSpace` for `Attribute` and `Slice` to reshape the memory space. (#991)
- `ProductSet` let you select a cartesian product of slices. (#842)

### Improvements
- Type `T[N]` or `T[N][M]` will works better. (#929)
- `DataspaceType` is now an enum class for `dataspace_scalar` or `dataspace_null`. (#900)

### Bug Fix

## Version 2.9.0 - 2024-01-25
### New Features
- Add named ctors for scalar and null dataspaces. (#899)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(VERSION 3.13)

project(HighFive VERSION 3.0.0)
project(HighFive VERSION 3.0.0-beta)

# Configure HighFive
# ------------------
Expand Down
2 changes: 1 addition & 1 deletion include/highfive/H5Version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
*
* \warning This macro only exists from 2.7.1 onwards.
*/
#define HIGHFIVE_VERSION_STRING "3.0.0"
#define HIGHFIVE_VERSION_STRING "3.0.0-beta"
6 changes: 6 additions & 0 deletions include/highfive/bits/H5Slice_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ class HyperSlab {
///
/// Note that the selections along each axis must be sorted and non-overlapping.
///
/// \since 3.0
class ProductSet {
public:
template <class... Slices>
Expand Down Expand Up @@ -356,6 +357,11 @@ class SliceTraits {
///
Selection select(const ElementSet& elements) const;

///
/// \brief Select a region consisting of a product of slices.
///
/// \since 3.0
///
Selection select(const ProductSet& product_set) const;

template <typename T>
Expand Down

0 comments on commit ee773bd

Please sign in to comment.