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

Version 2.8.0 #836

Merged
merged 7 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Adrien Devresse
Alexandru Săvulescu
Ali Can Demiralp
Angelos Plastropoulos
@antonysigma
Chris Byrohl
Chris De Grendele
@contre
Expand All @@ -12,6 +13,8 @@ Fernando L. Pereira
@guoxy
Haoran Ni
Henry Schreiner
@hn-sl
Hunter Belanger
@JaWSnl
Jia Li
John W. Peterson
Expand Down Expand Up @@ -49,6 +52,7 @@ Tino Wagner
Tobias Klauser
Tom de Geus
Tom Vander Aa
Torsten Reuschel
Tristan Carel
Wolf Vollprecht
Y. Yang
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
# Changes
## Version 2.8.0 - 2023-MM-DD
## Version 2.8.0 - 2023-11-02
### Important Change
- `Eigen::Matrix` is (by default) stored with column-major index ordering. Under
certain conditions `Eigen::Matrix` was written and read as row-major.
Due to code duplication H5Easy isn't affected by this bug. Starting
`2.8.0` HighFive will now throw an exception whenever prior versions would
have read with incorrect assumptions about the index ordering. (#731)

### New Features
- Improve reading and writing `std::string` as fixed and variable length HDF5 strings (#744).
- Implement creation of hard links (#765). Thanks to @Quark-X10.
- Get the size of file and amound of tracked unused space (#764). Thanks to @Quark-X10.
- `class DataType` has a new ctor to open a commited `DataType` (#796). Thanks to @Quark-X10.
- Allow user-specified `mem_space` for hyperslabs. (#740)
- New properties: `AttributePhaseChange`. (#785)
- New options to link against HDF5 statically (#823). Thanks @HunterBelanger.
- Add support for `std::complex<integral_type>` valid with C++23 (#828). Thanks @unbtorsten.
- Add a top-level header to include all compononents (#818).

### Improvements
- Add concept checks to `Property` if C++20 for better errors (#811). Thanks @antonysigma.
- Add parallel HDF5 test in CI (#760).
- Simplify github workflow (#761).
- Move inspectors in their own file to be able to better implements strings (#759).

### Bug Fix
- Fix vector constructor ambiguity in H5DataType.hpp (#775). Thanks to @hn-sl.
- `getElementCount()` fixed. (#787)
- Remove leak when calling dtor of `CompoundType`. (#798)

## Version 2.7.1 - 2023-04-04
### Bug Fix
- Revert removing `#include "H5FileDriver.hpp"` from `H5File.hpp` (#711).
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ else()
cmake_policy(VERSION 3.13)
endif()

project(HighFive VERSION 2.7.1)
project(HighFive VERSION 2.8.0)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/highfive/H5Version.hpp.in
${CMAKE_CURRENT_SOURCE_DIR}/include/highfive/H5Version.hpp)
Expand Down
1 change: 1 addition & 0 deletions doc/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ your changes.)
Before releasing a new version perform the following:

* Update `CHANGELOG.md` and `AUTHORS.txt` as required.
* Update `CMakeLists.txt` and `include/highfive/H5Version.hpp`.
* Follow semantic versioning when deciding the next version number.
* Check that
[HighFive-testing](https://github.com/BlueBrain/HighFive-testing/actions) ran
Expand Down
2 changes: 1 addition & 1 deletion doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ install. The detailed instructions would be

git clone --recursive https://github.com/BlueBrain/HighFive.git
cd HighFive
git checkout v2.7.1
git checkout v2.8.0

If it complains that Catch is missing, you forgot the `--recursive`. To fix
this you type
Expand Down
8 changes: 4 additions & 4 deletions include/highfive/H5Version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#pragma once

#define HIGHFIVE_VERSION_MAJOR 2
#define HIGHFIVE_VERSION_MINOR 7
#define HIGHFIVE_VERSION_PATCH 1
#define HIGHFIVE_VERSION_MINOR 8
#define HIGHFIVE_VERSION_PATCH 0

/** \brief Concatenated representation of the HighFive version.
*
Expand All @@ -24,10 +24,10 @@
* std::cout << STRINGIFY_VALUE(HIGHFIVE_VERSION) << "\n";
* \endcode
*/
#define HIGHFIVE_VERSION 2.7.1
#define HIGHFIVE_VERSION 2.8.0

/** \brief String representation of the HighFive version.
*
* \warning This macro only exists from 2.7.1 onwards.
*/
#define HIGHFIVE_VERSION_STRING "2.7.1"
#define HIGHFIVE_VERSION_STRING "2.8.0"