Debian Codegraph @

NEWS

raw
1 libdex 1.1.0
2 ============
3
4 This is a stable release for GNOME 50.
5
6 * No changes since 1.1.rc
7
8 libdex 1.1.rc
9 =============
10
11 This is a release candidate for 1.1
12
13 * Require GLib 2.87.0
14
15 libdex 1.1.alpha
16 ================
17
18 This is an alpha release for the upcoming GNOME 50
19
20 * New D-Bus support with DexDBusInterfaceSkeleton for dispatching
21 method invocations in fibers, allowing async/await in D-Bus handlers
22 * New dex_bus_own_name_on_connection() for managing bus name ownership
23 * New DexFutureListModel for integrating futures with GListModel
24 * Python asyncio integration allowing Dex.Future to be used with
25 async/await in Python code
26 * New runtime version query API: dex_get_major_version(),
27 dex_get_minor_version(), and dex_get_micro_version()
28 * New GIO wrappers: dex_file_create(), dex_data_input_stream_read_line(),
29 dex_find_program_in_path(), dex_mkdir_with_parents(), and g_unlink()
30 * Improved Visual Studio and clang-cl build support with C11 atomic support
31 * Thread pool scheduler now falls back to POSIX backend for AIO when necessary
32 * io_uring context reuse improvements
33 * Extensive documentation improvements with gi-docgen annotations
34 * Various bug fixes and memory leak fixes
35
36
37 libdex 1.0.0
38 ============
39
40 Libdex has now reached our ceremonial 1.0 for GNOME 49.
41
42 Thanks to everyone who has helped over the past couple of years
43 to make that happen.
44
45
46 libdex 0.11.1
47 =============
48
49 This is a beta release for the upcoming GNOME 49
50
51 * Ensure a full-barrier before giving callers access to a newly
52 created thread pool scheduler via `get_default()`
53 * Various documentation additions and fixes
54 * Add async variant of `g_file_query_file_type()`
55 * Add async variant of `g_file_move()`
56 * Depend on gio-unix when not on Windows
57
58 libdex 0.11.0
59 =============
60
61 This is an alpha release for the upcoming GNOME 49
62
63 * New dex_thread_spawn() and dex_thread_wait_for() APIs which make
64 it easier to integrate with a non-dex scheduled thread.
65 * Add dex_value_dup_object()
66 * Add dex_async_initable_init()
67 * Add dex_dbus_connection_close()
68 * Add dex_file_set_attributes()
69 * Various testsuite improvements
70
71 libdex 0.10.0
72 =============
73
74 * Discard dependent futures if fiber was cancelled during await.
75 * Discard dependent futures when finalizing DexBlock.
76 * Build fix for macOS
77
78 libdex 0.9.1
79 ============
80
81 * Improve build checks for libatommic
82 * Add dex_promise_resolve_boxed()
83 * Improve cancellation of fibers
84 * Use libucontext when necessary
85
86 libdex 0.9.0
87 ============
88
89 This is an unstable release for GNOME 48.alpha
90
91 * Support for OpenBSD
92 * Raise default mmap stack size to 128kb for fibers
93 * Add await/resolve API for file-descriptors
94 * New dex_return_error_if_fail() precondition macro similar to
95 g_return_val_if_fail()
96 * Additional GIO wrapper functions including dex_file_delete() and
97 dex_file_replace_contents_bytes()
98 * Build system improvements
99
100 libdex 0.8.1
101 ============
102
103 This is a stable release for GNOME 47.0
104
105 * Fix disabling of assertions in production builds
106
107 libdex 0.8.0
108 ============
109
110 This is a stable release for GNOME 47.0
111
112 * Various build system improvements to help catch correctness issues.
113 * Increased assertions in fibers to help Coverity discover usage patterns.
114 * Avoid releasing discarded future until chained future is released.
115 * Fix overflow in extremely large timeout calculation.
116 * Various introspection fixes.
117 * Fix inclusion from C++.
118
119 libdex 0.7.1
120 ============
121
122 This is an beta release for GNOME 47.beta
123
124 * Allow disabling stack protector on systems that do not support it
125 * Always use ucontext.h on macOS to simplify integration there
126
127 libdex 0.7.0
128 ============
129
130 This is an alpha release for GNOME 47.alpha
131
132 * Various build fixes for macOS 14+
133 * dex_future_new_true() and dex_future_new_false() convenience macros
134 * Avoid possible linking of asm.S on Linux so that we do not make the
135 GCC annobin checker unhappy.
136 * Allow a NULL GObject for dex_future_new_take_object().
137
138 libdex 0.6.0
139 ============
140
141 This is a stable release for GNOME 46
142
143 * No changes since 0.5.1
144
145 libdex 0.5.1
146 ============
147
148 * Add convenience API for checking exact future status without enum
149 * Lots of documentation additions
150
151 libdex 0.5.0
152 ============
153
154 This is a beta release for GNOME 46.
155
156 * Various API now warns about unused results to help avoid unintended
157 leaks of futures.
158 * dex_file_query_exists() is a new wrapper for g_file_query_exists()
159 * Documentation fixes
160
161 libdex 0.4.3
162 ============
163
164 This release contains a few more followup fixes for fallback scheduling,
165 particularly on Linux systems without io_uring. We've also enabled CI
166 to test this situation more closely as we're most likely to run into it
167 on distribution build systems running older Linux kernels.
168
169 * New build options for disabling io_uring and eventfd support which
170 enable testing more fallback paths in CI.
171 * Worker threads will now use a GMainLoop instead iterating GMainContext
172 manually.
173 * An idle is used for scheduling work items directly onto a worker thread
174 instead of going through the global work queue when not already running
175 on a worker thread. Otherwise the lock-free work queue is used.
176 * A fix for a potential deadlock when failing to create an additional
177 worker thread.
178 * Fix a release build warning.
179
180 libdex 0.4.2
181 ============
182
183 This release contains an important fix for running on systems with
184 io_uring and recent Linux kernels.
185
186 * io_uring AIO backend will now attempt to create the io_uring on the
187 target worker thread so that IORING_SETUP_SINGLE_ISSUER may restrict
188 submissions correctly.
189 * Linux distributions may optionally disable liburing using the build
190 time option -Dliburing=disabled. In that case, the fallback of POSIX
191 IO with a thread-pool will be used.
192
193 libdex 0.4.1
194 ============
195
196 This release includes an important fix for how io_uring CQE are handled.
197
198 libdex 0.4.0
199 ============
200
201 This is the release for GNOME 45.
202
203 Changes in this release:
204
205 * Documentation fix
206
207 libdex 0.3.1
208 ============
209
210 This is the beta release for GNOME 45.
211
212 Changes in this release:
213
214 * A new "Infinite" future type which will never resolve or reject.
215 * The gio wrappers will now set debuggable names for their futures.
216 * A `dex_async_pair_set_cancel_on_discard()` function has been added which
217 ensures that the `GCancellable` will not be cancelled when the future
218 is discarded. This can help in situations where you might repeatedly
219 await on a future and do not want intermediate cancellation between
220 attempts to await.
221 * A `dex_input_stream_skip_async()` function has been added to wrap the
222 underlying GIO function.
223 * A `dex_future_disown()` function has been added which simplifies the
224 case where you want a future to run but are not interested in the result.
225
226 libdex 0.3.0
227 ============
228
229 This is the first alpha release for GNOME 45.
230
231 Changes in this release:
232
233 * Documentation updates
234 * pkg-config improvements
235 * Build system improvements for GIR
236 * Support for GVariant-based futures
237 * New Future-based wrappers for GDBusConnection
238 * The FD-based AIO API is now public, allowing for use of io_uring
239 on Linux kernels that support it. If unsupported, a threadpool
240 approach is used similar to GIO.
241 * Improvements to introspection for language bindings.
242 * You can now return NULL for a DexPromise expecting a GObject as
243 as a resolved value.
244 * DexFiber will now get static names associated with them when
245 used from C which points to the line of code. This is only enabled
246 when debugging is enabled for libdex through the use of macros.
247
248 libdex 0.2.0
249 ============
250
251 This is the first release intended for end-users.
252
253 Changes in this release:
254
255 * Followup fixes for building on mips
256 * Fixes for introspection gi-scanner
257 * Remove abstract type flag from DexFuture to satisfy GObject Introspection
258 rules about constructors.
259 * Many documentation/gi-annotation fixes
260 * Build system improvements
261 * Default to `-Dintrospection=enabled`
262
263 libdex 0.1.1
264 ============
265
266 Changes in this release:
267
268 * Fix soname versioning
269 * Documentation improvements
270 * Fix various GObject Introspection issues
271 * More backports for older GLib use
272 * Various ucontext fiber fixes for less-used architectures
273 * Fixes for various incorrect cast-align warnings
274 * Tweaks for better Forward portability
275 * Add some missing g_autoptr() definitions
276 * Add GCancellation integration to DexPromise
277
278 libdex 0.1.0
279 ============
280
281 This is an initial release of libdex meant for experimentation and testing.