Skip to content

Releases: glotzerlab/gsd

v3.0.1

21 Jun 01:58
Compare
Choose a tag to compare

Fixed:

  • Prevent ValueError: signal only works in main thread of the main interpreter when importing gsd in a non-main thread.

v3.0.0

16 Jun 16:02
17a3cdb
Compare
Choose a tag to compare

Added:

  • gsd.version.version - version string identifier. PEP8 compliant name replaces __version__.
  • GSDFile.flush - flush write buffers (C API gsd_flush) (#237).
  • GSDFile.maximum_write_buffer_size - get/set the write buffer size (C API gsd_get_maximum_write_buffer_size / gsd_set_maximum_write_buffer_size) (#237).
  • GSDFile.index_entries_to_buffer - get/set the write buffer size (C API index_entries_to_buffer / index_entries_to_buffer) (#237).
  • On importing [gsd]{.title-ref}, install a SIGTERM handler that calls sys.exit(1) (#237).

Changed:

  • write_chunk buffers writes across frames to increase performance (#237).
  • Use Doxygen and breathe to generate C API documentation in Sphinx (#237).

Removed:

  • gsd.__version__ - use gsd.version.version.
  • gsd.hoomd.Snapshot - use gsd.hoomd.Frame (#249).
  • gsd.hoomd.HOOMDTrajectory.read_frame - use gsd.hoomd.HOOMDTrajectory.__getitem__ (#249).
  • The file modes 'wb', 'wb+', 'rb', 'rb+', 'ab', 'xb', and 'xb+'. Use 'r', 'r+', 'w', 'x', or 'a' (#249).

v2.9.0

19 May 18:14
15b0eef
Compare
Choose a tag to compare

Added:

  • File modes 'r', 'r+', 'w', 'x', and 'a' (#238).

Changed:

  • Test on gcc9, clang10, and newer (#235).
  • Test and provide binary wheels on Python 3.8 and newer (#235).

Deprecated:

  • File modes 'wb', 'wb+', 'rb', 'rb+', 'ab', 'xb', and 'xb+' (#238).
  • [C API] GSD_APPEND file open mode (#238).

v2.8.1

13 Apr 18:01
aad91d2
Compare
Choose a tag to compare

Fixed:

  • Reduce memory usage in most use cases.
  • Reduce likelihood of data corruption when writing GSD files.

v2.8.0

24 Feb 18:34
Compare
Choose a tag to compare

Added:

  • gsd.hoomd.read_log - Read log quantities from a GSD file.
  • gsd.hoomd.Frame class to replace gsd.hoomd.Snapshot.

Changed:

  • Improved documentation.

Deprecated:

  • gsd.hoomd.Snapshot.

v2.7.0

30 Nov 15:22
c7f30ba
Compare
Choose a tag to compare

Added

  • Support Python 3.11.

v2.6.1

04 Nov 19:08
2870686
Compare
Choose a tag to compare

Fixed:

  • Default values are now written to frame N (N != 0) when non-default
    values exist in frame 0.
  • Data chunks can now be read from files opened in 'wb', 'xb', and
    'ab' modes.

v2.6.0

19 Aug 14:53
3071d22
Compare
Choose a tag to compare

Changed:

  • Raise an error when writing a frame with duplicate types.

v2.5.3

23 Jun 00:12
Compare
Choose a tag to compare

Fixed

  • Support Python >=3.6.

v2.5.2

15 Apr 12:25
Compare
Choose a tag to compare

Fixed

  • Correctly handle non-ASCII characters on Windows.
  • Document that the fname argument to gsd_ C API functions is
    UTF-8 encoded.