Skip to content

Commit

Permalink
Update version to 3.1.0 with clear note of breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-earthscope committed Jan 24, 2024
1 parent 8e786bf commit 314ea09
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
2024.020: 3.0.19
Minor data structure and API changes:
- `ms3_detect()` now returns int64_t instead of int.
2024.024: 3.1.0
BREAKING CHANGES, data structure and an API changes:
- `MS3Record.encoding` now int16_t instead of int8_t.
- `MS3Record.datalength` now uint32_t instead of uint16_t (change in 3.0.18).
- `MS3Record.datasize` and `MS3TraceSeg.datasize` now uint64_t instead of size_t.
These changes should not effect the vast amount, or any, usage but are important
for capability and portability.
- `ms3_detect()` now returns int64_t instead of int.
- `mstl3_unpack_recordlist()`'s `outputsize` argument is now uint64_t instead of size_t.
- `mseh_get_ptr_r()`'s `maxlength` is now uint32_t instead of size_t.

- Fix to handle full range of allowed encoding values from 0-255.
- Fix to handle detection of huge record lengths beyond MAXRECLEN gracefully.
- Add more checks to avoid writing impossible values to miniSEED v2 blockette fields.
Expand Down
4 changes: 2 additions & 2 deletions libmseed.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
extern "C" {
#endif

#define LIBMSEED_VERSION "3.0.19" //!< Library version
#define LIBMSEED_RELEASE "2024.022" //!< Library release date
#define LIBMSEED_VERSION "3.1.0" //!< Library version
#define LIBMSEED_RELEASE "2024.024" //!< Library release date

/** @defgroup io-functions File and URL I/O */
/** @defgroup miniseed-record Record Handling */
Expand Down

0 comments on commit 314ea09

Please sign in to comment.