Package: guile-3.0
Severity: wishlist
X-Debbugs-CC: Rob Browning <[email protected]>

It would be great to package v3.0.12 or later!

Rob, did you consider making guile-3.0 team-maintained by the "Debian
Scheme Team"?  It would make it easier for others to help fix things in
this package.  See:

https://salsa.debian.org/scheme-team/gitlab-profile/-/blob/main/README.org

/Simon

Olivier Dion <[email protected]> writes:

> We are pleased to announce GNU Guile release 3.0.12, the latest in the
> 3.0 stable release series.
>
> This release was a mix of bugs fixing, features, quality of hacking
> enhancements and performance improvements.
>
> Notable changes and bug fixes include:
>
>   - Prettify warnings à la GCC
>   - Linux support for clone(2) and unshare(2) system calls
>   - Better responsiveness to asyncs
>   - New history values in the REPL à la CL
>   - New syntax `with-modules`
>   - Removal of continuation barriers for sandboxed evaluation
>   - Fix inconsistent behavior of `primitive-fork`
>   - SRFI: 235, 253, 273,
>   - And many more (see NEWS at the end)
>
> There have been 340 commits by 40 people in the 52 weeks since 3.0.11.
>
> See the NEWS below for a brief summary.
>
> Thanks to everyone who has contributed!
> The following people contributed changes to this release:
>
>   Andy Wingo (3)
>   Arne Babenhauserheide (1)
>   Artyom Bologov (2)
>   Arun Isaac (2)
>   Brendan Tildesley (1)
>   Christopher Baines (2)
>   Daniel Llorens (1)
>   Dariqq (1)
>   Ekaitz Zarraga (4)
>   Hannes Müller (10)
>   JJ (1)
>   Janneke Nieuwenhuizen (9)
>   Jelle Licht (1)
>   Jinser Kafka (1)
>   Johannes Christ (2)
>   Jonas Hahnfeld (14)
>   Lee Thompson (1)
>   Lennart Jablonka (1)
>   Leonardo Nobrega (1)
>   Ludovic Courtès (7)
>   Maxim Cournoyer (4)
>   Michael Gran (11)
>   Michael Käppler (2)
>   Mikael Djurfeldt (1)
>   Nicolas Graves (1)
>   Nikolaos Chatzikonstantinou (3)
>   Noé Lopez (1)
>   Olivier Dion (137)
>   Riley Levy (2)
>   Rob Browning (80)
>   Rutger van Beusekom (1)
>   Simon Josefsson (2)
>   Tomas Volf (9)
>   Yarl Baudig (3)
>   Yuval Langer (2)
>   Zhu Zihao (12)
>   kurku (1)
>   pinoaffe (1)
>   retropikzel (1)
>   salt999 (1)
>
> Olivier
>  [on behalf of the guile maintainers]
> ==================================================================
>
> Here is the GNU guile home page:
>     https://gnu.org/s/guile/
>
> Here are the compressed sources:
>   ftp://ftp.gnu.org/gnu/guile/guile-3.0.12.tar.gz   (10MB)
>   ftp://ftp.gnu.org/gnu/guile/guile-3.0.12.tar.lz   (5.6MB)
>   ftp://ftp.gnu.org/gnu/guile/guile-3.0.12.tar.xz   (5.9MB)
>
> Here are the GPG detached signatures:
>   ftp://ftp.gnu.org/gnu/guile/guile-3.0.12.tar.gz.sig
>   ftp://ftp.gnu.org/gnu/guile/guile-3.0.12.tar.lz.sig
>   ftp://ftp.gnu.org/gnu/guile/guile-3.0.12.tar.xz.sig
>
> Use a mirror for higher download bandwidth:
>   https://www.gnu.org/order/ftp.html
>
> Here are the SHA256 and SHA3-256 checksums:
>
>   File: guile-3.0.12.tar.gz
>   SHA256 sum:   
> 7b3cc6a18ebbf29b8e0ca6265a0353ee92c42f52ce8fc9648bfc94cb8d99ae2a
>   SHA3-256 sum: 
> f4c7365fc3da640c1bfd7df7cedf85e594d749d4920605e7db38306f626f9eae
>
>   File: guile-3.0.12.tar.lz
>   SHA256 sum:   
> c95150da9e9aa91383b9ec9e738c9e14d1e9be0898e1fbed7108b8410963c5c4
>   SHA3-256 sum: 
> e702c1711461a607b383a1dc7ff184aac79362d9ee5a05b755199e94c0f1c556
>
>   File: guile-3.0.12.tar.xz
>   SHA256 sum:   
> 3054cf7d383eb94c3e197e0cfb1389c3da07d2259a918a4166eb257badba5359
>   SHA3-256 sum: 
> e0d68949106dbee240dc1eac73518ed00fc8f45d6a1b408f7cbe1e815a79c295
>
> Verify the SHA256 checksum with either sha256sum, sha256, or
> 'shasum -a 256'.
>
> Verify the SHA3-256 checksum with 'cksum -a sha3 -l 256 --base64'
> from coreutils-9.8.
>
> Use a .sig file to verify that the corresponding file (without the
> .sig suffix) is intact.  First, be sure to download both the .sig file
> and the corresponding tarball.  Then, run a command like this:
>
>   gpg --verify guile-3.0.12.tar.gz.sig
>
> The signature should match the fingerprint of the following key:
>
>   pub   rsa2048 2020-08-12 [SC]
>         295C 0246 4AC1 92F1 FFDD  7550 FCC0 88CE 07A0 4DAE
>   uid           [ unknown] Olivier Dion <[email protected]>
>         CDDE 1014 0122 A985 49D5  0E9A 9DD8 36FE C695 1090
>
> If that command fails because you don't have the required public key,
> or that public key has expired, try the following commands to retrieve
> or refresh it, and then rerun the 'gpg --verify' command.
>
>   gpg --recv-keys 295C02464AC192F1FFDD7550FCC088CE07A04DAE
>
> As a last resort to find the key, you can try the official GNU
> keyring:
>
>   wget -q https://ftp.gnu.org/gnu/gnu-keyring.gpg
>   gpg --keyring gnu-keyring.gpg --verify guile-3.0.12.tar.gz.sig
>
> This release is based on the guile git repository, available as
>
>   git clone https://https.git.savannah.gnu.org/git/guile.git
>
> with commit 970d6dcc0e54d874b6f57328ab3e2770e05a0a5b tagged as v3.0.12.
>
> For a summary of changes and contributors, see:
>
>   https://gitweb.git.savannah.gnu.org/gitweb/?p=guile.git;a=shortlog;h=v3.0.12
>
> or run this command from a git-cloned guile directory:
>
>   git shortlog v3.0.11..v3.0.12
>
> This release was bootstrapped with the following tools:
>   Autoconf 2.69
>   Automake 1.17
>   Libtool 2.4.7
>   Gnulib stable-202601
>   Makeinfo 6.8
>
> NEWS:
>
> * Notable changes
>
> ** Prettify compiler warnings à la GCC
>
>   Also diagnostic outputs can be controlled with the
>   `current-diagnostic-flags' parameter or with the
>   `--diagnostic-flags=FLAGS' when using `guild'.  When invoking the
>   toolchain directly, the prefered way is to pass:
>
>     #:opts (#:diagnostic-flags (flags ...))
>
>   instead of relying on `current-diagnostic-flags'.
>
>   Warnings can also be promoted to errors using the `-Werror[=WARNING]'
>   switch to `guild compile'.  Compilation can also fails using the
>   `-Wfatal-errors' switch.
>
> ** Circular imports that lead to `unbound-variable' are now better reported
>   (<https://codeberg.org/guile/guile/issues/250>)
>
> ** File I/O are now more responsive to asyncs
>
> ** New `scm_atfork()' C procedure
>
> ** Linux support for `clone' and `'unshare' system calls
>
> ** `eval-in-sanbox' no longer has a continuation barrier
>
> ** The `guild compile' script now accept `-C' and `--load-compiled-path=DIR' 
> options
>   (<https://codeberg.org/guile/guile/issues/131>)
>
> ** The "maybe-unused" procedure property now work on lexically scoped lambdas
>
> ** "Letify" conditional branches during expansion
>
> The expander now `letify' arms of a conditional.
>
> For example, this used to be illegal:
>
>  `(if x (begin (define y 1) y) (begin (define z 2) z))'
>
> but now it expands to:
>
>   `(if x (let () (define y 1) y) (let () (define z 2) z))'
>
> which is legal.
>
> ** Compact layout for syntax object
>
> This statically reduce the heap usage of read-syntax by 40%.
>
> ** Better reader errors reporting
>
> - read-error of improper lists in literal vectors/bytevectors.
>
> - vector elements are now not stripped from their annotation
>
> - error location is now reported from the beginning of the expression
>   instead of the end.
>
> ** More aggressive constant folding for numeric primitives
>    (<https://codeberg.org/guile/guile/issues/137>)
>
> The partial evaluator now folds many more numeric primitives at compile
> time when all arguments are constants.
>
> ** Better CPS dead-code elimination for equivalent constant-return branches
>
> The CPS optimizer now recognizes branches that all return the same
> constant and merges them, even through trivial value-forwarding
> continuations.  Contradictions such as `(and (number? x) (string? x))'
> can now compile down to a single constant return path.
>
> ** Guile provided modules named `internal' or beneath `internal' are internal
>
> Any Guile provided module whose name's final symbol is `internal' or has
> `internal' before it, like (x internal) or (x internal y) is an
> `internal'' module, meaning that it may change backward incompatibly or
> be removed in any release.
>
> * New interfaces and functionality
>
> ** New %load-hook-with-arguments procedure
>
> This can be used in place of `%load-hook`.  Extra arguments such
> as `#:depth` are applied to the hook, exposing more details about the
> loading of modules.  More specifically, the `#:depth` keyword argument
> is used to show the depth level of the module being load in the output
> when setting `%load-verbosely-with-arguments` to #t, which makes it
> easier to inspect which module caused others to be loaded.
>
> When overriding the default `%load-hook-with-arguments` procedure, you
> should use the signature below to ensure forward compatibility:
>
> (define* (%load-hook-with-arguments file #:key (depth 0) #:allow-other-keys)
>  ...)
>
> ** Guile now supports SRFI-253 and SRFI-273
>
> Guile now provides SRFI-253 (Data (Type-)Checking) value/type checking
> operations under the module (srfi srfi-253).
>
> Guile also now provides SRFI-273 (Extensions to Data (Type-)Checking)
> under the (srfi srfi-273) module.
>
> ** New `endianness' argument to {read,write,make,parse}-c-struct
>
> The procedures `make-c-struct' and `parse-c-struct', as well as the
> macros `read-c-struct' and `write-c-struct', from the `(system foreign)'
> module, now accept an optional argument `endianness', making it possible
> to decode/encode C data-structure that are not native to the host.
>
> ** New (srfi srfi-235) module
>
> This module implements "combinators" as specified in
> <https://srfi.schemers.org/srfi-235/srfi-235.html>.
>
> ** New history values à la Common Lisp
>
> When REPL history is enabled, it is now possible to reference the last 3
> inputs form, output values and output grouped values with `$+ $++ $+++',
> `$* $** $***' and `$/ $// $///' respectively.
>
> ** New syntax `with-modules' for lexically-scoped imports
>
> `with-modules' imports module bindings into a lexical scope for its
> body expressions.  It supports the same specification options as
> `use-modules' (`#:select', `#:hide', `#:prefix', `#:renamer').  See
> "Using Guile Modules" in the manual.
>
> ** Unicode Data updates to 17.0.0.
>
> SRFI-14 and the 'digit-value' procedure of R7RS-small can now handle new
> characters introduced in Unicode 17.0.0.
>
> ** New debugging procedure: `peek-error', with alias `pke'
>
> Same as peek but outputs to the current-error-port.
>
> ** The `substring/*' functions' start and end arguments are now optional
>
> The start and end arguments are now optional for `substring',
> `substring/copy', `substring/read-only', and `substring/shared` are now
> optional, defaulting to zero and the length of the string respectively,
> as with many SRFI-13 functions.
>
> ** `scm_dynwind_deref_free' has been added to free a pointer indirectly
>
> * Bug fixes
>
> ** Fix missing type inferrence for floor/ceil functions
>   (<https://bugs.gnu.org/82219>)
>
> ** Sometimes `(- 0.0)' returns `0.0' instead of `-0.0'
>   (<https://codeberg.org/guile/guile/issues/310>)
>
> ** Export and document `weak-vector-length'
>
> ** `eval' does not have a continuation barrier anymore
>   (<https://codeberg.org/guile/guile/issues/290>)
>
> ** getuid(2) and friends did not raise system error on invalid identities on 
> GNU/Hurd
>   (<https://codeberg.org/guile/guile/issues/283>)
>
> ** R7RS cond-expand now accept R6RS interfaces for `library'
>   (<https://codeberg.org/guile/guile/issues/78>)
>
> ** Fix inconsistent behavior of primitive-fork
>   (<https://codeberg.org/guile/guile/issues/269>)
>
> When using `primitive-fork', Guile will try to reach a quiescent state
> by terminating the signal delivery and the finalizer threads.
>
> However, just after this, Guile is calling `scm_all_threads' to
> determine if the user spawned other threads, emitting warning about
> incompatibility with respect to fork(2).
>
> This result in memory allocations by the GC, which can result in a
> garbage collection.  The GC might then notify about finalizers to run,
> which result in re-spawning the finalizer thread.
>
> At this point, Guile failed to reach a quiescent state and the result is
> undefined behavior.
>
> Other behaviors are observable.  For example, the signal delivery thread
> might be in the STOPPING state in the child, leading to abort.
>
> All of these are fixed by making stronger guaranteed about worker
> threads lifetime.
>
> ** `eval' does not have a continuation barrier anymore
>   (<https://codeberg.org/guile/guile/issues/290>)
>
> ** getuid(2) and friends did not raise system error on invalid identities on 
> GNU/Hurd
>   (<https://codeberg.org/guile/guile/issues/283>)
>
> ** R7RS cond-expand now accept R6RS interfaces for `library'
>   (<https://codeberg.org/guile/guile/issues/78>)
>
> ** Fix flock(2) not restarting on EINTR
>
> ** Fix relative include from `include' form
>    (<https://codeberg.org/guile/guile/issues/245>)
>    (<https://bugs.gnu.org/66046>)
>
> ** Fix missing mutable bits for record type module-type
>    (<https://bugs.gnu.org/81566>)
>
> This allows to use `record-modifier' on `module-type'.
>
> ** Fix warning when using raise from (rnrs exceptions)
>    (https://codeberg.org/guile/guile/issues/232)
>
> ** Fix dotted-circle combining character literals
>
> The Scheme reader wrongly assume the offset of the dotted-circle in the
> read token.  This bug was not present in the C reader.
>
> ** Fix CPS lowering of string-ref on shared-strings
>    (<https://codeberg.org/guile/guile/issues/231)
>
> ** O(n²) behavior on the SRFI-41 streams constructed by deeply nested of 
> `stream-append'
>    (<https://codeberg.org/guile/guile/issues/238>)
>
> ** Display and write of inspect meta-command were not working
>
> ** Add missing implementation of program-arities in (system vm program)
>   (https://codeberg.org/guile/guile/issues/55)
>
> Also remove from the documentation the never implemented
> `scm_program_arities' C function.
>
> ** Fix hash-count not working on weak hash tables
>   (https://codeberg.org/guile/guile/issues/43)
>
> ** Fix fast path in signed bytevector two's-complement handling
>
> When signed bytevector accessors convert negative values using two's
> complement, an internal helper can use a fast path for small widths. A
> bits-versus-bytes comparison error prevented that fast path from being
> taken.
>
> ** Bogus format warning with nested list for `~{~}'
>   (<https://codeberg.org/guile/guile/issues/138>)
>
> ** Inverted boundary check in `read-c-struct' and `write-c-struct'
>    (<https://codeberg.org/guile/guile/issues/128>)
>
> ** Incorrect predicate inferer of `integer?'
>    (<https://codeberg.org/guile/guile/issues/77>)
>
> ** Macro hygiene issue with identifier resolution across modules
>    (<https://codeberg.org/guile/guile/issues/120>)
>
> ** Segfault on write to immutable bytevector
>    (<https://codeberg.org/guile/guile/pulls/114>)
>
> ** Cross-compiling Guile produces .go files with the right word size
>    (<https://codeberg.org/guile/guile/issues/88>)
>
> ** `guile-snarf' now correctly handles arguments containing `='
>
> Previously, arguments like `-Dfoo=bar' would be incorrectly split due to
> improper quoting, causing the preprocessor to fail.
>
> ** `string->number' no longer throws for extreme exponents
>    (<https://codeberg.org/guile/guile/issues/96>)
>
> Numbers with exponents too large to represent now return `+inf.0' or
> `-inf.0', and exponents too small return `0.0' or `-0.0', instead of
> signaling an error.  This also fixes `string->symbol' failing for
> symbols resembling numbers with large exponents like "9f470".
>
> ** SRFI-19: 'date->string' directive ~I and ~l now print 12 for time 00:XX
>    (<https://codeberg.org/guile/guile/issues/102>)
>
> ** Invalid locale encoding no longer causes crash
>    (<https://codeberg.org/guile/guile/issues/98>)
>
> ** Integer division operators of flonum don't accept non-integer valued 
> operands
>    (<https://codeberg.org/guile/guile/issues/157>)
>
> ** `u8-list->bytevector' now guards against concurrent list modification
>    Previously that could cause a crash.
>
> ** `getaddrinfo' now requires a string service when name is #f as documented
>
> Previously it would just attempt the call with a NULL service.
>
> ** `scm_from_latin1_symboln' correctly handles symbols with embedded #\nul
>
> Previously it might not notice the difference between two symbols of the
> same length with the same characters before the null, e.g. #{happy\x0;one}
> and #{happy\x0;few}.
>
> ** `xsubstring' and `string-xcopy!' should produce correct values
>
> Previously they might return the wrong answer, for example producing
> "abcabca" for (xsubstring "abcdefg" 0 7 3 6) when the correct answer is
> "defdefd".
>
> ** `scm_take_locale_stringn' now always frees the pointer
>
> Previously it, and by extension `scm_take_locale_string' would not free
> the pointer if decoding failed.
>
> ** `scm_strndup' now only copies up to strlen(str) when `n' is greater
>
> Previously it would always copy `n' bytes.
>
> * Documentation updates
>
> ** Document applicable structs
>
> ** Document the legacy `dynamic-*' API
>
> The legacy dynamic linking API (`dynamic-link', `dynamic-object?',
> `dynamic-pointer', `dynamic-func', and `dynamic-call') is now documented
> in a new "Legacy Dynamic Linking API" section.  This API predates the
> `(system foreign-library)' module but is still supported.  The
> documentation includes a correspondence table between the old and new
> APIs.
>
> ** `string->number' behavior for extreme exponents
>
> The `string->number' procedure now returns infinity or zero for numbers
> with exponents outside the representable range, improving R6RS compliance.
>
> ** Fix documentation of logand, logior and logxor to reflect reality.
>
> Previously, the documentation incorrectly implies that logand, logior
> and logxor must accept at least 1 argument. However, these procedures
> can be called with 0 arguments and return their corresponding identity
> element.
>
> ** When `lenp` is NULL `scm_to_stringn' always uses a long enough terminator
>
> Previously it, and the functions that depend on it, terminated strings
> with a single zero byte, even for encodings like UTF-32 and UTF-16 that
> require a larger terminator.  The current implementation may sometimes
> use a slightly larger terminator than necessary, but never smaller.
>
> ** `strftime' now notices and rejects format strings containing a #\nul
>
> Previously it didn't, and only used the prefix before the first #\nul.
>
> ** `string-trim' `string-trim-right` `string-trim-both` trim *all* whitespace
>
> When given no predicate, they should now correctly trim all Unicode
> whitespace.  Previously they only trimmed ASCII whitespace, so
> (string-trim "\u2003") would do nothing.
>
> * Build system changes
>
> ** The new `(test-suite data)` module, provides random test strings
>
> Thanks,
> Olivier

Attachment: signature.asc
Description: PGP signature

Reply via email to