Release libassuan 3.0.0 and 3.0.1
Closed, ResolvedPublic

Assigned To
None
Authored By
• werner
Jun 18 2024, 3:25 PM
Subscribers

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.

Noteworthy changes in version 3.0.1 (2024-06-24)

  • Change Unix symbol versioning to help the Debian transitioning process.

    See also the comments in the history below.

Noteworthy changes in version 3.0.2 (2025-02-18)

  • Fix for FreeBSD to set the pid of assuan_peercred_t. [rAdfa5e6532d]
  • Use socklen_t for the length of socket address. [T5924]
  • Fix errno setting on Widnows for assuan_sock_bind failure. [T7456]
  • New assuan_sock_get_flag "w32_error" to get the actual Windows error after a system call and not just the mapped errno. [T7456] (Not to be considered an API change because it is debugging aid)

(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.Jun 24 2024, 11:32 AM
• werner updated the task description. (Show Details)