Skip to content

Commit 24979d0

Browse files
committed
Add changelog
1 parent 45f5c9e commit 24979d0

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## 0.2.0 (Apr 17, 2016)
2+
3+
Features:
4+
5+
- Full support of `msvc` target on Windows. CI tests on AppVeyor now use official reeases of HDF5
6+
binaries (1.8.16, VS2015, x86_x64). The `gnu` target are still unofficially supported but
7+
won't be tested.
8+
- If `HDF5_LIBDIR` is not specified when building on Windows and `PATH` contains what looks like
9+
the `bin` folder of HDF5 installation, the library directory will be inferred automatically.
10+
The official HDF5 installers add the `bin` folder to user path, so the official MSVC releases
11+
should just work out of the box without having to set any environment variables.
12+
- The library is now split into three crates: `libhdf5-lib` (requests linkage to HDF5),
13+
`libhdf5-sys` (contains bindings, requires `libhdf5-lib` at build time in order to conditionally
14+
enable or disable certain HDF5 functionality), and `hdf5-rs` (the user-facing crate, requires
15+
both lower-level crates at build time).
16+
- Added `hdf5_rs::hdf5_version` function.
17+
- The minimum required version of the HDF5 library is now 1.8.4.
18+
- Both `libhdf5-sys` and `hdf5-rs` crates can now use version attributes at compile time to
19+
enable/disable/change functionality. All functions and definitions that appeared in HDF5 versions
20+
past 1.8.4 are now conditionally enabled in `libhdf5-sys`.
21+
- Added bindings for HDF5 functions that were added in releases 1.8.15 and 1.8.16.
22+
- Static global variables in HDF5 (H5E, H5P, H5T) are now linked based on HDF5 version and not
23+
the target platform (`_ID_g` variables were introduced in 1.8.14). When `msvc` target is used,
24+
the dllimport stub prefixes are also accounted for. The constants exposed by `libhdf5-sys` are
25+
now of reference type and need to be dereferenced upon use (for `msvc`, they have to be
26+
dereferenced twice).
27+
28+
Changes:
29+
30+
- API simplification: many methods previously expecting `Into<String>` inputs now just take `&str`.
31+
- `util::to_cstring` now takes `Borrow<str>` instead of `Into<String>` so as to avoid
32+
unnecessary allocations, and the return value is now wrapped in `Result` so that interior
33+
null bytes in input strings trigger an error.
34+
35+
Bugfixes:
36+
37+
- Fixed dangling pointer problems when strings were being passed as pointers to the C API.
38+
- Fixed target path not being passed correctly in `Container::link_soft`.
39+
40+
## 0.1.1 (July 2015)
41+
42+
Initial public version.

0 commit comments

Comments
 (0)