This is the third and, hopefully, last bug fix release for the 2.1.x
release branch!
Overall, this release cycle was thankfully pretty calm, hence the more than two months since the previous one. The release contains a couple of new features that may also be useful such as being able to select or list portaudio
devices and some enhancements in input.harbor
dynamic capabilities.
Anyone on one of the 2.1.x
releases should be able to upgrade safely to this version.
2.1.3 (2022-11-04)
New:
- Added
time.string
. - Added
error.on_error
to report any error raised during the
script's execution. Enhanced reported error positions (#2712) - Added
device_id
andlatency
options toinput.portaudio
andoutput.portaudio
to be able to choose the requested
device. Useliquidsoap --list-portaudio-devices
to see the
list of devices (#2733) - Added
disconnect
method toinput.harbor
, making it possible
to disconnect a source client programmatically, including when
a new client is trying to connect.
Changed:
- Send data in-memory in
http.{post,put}.file
when input data
is already in memory. This allows to use plainContent-Length
instead ofchunked
transfer encoding in these case, though
libcurl
seems to always preferchunked
encoding forput
requests. - Better error message when an encoder is not available on windows
(#2665) - Create output directory in HLS outputs when it does not exist
using newly introducedperms
permission argument (#2725) - Removed
restart_on_error
argument onoutput.url
and added
restart_delay
which implements a delayed restart. Added
on_error
argument to be notified of errors (#2731) - Changed default
encoding
parameter instring.{quote, escape}
to benull
. Fallback to"ascii"
encoding when no encoding is
specified and"utf8"
fails. This prevents unexpected script
failures but might not be backward-compatible if you used a
customescape_char
orspecial_char
function (#2738)
Fixed:
- Enhanced methods typing support (#2659)
- Add support for
song
metadata (mapped totitle
) andurl
(mapped to
metadata_url
) ininput.harbor
(#2676) - Fixed
blank.*
operator types. - Fixed request metadata escaping (#2732)
- Fixed
input.external.rawadudio
mono input (#2742) - Fixed
http
response body on redirect (#2758)