Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-typst for openSUSE:Factory checked in at 2026-06-10 16:08:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-typst (Old) and /work/SRC/openSUSE:Factory/.ghc-typst.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-typst" Wed Jun 10 16:08:54 2026 rev:17 rq:1358465 version:0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-typst/ghc-typst.changes 2025-12-05 16:56:39.112423151 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-typst.new.2375/ghc-typst.changes 2026-06-10 16:13:43.151853450 +0200 @@ -1,0 +2,132 @@ +Mon Jun 1 20:06:59 UTC 2026 - Peter Simons <[email protected]> + +- Update typst to version 0.10. + ## 0.10 + + * Add --input option to cli for passing key-value pairs to the + evaluator (as can be done with `typst`). + + * Use optparse-applicative for CLI option parsing. + + * Add `inputs` parameter to `evalTypst`. + + * Remove `sysModule` from `Module.Standard` [API change]. + We now generate `sys` in `initialEvalState`, since only then + do we know the inputs. + + * Properly locate package root for imports (#98). + We need to go up the directory hierarchy til we find typst.toml. + + * Use released version of typst-symbols-0.2 with new typst-symbols API. + + * app/Main: remove unused options. + + ## 0.9.0.1 + + * Fix typo that caused close single quote to be parsed as double + (jgm/pandoc#11463). + + * Change name of positional param for bibliography to 'sources'. + (From 'source'). Per typst documentation. + + * Fix upper bound for base (< not <=). + + ## 0.9 + + * Tweak parsing of list items and headings to match Typst more closely + (#92, #58, #90, #92, Norbert Pozar). + + - Handles trivia (whitespace, comments) as Typst (see #92). + - Replaces `stLineStartCol` by `stAtStart`: `stAtStart` is set to `True` + after an end of line, at the beginning of content or at the beginning + of a list item (since list items can be nested), and set to `False` + after any non-trivia markup. This appears simpler and more robust, + especially after comments. + - Removes `stIndent` state. + Indented block is handled completely in `pIndented` parser and does + not rely on `stIndent` state. + + * Support `func()` for content elements in submodules (math etc.) + (#57, #95, Norbert Pozar). `func()` method now element names with + multiple fragements like `math.attach`. + + * Match raw block handling of Typst 0.14 (#94, Norbert Pozar). + This commit should produce the same result. + + - Automatically dedent raw text based on the shortest indent of the raw + code. In particular, do not use `stIndent` for this since Typst does not + dedent the code based on the indentation of the containing list item. + - Accept any identifier-like language tags. + - Strip the last line if it is only whitespace. + - If the last line's nonwhitespace chars ends with `, strip one + space from the end. + + * Tweak comment parsing to match Typst (#93, Norbert Pozar). + + - Line comments inside block comments are not parsed as line comments + anymore (partially addresses #90). + - Block comments do not need to be closed by */ and can be active until + the end of file (partially addresses #90). + - Error is properly reported when unmatched */ appears instead of + misparsing this as a beginning of strong elem. + - Stop line comments from eating the end of line character + This is important for correctly issuing parbreaks and spaces that + follow line comments and a preparation for simpler handling of indented + blocks. + + * Hide `#let test..` definition from test parse output (Norbert Pozar). + After this change the test function `#let test(...` is only injected + at evaluation and its parsed AST no longer appears in `.out` files. + Other advantages: + + - Source locations match the input file. + - Future changes to AST will not show up in every output. + - Easier to read test output. + - 5% faster test run (5s -> 4.75s) + + * Simpler tracking of bracket nesting in markup (Norbert Pozar, #86). + Keep the count of unclosed brackets in `PState` instead of using a + `between` parser to prevent exponential parsing time due to backtracing. + + * Improve handling of control flow statements at loop block boundaries + (Norbert Pozar). + + - `break` and `continue` now only affect the innermost `for` and `while` + loop by resetting `evalFlowDirective` at the loop end. + - `return` now returns even when used inside a loop: it stops the loop the + same way `break` does but its state is not reset at the end of the + loop so propagates up to the function boundary. + + * `array.join()`: do not prepend separator for length 1 arrays (Norbert + Pozar). Separator is now only inserted when the array has at least 2 + elements. + + * Support nested destructuring binds and expressions in LHS of assignments + (Norbert Pozar). + + * Parse (..expr) as Array (Norbert Pozar, #47). + Trailing comma is not required in an array expression with single spread + operator. Also spreads `none`. + + * Support nested destructuring (Norbert Pozar). + Typst supports nesting of destructuring binds both in array + destructuring `(_, (_, _), _)` and dictionary destructuring + `(x: (_, _), y)`. This commit adds support for such nested + destructuring of arbitrary depth. + + Changes AST for `BindPart` to allow for recursion [API change]. + + - `Simple (Maybe Identifier)` -> `Simple Bind` + - `WithKey Identifier (Maybe Identifier)` -> `WithKey Identifier Bind` + + It also disallows "unnamed patterns" when destructuring from a + dictionary (to match Typst behavior): + + ```typst + #let (_, x) = (x: 1, y: 1) + // ^ unnamed + #let ((a, b), x) = (x: 1, y: 1) + // ^^^^^^ unnamed + ``` + +------------------------------------------------------------------- Old: ---- typst-0.8.1.tar.gz New: ---- typst-0.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-typst.spec ++++++ --- /var/tmp/diff_new_pack.dfJEb6/_old 2026-06-10 16:13:45.439948269 +0200 +++ /var/tmp/diff_new_pack.dfJEb6/_new 2026-06-10 16:13:45.443948435 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-typst # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.1 +Version: 0.10 Release: 0 Summary: Parsing and evaluating typst syntax License: BSD-3-Clause ++++++ typst-0.8.1.tar.gz -> typst-0.10.tar.gz ++++++ /work/SRC/openSUSE:Factory/ghc-typst/typst-0.8.1.tar.gz /work/SRC/openSUSE:Factory/.ghc-typst.new.2375/typst-0.10.tar.gz differ: char 14, line 1
