Releases: northpowered/temporal-boost
Releases · northpowered/temporal-boost
2.0.2
What's Changed
- feat: add FastStream worker integration to temporal-boost by @dmastapkovich in #35
Full Changelog: v2.0.1...v2.0.2
2.0.1
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, oldworker.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
BoostAppinitialization 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
-
Update Imports
- Use new modules:
temporal_boost.temporalandtemporal_boost.workers.
- Use new modules:
-
Configuration
- Move all configuration (endpoint, namespace, TLS, metrics, etc.) to environment variables.
- See
temporal_boost/temporal/config.pyfor all available options.
-
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")
-
-
Remove Internal Worker Usage
- The internal documentation worker is no longer available.
-
Update Examples
- See the updated
examples/directory and documentation for new usage patterns.
- See the updated
🆕 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
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
What's Changed
- refactor: restructure project and update configuration by @dmastapkovich in #32
Full Changelog: v1.2.0...v2.0.0
v1.2.0
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
What's Changed
- Removed robyn dependencyby @northpowered in #28
- Add Windows run all by @pylavaigun in #26
- Some improvements by @dmastapkovich in #29
- Security updates
Fixed:
#27 - Installation fail on Python3.13
#24 - Troubles with run all CLI method
New Contributors
- @pylavaigun made their first contribution in #26
- @dmastapkovich made their first contribution in #29
Full Changelog: v1.0.5...v1.1.0
Fix: imports
v1.0.5 Bump version
Added py.typed (fx)
- Added py.typed for next releases
Full Changelog: v1.0.3...v1.0.4
v1.0.3
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
v1.0.2
- Fix ASGI worker startup
- Rename
internalworker tointernal_boost