Did you know ... Search Documentation:
Title for pldoc(default)
Branch: stable (switch to development),
version to version

SWI-Prolog Changelog from version 9.2.1 to 9.2.2

[Feb 27 2024]

  • ADDED: library(sandbox): allow for current_predicate/1 without modules.
  • FIXED: Using the -l file option multiple times This used to load the first file into user (correct) but all others into the toplevel system module. Now all files are loaded into user.
  • ENHANCED: #1237 check_installation/0: hide details. Due to changes in the message format failing to load shared objects, failing tests due to shared object failures causes long error reports.

[Feb 26 2024]

  • FIXED: Highlighting (SWISH). Avoid double brace_term_open/close for {} goal terms. Still needs proper highlighting in SWISH, as it is now just marked as brace term.

[Feb 23 2024]

  • DOC: Clarify details of PL_get_chars() et al

[Feb 16 2024]

  • DOC: pack management and a few minor patches.

[Feb 20 2024]

  • DOC: Replaces !1232 with example for using PL_rewind_foreign_frame().

Package cpp

[Feb 23 2024]

  • CLEANUP: tests and clarification of term to string conversion.

[Feb 20 2024]

  • DOC: add missing method/function documentation

[Feb 19 2024]

  • FIXED: term-to-string and related functions
  • ENHANCED: added PlTerm::must_be*() methods
  • ENHANCED: remove unnecessary "const ...&" from parameters; deprecate some dubious functions

Package http

[Feb 28 2024]

  • ENHANCED: http_read_data/3: map syntax errors to status 400 If reading the data results in a syntax error we add context that causes http_exception.pl to map the error to a HTTP 400 reply rather than HTTP 500.

[Feb 26 2024]

  • FIXED: HTTP Session data plugin for Redis timeout handling.

[Feb 21 2024]

  • ENHANCED: Redis support for HTTP sessions This patch deals with IPv6 peers and allows for specifying both an RW and RO Redis database. An RO Redis database may be used for high-availability (sentinel) or clustered Redis DB.

[Feb 19 2024]

  • FIXED: json_write/2,3: deal with high Unicode characters on Windows.
  • FIXED: use-after-free memory access error This notably causes the close/0 on a stream opened using http_open/3 to fail on some platforms.

Package redis

[Feb 16 2024]

  • ADDED: sentinel_slave/4
  • FIXED: redis_get_list/3,4: LLEN can return OK. Unclear why this is possible. It happens in HTTP Redis based session management, where the list is created using LPUSH. As a work-around, we return the empty list.

Package ssl

[Feb 21 2024]