Page MenuHome GnuPG

Release libassuan 3.0.0 and 3.0.1
Closed, ResolvedPublic

Description

Noteworthy changes in version 3.0.0 (2024-06-18)

  • API change: For new code, which uses libassuan with nPTH, please use gpgrt_get_syscall_clamp and assuan_control, instead of the system_hooks API. Use of ASSUAN_SYSTEM_NPTH is deprecated with new API version 3. If it's really needed to keep using old implementation of ASSUAN_SYSTEM_NPTH, you need to change your your application code, to define ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS before including <assuan.h>. For an application which uses version 2 API (NEED_LIBASSUAN_API=2 in its configure.ac), use of ASSUAN_SYSTEM_NPTH is still supported. [T5914]
  • New function assuan_control. [T6625]
  • New function assuan_sock_accept. [T5925]
  • New functions assuan_pipe_wait_server_termination and assuan_pipe_kill_server to support abstraction of process. [T6487]
  • Windows support for sendfd/recvfd. [T6236]
  • Implement timeout in assuan_sock_connect_byname. [T3302]
  • No support for WindowsCE, any more. [T6170]
  • New socket flags "linger" and "reuseaddr". [rA87f92fe962]

Interface changes relative to the 2.5.0 release:

assuan_sock_accept                  NEW.
assuan_pipe_wait_server_termination NEW.
assuan_pipe_kill_server             NEW.
assuan_sock_set_flag                EXTENDED.
assuan_sock_get_flag                EXTENDED.

For 3.0.1 see the comments below.

(prev: T6542 next: tbd)

Revisions and Commits

rA Assuan

Event Timeline

werner created this task.
werner created this object with edit policy "Administrators".
werner updated the task description. (Show Details)
werner updated the task description. (Show Details)

Debian uses symbol versions to help with library transition. See https://lists.gnupg.org/pipermail/gnupg-devel/2024-June/035587.html for more. Although I am not sure whether this is a good idea, I just released a new version 3.0.1 with just a chnage in the symbol versioning. See rAc9e902705a

werner renamed this task from Release libassuan 3.0.0 to Release libassuan 3.0.0 and 3.0.1.Mon, Jun 24, 11:32 AM
werner updated the task description. (Show Details)