01fddd19b0
improvement!: Remove hooks and replace with middleware behaviour. ( #90 )
...
* improvement!: Remove hooks and replace with middleware behaviour.
* improvement(Middleware): Add `get_process_context/0` and `set_process_context/1` middleware hooks.
* improvement: Add step event callback to middleware.
2024-02-26 16:20:54 +13:00
bb277a723a
chore: Update erlang
and elixir
.
2024-02-26 08:35:19 +13:00
dependabot[bot]
badfa369d7
chore(deps-dev): Bump credo from 1.7.4 to 1.7.5 ( #89 )
...
Bumps [credo](https://github.com/rrrene/credo ) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/rrrene/credo/releases )
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rrrene/credo/compare/v1.7.4...v1.7.5 )
---
updated-dependencies:
- dependency-name: credo
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 09:48:53 +13:00
9f8683f96c
chore: release version v0.5.2
2024-02-19 10:46:22 +13:00
387b8f875a
fix: callback spec for Reactor.Step.async?/1
.
2024-02-15 14:19:07 +13:00
bd518f3040
perf: Don't iterate the entire graph every time through the loop. ( #88 )
2024-02-15 14:09:18 +13:00
9e5a4d1ccf
chore: release version v0.5.1
2024-02-15 11:28:57 +13:00
769825874e
improvement: Move can?/2
and async?/1
into Reactor.Step
behaviour. ( #87 )
...
Makes it a little bit easier for steps to define their own capabilities at runtime.
2024-02-15 10:55:09 +13:00
dependabot[bot]
2de8f356d2
chore(deps-dev): Bump credo from 1.7.3 to 1.7.4 ( #86 )
...
Bumps [credo](https://github.com/rrrene/credo ) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/rrrene/credo/releases )
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rrrene/credo/compare/v1.7.3...v1.7.4 )
---
updated-dependencies:
- dependency-name: credo
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 09:57:19 +13:00
dependabot[bot]
d8a453290d
chore(deps-dev): Bump mix_test_watch from 1.1.1 to 1.1.2 ( #85 )
...
Bumps [mix_test_watch](https://github.com/lpil/mix-test.watch ) from 1.1.1 to 1.1.2.
- [Changelog](https://github.com/lpil/mix-test.watch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lpil/mix-test.watch/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: mix_test_watch
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 09:56:07 +13:00
599749d1ff
chore: release version v0.5.0
2024-02-08 12:33:36 +13:00
012d40e887
improvement: Add ability for steps to decide at runtime whether they should be run asyncronously. ( #84 )
2024-02-08 12:32:43 +13:00
9aa26b9f3b
feat: Add lifecycle hooks to Reactor ( #83 )
...
This will allow user code and extensions to add hook functions to run when the reactor starts, stops, fails, etc.
2024-02-08 11:09:35 +13:00
dependabot[bot]
4d75b89929
chore(deps): Bump spark from 1.1.53 to 1.1.54 ( #82 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.53 to 1.1.54.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.53...v1.1.54 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 10:10:37 +13:00
dependabot[bot]
3f9939d4ad
chore(deps-dev): Bump mix_audit from 2.1.1 to 2.1.2 ( #81 )
2024-01-13 10:05:31 +13:00
dependabot[bot]
3904422354
chore(deps-dev): Bump credo from 1.7.2 to 1.7.3 ( #80 )
2024-01-06 13:14:01 +13:00
dependabot[bot]
d1a7c80650
chore(deps-dev): Bump dialyxir from 1.4.2 to 1.4.3 ( #79 )
2023-12-30 20:41:23 +13:00
dependabot[bot]
b43d13a42c
chore(deps-dev): Bump credo from 1.7.1 to 1.7.2 ( #78 )
2023-12-27 05:57:16 +13:00
dependabot[bot]
be69bcaf0c
chore(deps): Bump spark from 1.1.52 to 1.1.53
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.52 to 1.1.53.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.52...v1.1.53 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 11:09:28 +13:00
8d9ab76660
docs: Update Reactor
DSL docs.
2023-12-15 10:39:56 +13:00
dependabot[bot]
f4b406f078
chore(deps): Bump spark from 1.1.51 to 1.1.52
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.51 to 1.1.52.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.51...v1.1.52 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 10:39:56 +13:00
dependabot[bot]
24c28aa2ba
chore(deps): Bump spark from 1.1.50 to 1.1.51 ( #74 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.50 to 1.1.51.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.50...v1.1.51 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 11:42:12 +13:00
dependabot[bot]
cc4b49e96c
chore(deps): Bump spark from 1.1.48 to 1.1.50 ( #71 )
...
* chore(deps): Bump spark from 1.1.48 to 1.1.50
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.48 to 1.1.50.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.48...v1.1.50 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* doc: update DSL cheat sheets.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2023-10-26 11:00:22 +13:00
dependabot[bot]
cffc84d323
chore(deps-dev): Bump dialyxir from 1.4.1 to 1.4.2 ( #70 )
2023-10-24 17:05:34 +10:00
dependabot[bot]
4bae08dadd
chore(deps): Bump spark from 1.1.47 to 1.1.48 ( #69 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.47 to 1.1.48.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.47...v1.1.48 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 07:54:17 +10:00
dependabot[bot]
2a2d259a09
chore(deps): Bump spark from 1.1.46 to 1.1.47 ( #68 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.46 to 1.1.47.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.46...v1.1.47 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 07:02:19 +10:00
dependabot[bot]
9636ce6e20
chore(deps): Bump spark from 1.1.44 to 1.1.46 ( #67 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.44 to 1.1.46.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.44...v1.1.46 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 10:28:06 +13:00
dependabot[bot]
f6884fdd16
chore(deps): bump spark from 1.1.43 to 1.1.44 ( #66 )
...
* chore(deps): bump spark from 1.1.43 to 1.1.44
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.43 to 1.1.44.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.43...v1.1.44 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* docs: Update DSL cheatsheet.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2023-10-12 09:48:47 +13:00
dependabot[bot]
a7639f17cd
chore(deps): bump spark from 1.1.41 to 1.1.43 ( #65 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.41 to 1.1.43.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.41...v1.1.43 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 12:28:38 +13:00
dependabot[bot]
bc17cda4d3
chore(deps): bump spark from 1.1.40 to 1.1.41 ( #61 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.40 to 1.1.41.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.40...v1.1.41 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:51:51 +13:00
dependabot[bot]
b24b6c6e19
chore(deps-dev): bump credo from 1.7.0 to 1.7.1 ( #60 )
...
Bumps [credo](https://github.com/rrrene/credo ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rrrene/credo/commits )
---
updated-dependencies:
- dependency-name: credo
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 09:30:35 +13:00
Zach Daniel
da05a2f951
chore: only track analytics on hexdocs.pm
2023-10-02 11:09:51 -04:00
Zach Daniel
f3584438b3
chore: analytics on hexdocs
2023-10-02 09:30:47 -04:00
James Harton
4a57a92ba5
fix: don't deadlock when lots of async reactors are sharing a concurrency pool. ( #36 )
2023-09-28 11:08:47 +13:00
9220ba3da7
chore: add mix spark.cheat_sheets
to mix check
.
2023-09-28 09:07:53 +13:00
Zach Daniel
1f38148877
docs: update ex_doc/spark for better docs
2023-09-26 23:40:04 -04:00
Zach Daniel
b8fbc672e7
docs: update hexdocs with new spark dsl tools ( #59 )
2023-09-27 16:23:55 +13:00
626295a742
chore: release version v0.4.1
2023-09-26 16:00:40 +13:00
James Harton
ab84252311
fix: weird issue with aliases sometimes not being expanded in generated reactors. ( #58 )
2023-09-26 15:51:53 +13:00
dependabot[bot]
c0417b802d
chore(deps): bump spark from 1.1.29 to 1.1.39 ( #57 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.29 to 1.1.39.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.29...v1.1.39 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 08:43:13 +12:00
dependabot[bot]
f7a57dd51a
chore(deps): bump spark from 1.1.26 to 1.1.29 ( #55 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.26 to 1.1.29.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.26...v1.1.29 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 08:52:51 +12:00
dependabot[bot]
89b73d6d98
chore(deps): bump spark from 1.1.25 to 1.1.26 ( #54 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.25 to 1.1.26.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.25...v1.1.26 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:28:27 +12:00
875fd3fc00
chore: release version v0.4.0
2023-09-11 12:07:39 +12:00
James Harton
f67173b76f
feat: Add collect
step entity. ( #53 )
...
This change introduces the `collect` step entity to the DSL. It is simply a wrapper around `Reactor.Step.ReturnAllArguments`, but provides the convenience of being able to group together arguments into a single structure for passing into other steps.
2023-09-11 11:58:29 +12:00
61d7d3422b
chore: release version v0.3.5
2023-09-06 12:36:47 +12:00
f58e8370e3
improvement(Template): Abstract template type so that it can be used by extensions.
2023-09-06 11:59:53 +12:00
dependabot[bot]
a4b67c9900
chore(deps-dev): bump mix_test_watch from 1.1.0 to 1.1.1 ( #52 )
...
Bumps [mix_test_watch](https://github.com/lpil/mix-test.watch ) from 1.1.0 to 1.1.1.
- [Changelog](https://github.com/lpil/mix-test.watch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lpil/mix-test.watch/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: mix_test_watch
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 09:08:58 +12:00
c872c40c68
chore: release version v0.3.4
2023-09-04 13:36:06 +12:00
f8e5292f3d
fix: Allow reactor
DSL section to be patched.
2023-09-04 12:31:57 +12:00
dependabot[bot]
fb9fb9913a
chore(deps): bump spark from 1.1.24 to 1.1.25 ( #51 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 1.1.24 to 1.1.25.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v1.1.24...v1.1.25 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 10:12:22 +12:00