Skip to content

Commit cd0737f

Browse files
committed
Updates for 1.4.0 release
1 parent 7a4bb8c commit cd0737f

File tree

3 files changed

+47
-4
lines changed

3 files changed

+47
-4
lines changed

NEWS.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
Release 1.4.0: Februrary 2023
2+
-----------------------------
3+
4+
This is almost entirely minor bug fixing with a few small updates.
5+
6+
Changes
7+
8+
- Optimise compression / speed of the name tokeniser.
9+
- In arithmetic coding mode, it can now utilise bzip2 at higher levels.
10+
- For both rans / arith entropy encoders, the choice of method / order
11+
is now optimised per token type, giving faster compression.
12+
- Culled a pointless zlib check in the configure script.
13+
- Made lack of bzip2 a hard failure in configure, unless an explicit
14+
--disable-bz2 option is given.
15+
(#72, #73)
16+
17+
- Switch CI to use ARM for MacOS builds
18+
(#69, thanks to Rob Davies)
19+
20+
21+
Bug fixes
22+
23+
- Remove some newer compiler warnings (#61)
24+
25+
- Improvements for Intel -m32 builds, including better AVX2 validation
26+
(m32 misses _mm256_extract_epi64) and improved data alignment.
27+
(#62. See also samtools/htslib#1500)
28+
29+
- Detect Neon capability at runtime via operating system APIs.
30+
(#63, thanks to John Marshall)
31+
32+
- Improve FreeBSD diagnostics when neglecting to use -lpthread / -lthr.
33+
Plus additional extra error checking too.
34+
(#68, #64, thanks to John Marshall)
35+
36+
- Update hts_pack to operate in line with CRAMcodecs spec, where the
37+
number of symbols > 16.
38+
(#65/#66, reported by Michael Macias)
39+
40+
- Fixed too-stringent buffer overflow checking in O1 rans decoder.
41+
(#71, reported by Divon Lan)
42+
43+
144
Release 1.3.0: 9th August 2022
245
------------------------------
346

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
AC_INIT(htscodecs, 1.3.0)
2+
AC_INIT(htscodecs, 1.4.0)
33

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

6363
VERS_CURRENT=3
64-
VERS_REVISION=0
64+
VERS_REVISION=1
6565
VERS_AGE=1
6666
AC_SUBST(VERS_CURRENT)
6767
AC_SUBST(VERS_REVISION)

htscodecs/htscodecs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021-2022 Genome Research Ltd.
2+
* Copyright (c) 2021-2023 Genome Research Ltd.
33
* Author(s): James Bonfield
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,7 @@
4343
* Note currently this needs manually editing as it isn't automatically
4444
* updated by autoconf.
4545
*/
46-
#define HTSCODECS_VERSION 100300
46+
#define HTSCODECS_VERSION 100400
4747

4848
/*
4949
* A const string form of the HTSCODECS_VERSION define.

0 commit comments

Comments
 (0)