Commit graph

166 commits

Author SHA1 Message Date
992d5cd813
chore: release version v0.9.1 2024-08-12 17:04:07 +12:00
379df605c9
fix: Reactor.run!/4 should not return an :ok tuple. 2024-08-12 17:03:27 +12:00
844a0e585e
chore: release version v0.9.0 2024-07-18 21:57:51 +12:00
e8ac9a1d90
feat(map): Add the ability to map over elements of a collection inside a reactor. (#123)
* feat(map): Add the ability to map over elements of a collection inside a reactor.

* improvement: throw a more helpful error when a step returns an invalid result.

* fix: automatically pass extra arguments from the map step to nested steps.

They can't be referred to directly because they may be added to the graph
at runtime, and may depend on steps which have been completed and their
results discarded because they have no dependents at that time.

* fix: spurious test failures seemingly caused by `Mimic`.
2024-07-18 21:56:46 +12:00
d380f2af4b
chore: release version v0.8.5 2024-07-10 20:17:13 +12:00
ebb1374906
improvement: add mix reactor.install (#124) 2024-07-10 20:15:43 +12:00
0d84bf53a6
docs: Add reactor logos. 2024-06-14 17:58:03 +12:00
cd41d3834b
chore: release version v0.8.4 2024-05-25 15:14:26 +12:00
0747673a31
fix: inability to store composed reactors at compile time. 2024-05-25 15:07:58 +12:00
dc113c57e8
chore: release version v0.8.3 2024-05-24 21:50:09 +12:00
9410f7d37a
fix: Missing __identifier__ field in compose DSL struct. 2024-05-24 21:43:53 +12:00
dependabot[bot]
884afbd90b
chore(deps): Bump spark from 2.1.21 to 2.1.22 (#122) 2024-05-16 08:47:10 +12:00
dependabot[bot]
92c91ddc38
chore(deps): Bump spark from 2.1.20 to 2.1.21 (#120)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.20 to 2.1.21.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.20...v2.1.21)

---
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-05-14 09:48:01 +12:00
dependabot[bot]
5eeb09c45d
chore(deps-dev): Bump git_ops from 2.6.0 to 2.6.1 (#121)
Bumps [git_ops](https://github.com/zachdaniel/git_ops) from 2.6.0 to 2.6.1.
- [Changelog](https://github.com/zachdaniel/git_ops/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zachdaniel/git_ops/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: git_ops
  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-05-14 09:33:32 +12:00
Zach Daniel
e3f65f6874 docs: link to hexdocs & fix links 2024-05-13 13:35:32 -04:00
dependabot[bot]
1422ccab3e
chore(deps-dev): Bump credo from 1.7.5 to 1.7.6 (#119)
Bumps [credo](https://github.com/rrrene/credo) from 1.7.5 to 1.7.6.
- [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.5...v1.7.6)

---
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-05-10 09:00:35 +12:00
31b4c2cc33
chore: release version v0.8.2 2024-05-08 19:24:46 +12:00
220227d459
fix: initialisation issue with middlewares.
So yeah, apparently `function_exported?/3` doesn't ensure that the module in question is actually loaded.
2024-05-08 19:16:48 +12:00
dependabot[bot]
574f64d50a
chore(deps): Bump splode from 0.2.3 to 0.2.4 (#118) 2024-05-04 08:18:29 +12:00
dependabot[bot]
f8ea086756
chore(deps): Bump splode from 0.2.2 to 0.2.3 (#117)
Bumps [splode](https://github.com/ash-project/splode) from 0.2.2 to 0.2.3.
- [Changelog](https://github.com/ash-project/splode/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/splode/compare/v0.2.2...v0.2.3)

---
updated-dependencies:
- dependency-name: splode
  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-04-24 11:18:46 +12:00
dependabot[bot]
6c706cce81
chore(deps): Bump spark from 2.1.18 to 2.1.20 (#116)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.18 to 2.1.20.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.18...v2.1.20)

---
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-04-23 09:35:04 +12:00
dependabot[bot]
cf40113f81
chore(deps): Bump spark from 2.1.17 to 2.1.18 (#115) 2024-04-13 19:38:02 +12:00
dependabot[bot]
62238834ab
chore(deps): Bump spark from 2.1.16 to 2.1.17 (#114)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.16 to 2.1.17.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.16...v2.1.17)

---
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-04-12 09:06:26 +12:00
dependabot[bot]
bf4c568cb6
chore(deps): Bump spark from 2.1.13 to 2.1.16 (#113)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.13 to 2.1.16.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.13...v2.1.16)

---
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-04-11 09:13:32 +12:00
dependabot[bot]
e08333489e
chore(deps): Bump spark from 2.1.11 to 2.1.13 (#111)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.11 to 2.1.13.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.11...v2.1.13)

---
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-04-09 08:52:07 +12:00
dependabot[bot]
b974b859a8
chore(deps): Bump splode from 0.2.1 to 0.2.2 (#112)
Bumps [splode](https://github.com/ash-project/splode) from 0.2.1 to 0.2.2.
- [Changelog](https://github.com/ash-project/splode/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/splode/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: splode
  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-04-09 08:36:53 +12:00
dependabot[bot]
6458abea96
chore(deps): Bump spark from 2.1.10 to 2.1.11 (#109)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.10 to 2.1.11.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.10...v2.1.11)

---
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-04-02 09:31:04 +13:00
dependabot[bot]
a9b1d74cc8
chore(deps): Bump spark from 2.1.8 to 2.1.10 (#108) 2024-03-30 13:52:08 +13:00
dependabot[bot]
879f1618f3
chore(deps): Bump splode from 0.2.0 to 0.2.1 (#106) 2024-03-29 13:41:35 +13:00
dependabot[bot]
13f5f6c0c8
chore(deps): Bump spark from 2.1.6 to 2.1.8 (#107) 2024-03-29 13:32:17 +13:00
dependabot[bot]
7829276103
chore(deps): Bump spark from 2.1.3 to 2.1.6 (#104)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.3 to 2.1.6.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.3...v2.1.6)

---
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-03-27 10:07:13 +13:00
c5b37de5f7
chore: Add FUNDING.yml. 2024-03-21 15:17:12 +13:00
dependabot[bot]
731b8386fe
chore(deps): Bump spark from 2.1.2 to 2.1.3 (#103)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.2 to 2.1.3.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.2...v2.1.3)

---
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-03-21 11:29:02 +13:00
ebc34c3117
chore: release version v0.8.1 2024-03-21 10:48:44 +13:00
76234423ea
fix(RunStepError): pass entire step struct instead of just name when raising. 2024-03-21 10:42:18 +13:00
dependabot[bot]
ec9573b2fe
chore(deps-dev): Bump mix_audit from 2.1.2 to 2.1.3 (#102)
Bumps [mix_audit](https://github.com/mirego/mix_audit) from 2.1.2 to 2.1.3.
- [Changelog](https://github.com/mirego/mix_audit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mirego/mix_audit/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: mix_audit
  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-03-20 09:44:55 +13:00
8191bf7d8b
chore: release version v0.8.0 2024-03-19 10:46:55 +13:00
dfc56a871c
improvement: Add template guards. 2024-03-19 10:42:12 +13:00
181017a884
chore(deps): Update to splode v0.2.0. (#101) 2024-03-19 10:26:42 +13:00
dependabot[bot]
d37a436da4
chore(deps): Bump spark from 2.1.0 to 2.1.2 (#100)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.0 to 2.1.2.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.0...v2.1.2)

---
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-03-19 09:53:53 +13:00
7032155f97
docs: Add option schemas to public API functions and improve docs. (#99) 2024-03-18 14:21:50 +13:00
27a01e7862
improvement!: Use Splode for managing errors. (#97) 2024-03-18 13:05:09 +13:00
dependabot[bot]
92c7f21eac
chore(deps): Bump spark from 2.0.1 to 2.1.0 (#98) 2024-03-16 09:52:46 +13:00
dependabot[bot]
d0fe8d2ffd
chore(deps-dev): Bump mix_test_watch from 1.1.2 to 1.2.0 (#96)
Bumps [mix_test_watch](https://github.com/lpil/mix-test.watch) from 1.1.2 to 1.2.0.
- [Changelog](https://github.com/lpil/mix-test.watch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lpil/mix-test.watch/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: mix_test_watch
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 14:41:03 +13:00
dependabot[bot]
8e13e7fd01
chore(deps-dev): Bump ex_check from 0.15.0 to 0.16.0 (#94) 2024-03-02 19:26:17 +13:00
eac0b668c9
fix: Don't assume UndefinedFunctionError means the module is not a Reactor. 2024-03-02 12:04:05 +13:00
eeb9614271
chore(deps): Update Spark v2.0.1. 2024-03-02 11:32:01 +13:00
b929c72938
chore: release version v0.7.0 2024-02-29 09:28:25 +13:00
37b9eda48e
feat: Add telemetry middleware. (#93)
* improvement: don't incur compile-time dependencies on middleware.

* feat: Add a middleware which emits telemetry events about Reactor.
2024-02-29 09:23:51 +13:00
ee72c64af9
fix: incorrect function arity for Group.after_fun DSL. 2024-02-27 11:00:09 +13:00