HDF5 documents and links 
Introduction to HDF5 
HDF5 Reference Manual 

HDF5 User's Guide 
HDF5 Application Developer's Guide 

HDF5 Software Changes from Release to Release

This document is intended to assist application developers who must keep an application synchroniaed with the HDF5 library or related software.

Release 1.4.4 (current release) versus Release 1.4.3

C Library

Added functions:
H5Pget_small_data_block_size
H5Pset_small_data_block_size
H5Tget_member_index
      
          
Changed functions:
None       
          
Removed functions:
None       
          
There were no other public API changes in the C library for this release.

Fortran90 Library

h5dwrite_f, h5dread_f, h5awrite_f, h5aread_f were overloaded with dims argument to be assumed size array of type INTEGER(HSIZE_T). We recommend to use the subroutines with the new type. Module subroutines that accept dims as INTEGER array of size 7 will be deprecated in the 1.6 release.

Release 1.4.3 versus Release 1.4.2

C Library

Removed function:
H5Pset_fapl_dpss 
      
          
      
          
There were no other public API changes in the C library for this release.

Fortran90 Library

There were no changes to the public Fortran90 APIs for this release.

Release 1.4.2 versus Release 1.4.1

C Library

The HDF5 Release 1.4.2 C library is a "Bugfix Release"; there are no API changes in the underlying HDF5 library.

Fortran90 Library

The following functions in the HDF5 Release 1.4.2 Fortran90 library have an additional parameter, dims, that was not present in Release 1.4.1:
h5aread_f(attr_id, memtype_id,  buf, dims, hdferr)
h5awrite_f(attr_id, memtype_id,  buf, dims, hdferr)
h5dread_f(dset_id, mem_type_id, buf, dims, hdferr, mem_space_id, &
           file_space_id, xfer_prp)
h5dwrite_f(dset_id, mem_type_id, buf, dims, hdferr, mem_space_id, &
           file_space_id, xfer_prp)
The dims parameter enables library portability between the UNIX and Microsoft Windows platforms.

Release 1.4.1 versus Release 1.4.0

Release 1.4.1 is a "Tools Release"; there are no API changes in the underlying HDF5 library.

Release 1.4.0 versus Release 1.2.2

Several functions were added to or removed from the HDF5 library in the development of Release 1.4.0. A few functions have been modified in minor ways.

New Functions

The following functions are new for Release 1.4.0 and are included in the HDF5 Reference Manual.
herr_t H5Dvlen_get_buf_size (hid_t dataset_id, hid_t type_id, 
           hid_t space_id, hsize_t *size);
herr_t H5Epush (const char *file, const char *func,
           unsigned line, H5E_major_t maj, H5E_minor_t min, 
           const char *str);
hid_t H5Pget_driver (hid_t plist_id);
void *H5Pget_driver_info (hid_t plist_id);
herr_t H5Pget_dxpl_mpio (hid_t dxpl_id, 
           H5FD_mpio_xfer_t *xfer_mode/*out*/);
herr_t H5Pget_dxpl_multi (hid_t dxpl_id, 
           hid_t *memb_dxpl/*out*/);
herr_t H5Pget_fapl_core (hid_t fapl_id, size_t *increment/*out*/,
           hbool_t *backing_store/*out*/) 
herr_t H5Pget_fapl_family (hid_t fapl_id, 
           hsize_t *memb_size/*out*/, hid_t *memb_fapl_id/*out*/);
herr_t H5Pget_fapl_mpio (hid_t fapl_id, MPI_Comm *comm/*out*/,
           MPI_Info *info/*out*/);
herr_t H5Pget_fapl_multi (hid_t fapl_id, 
           H5FD_mem_t *memb_map/*out*/, hid_t *memb_fapl/*out*/, 
           char **memb_name/*out*/, haddr_t *memb_addr/*out*/, 
           hbool_t *relax/*out*/);
herr_t H5Pget_fapl_stream (hid_t fapl_id,
           H5FD_stream_fapl_t *fapl /*out*/ );
herr_t H5Pget_meta_block_size (hid_t fapl_id, 
           hsize_t *size/*out*/);
herr_t H5Pget_sieve_buf_size (hid_t fapl_id, 
           hsize_t *size/*out*/);
herr_t H5Pset_driver (hid_t plist_id, hid_t driver_id,
           const void *driver_info);
herr_t H5Pset_dxpl_mpio (hid_t dxpl_id, 
           H5FD_mpio_xfer_t xfer_mode);
herr_t H5Pset_dxpl_multi (hid_t dxpl_id, 
           const hid_t *memb_dxpl);
herr_t H5Pset_fapl_core (hid_t fapl_id, size_t increment, 
           hbool_t backing_store)
herr_t H5Pset_fapl_family (hid_t fapl_id, hsize_t memb_size,
           hid_t memb_fapl_id);
herr_t H5Pset_fapl_log (hid_t fapl_id, char *logfile, 
           int verbosity);
herr_t H5Pset_fapl_mpio (hid_t fapl_id, MPI_Comm comm, 
           MPI_Info info);
herr_t H5Pset_fapl_multi (hid_t fapl_id, 
           const H5FD_mem_t *memb_map, const hid_t *memb_fapl, 
           const char **memb_name, const haddr_t *memb_addr, 
           hbool_t relax);
herr_t H5Pset_fapl_sec2 (hid_t fapl_id);
herr_t H5Pset_fapl_split (hid_t fapl, const char *meta_ext,
           hid_t meta_plist_id, const char *raw_ext,
           hid_t raw_plist_id);
herr_t H5Pset_fapl_stdio (hid_t fapl_id);
herr_t H5Pset_fapl_stream (hid_t fapl_id,
           H5FD_stream_fapl_t *fapl);
herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size);
herr_t H5Pset_sieve_buf_size(hid_t fapl_id, hsize_t size);
hid_t H5Tarray_create (hid_t base, int rank, const hsize_t dims[], 
           const int perm[])
int H5Tget_array_dims (hid_t adtype_id, hsize_t *dims[], int *perm[])
int H5Tget_array_ndims (hid_t adtype_id)

The following functions are new for Release 1.4.0, but are intended only for use in specialized environments. These are also included in the HDF5 Reference Manual.

herr_t H5Pget_fapl_dpss (hid_t fapl_id);
herr_t H5Pget_fapl_gass (hid_t fapl_id, GASS_Info *info/*out*/);
herr_t H5Pget_fapl_srb (hid_t fapl_id, SRB_Info *info);
herr_t H5Pset_fapl_dpss (hid_t fapl_id);
herr_t H5Pset_fapl_gass (hid_t fapl_id, GASS_Info info);
herr_t H5Pset_fapl_srb (hid_t fapl_id, SRB_Info info);

The following functions are new for Release 1.4.0 but are intended only for driver development work, not for general use. They are listed in the List of VFL Functions document in the HDF5 Technical Notes. They are described in detail only in the source code and do not appear in the HDF5 Reference Manual.

haddr_t H5FDalloc (H5FD_t *file, H5FD_mem_t type, 
          hsize_t size);
herr_t H5FDclose (H5FD_t *file);
int H5FDcmp (const H5FD_t *f1, const H5FD_t *f2);
herr_t H5FDflush (H5FD_t *file);
herr_t H5FDfree (H5FD_t *file, H5FD_mem_t type, 
          haddr_t addr, hsize_t size);
haddr_t H5FDget_eoa (H5FD_t *file);
haddr_t H5FDget_eof (H5FD_t *file);
H5FD_t *H5FDopen (const char *name, unsigned flags, 
          hid_t fapl_id, haddr_t maxaddr);
int H5FDquery (const H5FD_t *f, unsigned long *flags);
herr_t H5FDread (H5FD_t *file, hid_t dxpl_id, haddr_t addr, 
          hsize_t size, void *buf/*out*/);
haddr_t H5FDrealloc (H5FD_t *file, H5FD_mem_t type, 
          haddr_t addr, hsize_t old_size, hsize_t new_size);
hid_t H5FDregister (const H5FD_class_t *cls);
herr_t H5FDset_eoa (H5FD_t *file, haddr_t eof);
herr_t H5FDunregister (hid_t driver_id);
herr_t H5FDwrite (H5FD_t *file, H5FD_mem_t type, 
          hid_t dxpl_id, haddr_t addr, hsize_t size, 
          const void *buf);

Deleted Functions

The following functions have been removed from the HDF5 library and from the HDF5 Reference Manual.
H5Pget_core
H5Pget_driver
H5Pget_family
H5Pget_mpi
H5Pget_sec2
H5Pget_split
H5Pget_stdio
H5Pget_xfer
      
H5Pset_core
H5Pset_family
H5Pset_mpi
H5Pset_sec2
H5Pset_split
H5Pset_stdio
H5Pset_xfer
      
H5RAclose
H5RAcreate
H5RAopen
H5RAread
H5RAwrite
H5Tget_member_dims
H5Tinsert_array
Note that the entire H5RA interface, an experimental interface for ragged arrays, has been removed from the library.

Functions with Changed Syntax

The following functions have changed slightly.
H5Pget_buffer
Return type has changed to hsize_t.
H5Pset_buffer
The type of the size parameter has changed to hsize_t.
H5Tconvert
The type of the nelmts parameter has changed to hsize_t.

Constants with Changed Values

The values of the constants H5P_DEFAULT and H5S_ALL have been changed from -2 to 0. These default values had to be special-cased in situations where they could be returned to distinguish them from error values.

 

Migration from Release 1.2.2 to Release 1.4.x

H5Tinsert_array

The functionality of H5Tinsert_array has been replaced by H5Tarray_create. Here is an example of changing code from H5Tinsert_array to H5Tarray_create.
V1.2.2
{
    struct tmp_struct {
        int a;
        float f[3];
        double d[2][4];
    };
    size_t f_dims[1]={3};
    size_t d_dims[2]={2,4};
    hid_t compound_type;

    compound_type=H5Tcreate(H5T_COMPOUND,sizeof(struct tmp_struct));
    H5Tinsert(compound_type,"a",HOFFSET(struct tmp_struct,a),H5T_NATIVE_INT);
    H5Tinsert_array(compound_type,"f",HOFFSET(struct tmp_struct,f),1,f_dims,NULL,H5T_NATIVE_FLOAT);
    H5Tinsert_array(compound_type,"d",HOFFSET(struct tmp_struct,d),2,d_dims,NULL,H5T_NATIVE_DOUBLE);
}

V1.4.0
{
    struct tmp_struct {
        int a;
        float f[3];
        double d[2][4];
    };
    hsize_t f_dims[1]={3};
    hsize_t d_dims[2]={2,4};
    hid_t compound_type;
    hid_t array_type;

    compound_type=H5Tcreate(H5T_COMPOUND,sizeof(struct tmp_struct));
    H5Tinsert(compound_type,"a",HOFFSET(struct tmp_struct,a),H5T_NATIVE_INT);
    array_type=H5Tarray_create(H5T_NATIVE_FLOAT,1,f_dims,NULL);
    H5Tinsert(compound_type,"f",HOFFSET(struct tmp_struct,f),array_type);
    H5Tclose(array_type);
    array_type=H5Tarray_create(H5T_NATIVE_DOUBLE,2,d_dims,NULL);
    H5Tinsert(compound_type,"d",HOFFSET(struct tmp_struct,d),array_type);
    H5Tclose(array_type);
}

This and Prior Releases: The RELEASE.txt and HISTORY.txt Files

The HDF5 source code, as distributed to users and developers, contains two files that will be of interest to readers of this document. Both files are located at the top level of the source code tree and are duplicated here for your reference:

RELEASE.txt
Technical notes regarding the release, including new features and the changes since the last release, notes regarding new or revised utilities, notes regarding alternative language APIs (Fortran90, C++), bugs fixed since the last release, platforms on which the release has been tested, and known problems. This is the file commonly known as "the release notes."

HISTORY.txt
A release-by-release history of the HDF5 library. This file is a compiled set of the release notes (i.e., the RELEASE.txt files) from prior releases.

HDF5 documents and links 
Introduction to HDF5 
HDF5 Reference Manual 

HDF5 User's Guide 
HDF5 Application Developer's Guide 

HDF Help Desk
Last modified: 25 June 2002
Describes HDF5 Release 1.4.4, July 2002