Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v3.0.0-beta1. #1027

Merged
merged 14 commits into from
Aug 20, 2024
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
# 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)
1uc marked this conversation as resolved.
Show resolved Hide resolved
- 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)
1uc marked this conversation as resolved.
Show resolved Hide resolved
- `DataspaceType` is now an enum class for `dataspace_scalar` or `dataspace_null`. (#900)

## Version 2.9.0 - 2024-01-25
### New Features
- Add named ctors for scalar and null dataspaces. (#899)
Expand Down
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
Loading