Releases: xethorn/garcon
Release 0.0.5
Updates:
- Make Garcon a namespace (which makes it easier to extend – done for
garcon.contrib
)
Release 0.0.4
Introduces:
- External Activities (see #52)
Release 0.0.3
Introduces:
- Task lists (#48) – which allows users to create a list of tasks for the runner that varies depending on context values.
Alpha Release #10
This release contains a few fixes for the task decorators. No breaking changes / no new features.
Alpha Release #9
This alpha release contains breaking changes:
- Add
name
to the flow. The name of the flow allows to run more than one flow within a domain – which avoids getting too close to the 100 limit on the number of flows you can run. Ideally, you should run flows that are related within the same domain (if you are in a service oriented architecture, domain can match one of your service.)
If you want to create some test workflow, you should parametrize the name. We use: prod-workflow-name
for the production version and dev-workflow-name
for everything related to development. An alternative would be to have a domain dev
and run your workflows within this domain (remember: you also have limitations on the number of workflows you can register per domain.)
More about SWF limitations: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html.
Alpha Release #8
New features:
- Generators: the generators are allowing you to spawn more than one instance of an activity based on values in the context (e.g. a date range). You can find more details on the pull request. If you have a
retry
flag on your activitycreate
method, they will be honored. - Remove unused data sent to activity: SWF limits the input and output to 32k characters. If you use the task decorator, the activity will remove all the data that aren't necessary for the tasks.
Deprecated:
tasks
param on activity creation is deprecated. Please userun
.
Alpha Release #7
Please note: this release contains breaking changes:
- All the runners (
AsyncTasks
andSyncTasks
) are now ingarcon.runner
under the respective names ofSync
andAsync
(if you follow the Google Python convention, you will always write:runner.Sync
.)
New features:
- Added context filling. Using the decorator in
task.py
,@task.decorate()
will allow you to fill your tasks with information from the context. If you use this decorator: you can omitactivity
andcontext
is not allowed anymore as a param.
Alpha Release #6
Changes:
- Add support for Python2.7 (thanks @adamlwgriffiths).
- Add logging capabilities which allows you to track the entire logs for a specific execution (we use loggly at @theorchard.)
Alpha Release #5
Changes
- Add into the context workflow informations.
Alpha Release #4
Updates:
SyncTasks
now share the context: if a task return data, this data can be consumed by other tasks in the Synced environment.- Clean up a few things.