Skip to content

Releases: dymmond/asyncz

Version 0.14.2

12 Nov 19:30
a59ab71

Choose a tag to compare

Changed

  • Replaced ChildLilya sub‑app mounting with Router‑based composition for a cleaner and more maintainable architecture.
  • AsynczAdmin now uses a single composed Lilya app that mounts /login and /logout at root while serving the dashboard under its prefix.
  • Simplified include_in() method — mounts the composed app at / for proper reverse‑proxy behavior.
  • Improved url_prefix normalization to avoid double slashes and ensure consistent route generation.
  • AsyncZ Dashboard is now fully reverse‑proxy agnostic and works seamlessly behind Nginx or ASGI mounts.

Version 0.14.1

11 Nov 18:13
0fb33dc

Choose a tag to compare

Fixed

  • Duplicate dashboard URL prefixing (/dashboard/tasks/dashboard) when deployed behind Nginx or under an ASGI mount.
  • Nested HTMX table container causing duplicate #tasks-table and incorrect hx-get paths.

Changed

  • get_effective_prefix() now prefers the configured dashboard_url_prefix and falls back to root_path only when configured as /.
  • All HTMX and action URLs in the dashboard are now relative to the current path for reverse-proxy compatibility.
  • Updated templates to remove hardcoded /dashboard from links and actions.
  • AsyncZ Dashboard is now fully reverse-proxy ready (works with X-Forwarded-Prefix and ASGI mounts).

Version 0.14.0

10 Nov 18:38
dbcbfe3

Choose a tag to compare

Added

  • New settings module using ASYNCZ_SETTINGS_MODULE.
  • New Asyncz client.
  • Asyncz Dashboard allowing to have a UI vision of your current scheduler and tasks.
  • Introduced AsynczAdmin class for embedding the dashboard directly into Lilya apps.
  • Added optional login and session-based authentication through SimpleUsernamePasswordBackend.
  • Implemented AuthGateMiddleware to protect dashboard routes and handle HTMX redirects.
  • Added CORS and session middleware support in AsynczAdmin with customizable options.
  • Integrated DashboardConfig access via global settings (settings.dashboard_config).
  • Introduced detailed documentation and examples for custom AuthBackend implementations.
  • Support for Python 3.14

Changed

  • Updated internals to allow multiple languages for documentation.
  • Documentation structure.

Version 0.13.4

26 Aug 21:08
8aa35cd

Choose a tag to compare

Changed

  • Dropped support for Python 3.9 to match the whole ecosystem.

Version 0.13.3

26 Jul 01:57
0.13.3
6cbc36a

Choose a tag to compare

Fixed

  • Different timezones in triggers.

Version 0.13.2

22 Apr 14:29
22fd068

Choose a tag to compare

Added

  • Compatibility with Python 3.13.

Version 0.13.1

07 Jan 16:12
0.13.1
bfd9409

Choose a tag to compare

Added

  • FileStore was added (simple synchronization via files in a directory).
  • with_lock was added to asyncz.file_locking.

Fixed

  • SQLAlchemyStore didn't pass extra arguments to create_engine.

Version 0.13.0

31 Dec 18:02
0.13.0
1cb909f

Choose a tag to compare

Added

  • Multi-Processing safe mode.

Fixed

  • and was mapped to the wrong trigger.
  • Some defaults had wrong module pathes.
  • Missing export of NativeAsyncIOScheduler from schedulers.

Version 0.12.0

09 Oct 07:03
0.12.0
79a17f5

Choose a tag to compare

Added

  • shutdown trigger.
  • Tasks can have a lifecycle.
  • NativeAsyncIOScheduler with async start/shutdown methods and some optimizations.

Fixed

  • Raise correct exception when maximal instances are reached.
  • Task instances are now per scheduler not per executor.

Changed

  • Invalid executor init kwargs are not ignored anymore.

Removed

  • MaxInterationsReached exception. It had no use and was broken from design.

Version 0.11.0

02 Aug 07:55
6e842cb

Choose a tag to compare

Added

  • Allow submitting paused tasks.
  • Allow changing in-place attributes of tasks when submitting with add_task.
  • Allow selecting logger (classical, loguru).
  • Allow naming schedulers with an extra logger name.

Fixed

  • remove_all_tasks didn't check the store of tasks when pending_tasks was used (stopped scheduler).

Changed

  • Replace UndefinedType with Undefined. Shim provided for backwards compatibility.
  • add_task has now more arguments with undefined as default.
  • pending_tasks has now no more store alias in it.
  • tzlocal is now optional.
  • Tasks use the timezone of the scheduler for their triggers which require a timezone.
  • loguru is now optional.