Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-time-manager for 
openSUSE:Factory checked in at 2026-11-24 12:36:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-time-manager (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-time-manager.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-time-manager"

Tue Nov 24 12:36:09 2026 rev:12 rq:1399371 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-time-manager/ghc-time-manager.changes        
2025-12-05 16:56:34.608234837 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-time-manager.new.1340718/ghc-time-manager.changes
   2026-11-24 12:43:12.706109016 +0100
@@ -1,0 +2,101 @@
+Tue Oct 27 07:16:51 UTC 2026 - Peter Simons <[email protected]>
+
+- Update time-manager to version 0.5.2.
+  ## 0.5.2
+
+  * A timeout now fires on Windows under the old I/O manager, which is
+    still the default there. The timer was `GHC.Event.Windows`, WinIO's
+    own, so nothing ran the action unless the program used WinIO: warp
+    timed no connection out, and neither did anything else on top.
+    [#1139](https://github.com/yesodweb/wai/issues/1139)
+  * `tickle` extends a timeout by microseconds on Windows as it does
+    everywhere else.  It floored the value to a whole second there, which
+    meant a timeout under a second was never extended at all.
+
+  ## 0.5.1
+
+  * A renewed timeout compared nanoseconds with microseconds, so a timeout
+    renewed after its callback had been queued ran at once instead of being
+    rescheduled for the time it had just been given. Wrong since 0.4.0.
+    [#1134](https://github.com/yesodweb/wai/pull/1134)
+
+  ## 0.5.0
+
+  * BREAKING CHANGE: a `ThreadManager` no longer carries a `T.Manager`.
+    `newThreadManager` takes no argument, `forkManagedTimeout` and
+    `forkManagedTimeoutFinally` take the caller's, and `withHandle` and the
+    re-exports from `System.TimeManager` are gone.
+    [#1131](https://github.com/yesodweb/wai/pull/1131)
+  * Count a thread in `System.ThreadManager` from when it is forked rather
+    than from when it starts, with `forkManagedBy`, `reserveManaged`,
+    `takeReservation` and `countManaged`.
+    [#1128](https://github.com/yesodweb/wai/pull/1128)
+  * Keep counting the threads `stopAfter` stopped until they end.
+    [#1128](https://github.com/yesodweb/wai/pull/1128)
+  * `countManaged` throws `AssertionFailed` when a reservation has been taken
+    by a manager other than its own.
+    [#1128](https://github.com/yesodweb/wai/pull/1128)
+  * `forkManagedFinally` and `forkManagedTimeoutFinally` no longer swallow an
+    exception from the action; it ends the thread, after the cleanup has run.
+    [#1128](https://github.com/yesodweb/wai/pull/1128)
+  * Add `forkManagedUnmaskFinally`, so that every fork has a variant with a
+    cleanup.
+    [#1128](https://github.com/yesodweb/wai/pull/1128)
+
+  ## 0.4.0
+
+  * CHANGES IN BEHAVIOUR:
+    * `tickle` is rate-limited/debounced. The renewal is skipped unless a 
quarter
+      of the timeout (capped at one second) has passed since the timeout was 
last
+      registered or updated. This does mean a timeout _might_ run a bit earlier
+      than the last `tickle` would indicate, but never more than the maximum
+      debounce period.
+    * `cancel` completely stops the timeout, making it un`resume`able.
+      `resume` will only resume a timeout that has been `pause`d.
+    * Prior to this major version, the `Handle` could be reused to run more
+      timeout actions. Now, a timeout action will only ever run, at most, once.
+      After a timeout action has run, the `Handle` is turned off and won't be
+      `resume`able, necessitating a call to `register` to start a new timeout.
+
+    [#1109](https://github.com/yesodweb/wai/pull/1109)
+
+  ## 0.3.2
+
+  * Add `stopAfterWithResult`. 
[#1069](https://github.com/yesodweb/wai/pull/1069)
+
+  ## 0.3.1.1
+
+  * Added `README.md` file and improved documentation of modules and functions.
+    [#1057](https://github.com/yesodweb/wai/pull/1057)
+
+  ## 0.3.1
+
+  BUGFIXES:
+
+  * [#1055](https://github.com/yesodweb/wai/pull/1055)
+    * `resume` now acts as a `tickle` if the `Handle` isn't paused.
+      This is the same behaviour as before version `0.3.0`.
+    * `registerKillThread` now throws the `TimeoutThread` in a separate
+      thread, so as to not block the GHC's System TimerManager.
+      This does mean that `TimeoutThread` exceptions could technically
+      be thrown "out of order", but they will be more prompt.
+
+  ## 0.3.0
+
+  * [#1048](https://github.com/yesodweb/wai/pull/1048)
+    * New architecture. The backend is switched from the designated thread
+      to GHC's System TimerManager. From this version, this library is
+      just wrapper APIs of GHC's System TimerManager. Unlike v0.2 or
+      earlier, callbacks are executed at the exact time. System
+      TimerManager uses a PSQ (a tree) while v0.2 or earlier uses a list.
+      So, this version hopefully scales better.
+    * Deprecated functions: `stopManager`, `killManager` and `withManager'`.
+    * `tickle` sets the specified timeout from now.
+    * `pause` is now identical to `cancel`.
+    * `resume` is now re-registration of timeout.
+    * The signature of `withHandle` is changed.
+
+  This change also means that using this package only works with the threaded 
runtime.
+  The moment a timeout is registered on a non-threaded runtime, an exception 
will be thrown.
+
+-------------------------------------------------------------------

Old:
----
  time-manager-0.2.4.tar.gz

New:
----
  time-manager-0.5.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-time-manager.spec ++++++
--- /var/tmp/diff_new_pack.oMIWLJ/_old  2026-11-24 12:43:13.875158557 +0100
+++ /var/tmp/diff_new_pack.oMIWLJ/_new  2026-11-24 12:43:13.876158599 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-time-manager
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,35 @@
 
 
 %global pkg_name time-manager
-%global pkgver %{pkg_name}-%{version}
-Name:           ghc-%{pkg_name}
-Version:        0.2.4
+%bcond_with ghc_prof
+%bcond_with tests
+Name:           ghc-%pkg_name
+Version:        0.5.2
 Release:        0
+%global pkgver %pkg_name-%{version}
 Summary:        Scalable timer
 License:        MIT
-URL:            https://hackage.haskell.org/package/%{pkg_name}
-Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+URL:            https://hackage.haskell.org/package/%pkg_name
+Source0:        
https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-auto-update-devel
-BuildRequires:  ghc-auto-update-prof
 BuildRequires:  ghc-base-devel
-BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-containers-prof
-BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-rpm-macros >= 2.9.2
 BuildRequires:  ghc-stm-devel
-BuildRequires:  ghc-stm-prof
 ExcludeArch:    %{ix86}
+%if %{with ghc_prof}
+BuildRequires:  ghc-base-prof
+BuildRequires:  ghc-containers-prof
+BuildRequires:  ghc-stm-prof
+%endif
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-hspec-devel
+%if %{with ghc_prof}
+BuildRequires:  ghc-HUnit-prof
+BuildRequires:  ghc-hspec-prof
+%endif
+%endif
 
 %description
 Scalable timer functions provided by a timer manager and thread management
@@ -51,24 +61,27 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
 Summary:        Haskell %{pkg_name} library documentation
 Requires:       ghc-filesystem
 BuildArch:      noarch
 
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
 This package provides the Haskell %{pkg_name} library documentation.
 
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%package -n ghc-%pkg_name-prof
 Summary:        Haskell %{pkg_name} profiling library
-Requires:       ghc-%{pkg_name}-devel = %{version}-%{release}
-Supplements:    (ghc-%{pkg_name}-devel and ghc-prof)
+Requires:       ghc-%pkg_name-devel = %{version}-%{release}
+Supplements:    (ghc-%pkg_name-devel and ghc-prof)
 
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
 This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -p1 -n %pkg_name-%{version}
 
 %build
 %ghc_lib_build
@@ -76,6 +89,9 @@
 %install
 %ghc_lib_install
 
+%check
+%cabal_test
+
 %post devel
 %ghc_pkg_recache
 
@@ -86,10 +102,12 @@
 %license LICENSE
 
 %files devel -f %{name}-devel.files
-%doc ChangeLog.md
+%doc ChangeLog.md README.md
 
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files
 %license LICENSE
 
-%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif
 

++++++ time-manager-0.2.4.tar.gz -> time-manager-0.5.2.tar.gz ++++++
++++ 1960 lines of diff (skipped)

Reply via email to