Skip to content

Commit

Permalink
Updates for 1.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbonfield committed Feb 15, 2023
1 parent 7a4bb8c commit cd0737f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
43 changes: 43 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
Release 1.4.0: Februrary 2023
-----------------------------

This is almost entirely minor bug fixing with a few small updates.

Changes

- Optimise compression / speed of the name tokeniser.
- In arithmetic coding mode, it can now utilise bzip2 at higher levels.
- For both rans / arith entropy encoders, the choice of method / order
is now optimised per token type, giving faster compression.
- Culled a pointless zlib check in the configure script.
- Made lack of bzip2 a hard failure in configure, unless an explicit
--disable-bz2 option is given.
(#72, #73)

- Switch CI to use ARM for MacOS builds
(#69, thanks to Rob Davies)


Bug fixes

- Remove some newer compiler warnings (#61)

- Improvements for Intel -m32 builds, including better AVX2 validation
(m32 misses _mm256_extract_epi64) and improved data alignment.
(#62. See also samtools/htslib#1500)

- Detect Neon capability at runtime via operating system APIs.
(#63, thanks to John Marshall)

- Improve FreeBSD diagnostics when neglecting to use -lpthread / -lthr.
Plus additional extra error checking too.
(#68, #64, thanks to John Marshall)

- Update hts_pack to operate in line with CRAMcodecs spec, where the
number of symbols > 16.
(#65/#66, reported by Michael Macias)

- Fixed too-stringent buffer overflow checking in O1 rans decoder.
(#71, reported by Divon Lan)


Release 1.3.0: 9th August 2022
------------------------------

Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(htscodecs, 1.3.0)
AC_INIT(htscodecs, 1.4.0)

# Some functions benefit from -O3 optimisation, so if the user didn't
# explicitly set any compiler flags, we'll plump for O3.
Expand Down Expand Up @@ -61,7 +61,7 @@ AM_EXTRA_RECURSIVE_TARGETS([fuzz])
# libhtscodecs.so.1.1.0

VERS_CURRENT=3
VERS_REVISION=0
VERS_REVISION=1
VERS_AGE=1
AC_SUBST(VERS_CURRENT)
AC_SUBST(VERS_REVISION)
Expand Down
4 changes: 2 additions & 2 deletions htscodecs/htscodecs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Genome Research Ltd.
* Copyright (c) 2021-2023 Genome Research Ltd.
* Author(s): James Bonfield
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -43,7 +43,7 @@
* Note currently this needs manually editing as it isn't automatically
* updated by autoconf.
*/
#define HTSCODECS_VERSION 100300
#define HTSCODECS_VERSION 100400

/*
* A const string form of the HTSCODECS_VERSION define.
Expand Down

0 comments on commit cd0737f

Please sign in to comment.