Skip to content

Releases: northpowered/temporal-boost

2.0.2

24 Sep 06:32
2109352

Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

2.0.1

21 Jul 08:41
40c5b20

Choose a tag to compare

Release Notes — Temporal Boost 2.0.1

🚀 Major Changes

Project Restructure

  • All Temporal-related logic is now under temporal_boost/temporal/ (client, config, runtime, worker).
  • New workers/ package with dedicated ASGI workers (uvicorn, hypercorn, granian) and Temporal worker.
  • Deprecated and internal modules removed (connect.py, core.py, logger.py, schemas.py, tracing.py, old worker.py).
  • Examples updated to reflect the new structure.

Configuration via Environment Variables

  • All client and worker configuration is now handled via environment variables (see temporal_boost/temporal/config.py).
  • No more direct passing of endpoint, namespace, or logger config to BoostApp — use env vars instead.

New Builders and Extensibility

  • TemporalClientBuilder, TemporalWorkerBuilder, and runtime creation helpers for advanced customization.
  • Flexible runtime and client configuration for advanced use cases.

ASGI Worker Registry

  • Support for multiple ASGI worker types (uvicorn, hypercorn, granian) with auto-detection.
  • Easy integration of FastAPI or any ASGI app as a worker.

DevOps and Tooling

  • Updated dependencies, new pre-commit hooks, VSCode tasks, and improved development workflow.
  • Poetry 2.x support.

Tests Removed

  • All test files and fixtures have been removed for this release. (Tests will be reworked in future versions.)

⚠️ Breaking Changes

  • Old API for BoostApp initialization and worker registration is no longer supported.
  • All configuration must now be provided via environment variables or new builder classes.
  • Internal worker for documentation is deprecated/removed.
  • All test-related files and fixtures are removed from the repository.

🛠 Migration Guide

  1. Update Imports

    • Use new modules: temporal_boost.temporal and temporal_boost.workers.
  2. Configuration

    • Move all configuration (endpoint, namespace, TLS, metrics, etc.) to environment variables.
    • See temporal_boost/temporal/config.py for all available options.
  3. Worker Registration

    • Replace old worker registration with the new builder-based approach:

      app.add_worker("worker_1", "queue_1", activities=[...], workflows=[...])
    • For ASGI apps, use:

      app.add_asgi_worker("asgi_worker", fastapi_app, "0.0.0.0", 8000, worker_type="auto")
  4. Remove Internal Worker Usage

    • The internal documentation worker is no longer available.
  5. Update Examples

    • See the updated examples/ directory and documentation for new usage patterns.

🆕 New Features

  • Environment-based configuration for all core settings.
  • Pluggable ASGI worker types (uvicorn, hypercorn, granian) with auto-detection.
  • Improved modularity and extensibility for advanced users.
  • Cleaner, more maintainable codebase.

2.0.0-rc.2

29 Mar 14:05

Choose a tag to compare

2.0.0-rc.2 Pre-release
Pre-release

What's Changed

fix: reorganize CLI runner and update imports by @dmastapkovich in #33

  • Replaced legacy _import_app_object and runner functions with updated process_runner usage.
  • Updated CLI entry point to use "temporal_boost.cli.runner:cli_app" and removed main.py.
  • Cleaned up code structure and improved import handling for module resolution.

2.0.0-rc.1

28 Mar 12:53
f7d4cd0

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v2.0.0

v1.2.0

20 Feb 13:17
86c8e66

Choose a tag to compare

What's Changed

  • Update pydantic converter by @northpowered in #31
    Updated pydantic converter for pydantic V2, like SDK v.1.10.0 for backward compability for SDK < v.1.10.0
    Support of Pydantic v1 dropped

Full Changelog: v1.1.0...v1.2.0

v1.1.0

17 Feb 15:14

Choose a tag to compare

What's Changed

Fixed:

#27 - Installation fail on Python3.13
#24 - Troubles with run all CLI method

New Contributors

Full Changelog: v1.0.5...v1.1.0

Fix: imports

12 Feb 09:54
f1d30fc

Choose a tag to compare

v1.0.5

Bump version

Added py.typed (fx)

31 Jan 14:36
d7353b2

Choose a tag to compare

  • Added py.typed for next releases

Full Changelog: v1.0.3...v1.0.4

v1.0.3

14 Nov 07:33
338f46c

Choose a tag to compare

Added add_async_runtime method for appending corutines, wrapped in asyncio.run()

Example:

class TestAsyncRuntime:
    """
        Class must implement `run` method
    """
    async def _test_async_runtime(self):
        while True:
            print(random.random())
            await asyncio.sleep(1)
    def run(self):
        asyncio.run(self._test_async_runtime())

app.add_async_runtime("test_async", runtime=TestAsyncRuntime())

v1.0.2

02 Sep 07:54
86c0a69

Choose a tag to compare

v1.0.2

  • Fix ASGI worker startup
  • Rename internal worker to internal_boost