Commit graph

110 commits

Author SHA1 Message Date
Zach Daniel
dffbfdeeb0 chore: fix build 2024-07-18 11:34:10 -04:00
Zach Daniel
8612b41155 improvement: add exclude_upsert_actions configuration
this allows for upserting records that factor in archived records.

Most commonly, this would be seen as a "create or unarchive" action,
so you'd add `change set_attribute(:archived_at, nil)`
2024-07-18 11:27:20 -04:00
dependabot[bot]
c23e6de7c6
chore(deps-dev): bump mix_audit from 2.1.3 to 2.1.4 (#47) 2024-07-16 17:45:40 -04:00
dependabot[bot]
030e859828
chore(deps): bump ash from 3.1.3 to 3.2.0 (#46)
Bumps [ash](https://github.com/ash-project/ash) from 3.1.3 to 3.2.0.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/commits)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  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-07-15 18:40:45 -04:00
dependabot[bot]
ad9d4d32c1
chore(deps): bump ash from 3.1.2 to 3.1.3 (#45)
Bumps [ash](https://github.com/ash-project/ash) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/commits)

---
updated-dependencies:
- dependency-name: ash
  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-07-11 19:02:42 -04:00
Zach Daniel
fc2897a7fc chore: release version v1.0.2 2024-07-11 08:20:15 -04:00
Zach Daniel
ce9ac767d3 improvement: only add archive attribute if it doesn't already exists 2024-07-11 08:19:43 -04:00
dependabot[bot]
34e495f743
chore(deps): bump ash from 3.0.16 to 3.1.2 (#44)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.16 to 3.1.2.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/commits)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  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-07-10 17:01:16 -04:00
Zach Daniel
3e03cf3abd chore: release version v1.0.1 2024-06-23 10:47:15 -04:00
dependabot[bot]
06f69efe6c
chore(deps): bump ash from 3.0.15 to 3.0.16 (#43)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.15 to 3.0.16.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.15...v3.0.16)

---
updated-dependencies:
- dependency-name: ash
  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-06-21 16:49:15 -04:00
dependabot[bot]
71fc232d9f
chore(deps): bump ash from 3.0.13 to 3.0.15 (#42)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.13 to 3.0.15.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.13...v3.0.15)

---
updated-dependencies:
- dependency-name: ash
  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-06-18 18:15:42 -04:00
dependabot[bot]
04cd660d35
chore(deps): bump ash from 3.0.12 to 3.0.13 (#41)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.12 to 3.0.13.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.12...v3.0.13)

---
updated-dependencies:
- dependency-name: ash
  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-06-17 17:54:20 -04:00
dependabot[bot]
282a42773a
chore(deps): bump ash from 3.0.11 to 3.0.12 (#40)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.11 to 3.0.12.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.11...v3.0.12)

---
updated-dependencies:
- dependency-name: ash
  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-06-14 17:20:09 -04:00
dependabot[bot]
19ec1f5c23
chore(deps-dev): bump credo from 1.7.6 to 1.7.7 (#39)
Bumps [credo](https://github.com/rrrene/credo) from 1.7.6 to 1.7.7.
- [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.6...v1.7.7)

---
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-06-12 16:59:55 -04:00
dependabot[bot]
d3325fe7ab
chore(deps): bump ash from 3.0.9 to 3.0.11 (#38) 2024-06-11 16:43:38 -04:00
dependabot[bot]
9b9e44c924
chore(deps): bump ash from 3.0.8 to 3.0.9 (#36)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.8 to 3.0.9.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: ash
  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-31 22:48:02 -04:00
Zach Daniel
11237042fc chore: fix placement of code in previous commit 2024-05-29 11:49:44 -04:00
Zach Daniel
a04dd848c7 fix: set ash_archival on the bulk destroy read query 2024-05-29 11:44:00 -04:00
Zach Daniel
734711205d fix: ensure ash_archival: true is set on all destroy invocations 2024-05-29 11:25:22 -04:00
dependabot[bot]
3b8959ad63
chore(deps): bump ash from 3.0.7 to 3.0.8 (#35) 2024-05-28 20:15:58 -04:00
dependabot[bot]
adaac0261c
chore(deps): bump ash from 3.0.5 to 3.0.7 (#34)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.5 to 3.0.7.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.5...v3.0.7)

---
updated-dependencies:
- dependency-name: ash
  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-24 16:45:33 -04:00
Zach Daniel
0b571faf4f improvement: update ash for atomic_upgrade_with feature
docs: document usage of `atomic_upgrade_with`

fixes #30
2024-05-23 11:11:04 -04:00
Leandro Henrique Reis
1756b2a9af
docs: Fix typo! (#32) 2024-05-20 18:57:50 -04:00
Leandro Henrique Reis
e45cbb8202
docs: fix map (#31) 2024-05-20 18:54:31 -04:00
dependabot[bot]
e7f1415955
chore(deps): bump ash from 3.0.1 to 3.0.2 (#29)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.1 to 3.0.2.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: ash
  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-16 15:12:54 -05:00
Leandro Henrique Reis
c7b6dff831
docs: Update to use release (#28) 2024-05-16 09:18:23 -05:00
dependabot[bot]
afaa213fb3
chore(deps): bump ash from 3.0.0 to 3.0.1 (#27) 2024-05-14 18:46:43 -04:00
dependabot[bot]
35371aa6be
chore(deps-dev): bump credo from 1.7.5 to 1.7.6 (#25) 2024-05-11 01:58:31 -04:00
Zach Daniel
6d3ee17aad chore: release version v1.0.0 2024-05-10 18:39:27 -04:00
Zach Daniel
c2fe8bb5c4 docs: revamp changelog 2024-05-08 18:55:30 -04:00
Zach Daniel
3879dabec0 chore: update upgrading guide to add base_filter? true option 2024-05-06 21:51:51 -04:00
dependabot[bot]
65615a640e
chore(deps): bump ash from 3.0.0-rc.42 to 3.0.0-rc.46 (#24)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.42 to 3.0.0-rc.46.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.42...v3.0.0-rc.46)

---
updated-dependencies:
- dependency-name: ash
  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-06 18:29:36 -04:00
dependabot[bot]
0a47d0b430
chore(deps): bump ash from 3.0.0-rc.40 to 3.0.0-rc.42 (#23)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.40 to 3.0.0-rc.42.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.40...v3.0.0-rc.42)

---
updated-dependencies:
- dependency-name: ash
  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-03 18:52:17 -04:00
Zach Daniel
0032daca42 improvement: support base_filter? true option
docs: docs overhaul
2024-05-02 15:48:33 -04:00
dependabot[bot]
f6ef8a91d5
chore(deps): bump ash from 3.0.0-rc.39 to 3.0.0-rc.40 (#22)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.39 to 3.0.0-rc.40.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.39...v3.0.0-rc.40)

---
updated-dependencies:
- dependency-name: ash
  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-01 16:46:11 -04:00
dependabot[bot]
9f02c11247
chore(deps): bump ash from 3.0.0-rc.37 to 3.0.0-rc.39 (#21)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.37 to 3.0.0-rc.39.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.37...v3.0.0-rc.39)

---
updated-dependencies:
- dependency-name: ash
  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-30 18:32:36 -04:00
dependabot[bot]
0026449253
chore(deps): bump ash from 3.0.0-rc.33 to 3.0.0-rc.37 (#20)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.33 to 3.0.0-rc.37.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.33...v3.0.0-rc.37)

---
updated-dependencies:
- dependency-name: ash
  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-29 17:17:46 -04:00
Zach Daniel
d0763dc10f chore: update ash 2024-04-27 00:36:04 -04:00
Zach Daniel
5362a30426 chore: release version v1.0.0-rc.1 2024-04-27 00:31:46 -04:00
Zach Daniel
b76a35bca9 improvement: support upserts
docs: add documentation explaining why you may still want to use a base filter
docs: add small upgrade guide, pointing at base_filter docs
2024-04-27 00:31:34 -04:00
Zach Daniel
977e37bdd3 chore: update docs 2024-04-26 03:32:39 -04:00
Zach Daniel
588c26b7ea chore: release version v1.0.0-rc.0 2024-04-26 03:31:42 -04:00
Zach Daniel
bbc9a36e34 chore: update ash_archival 2024-04-26 03:31:17 -04:00
Zach Daniel
59232e057c chore: CI 2024-04-26 03:28:20 -04:00
Zach Daniel
24861b389e chore: update deps 2024-04-26 03:21:03 -04:00
Zach Daniel
9949e6860a improvement: rewrite to take advantage of new bulk actions
improvement!: don't use `base_filter` anymore, allowing for more flexible design
improvement: add `exclude_read_actions` to exclude some actions from filtering archived items
improvement: add `exclude_destroy_actions` to exclude some actions from being intercepted

 Please enter the commit message for your changes. Lines starting
2024-04-26 03:20:19 -04:00
dependabot[bot]
eceee013e3
chore(deps): bump ash from 3.0.0-rc.27 to 3.0.0-rc.29 (#18)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.27 to 3.0.0-rc.29.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.27...v3.0.0-rc.29)

---
updated-dependencies:
- dependency-name: ash
  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 22:02:24 -04:00
dependabot[bot]
eda46714bf
chore(deps): bump ash from 3.0.0-rc.25 to 3.0.0-rc.27 (#17)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.25 to 3.0.0-rc.27.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.25...v3.0.0-rc.27)

---
updated-dependencies:
- dependency-name: ash
  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-22 09:28:03 +12:00
dependabot[bot]
42a456374f
chore(deps): bump ash from 3.0.0-rc.19 to 3.0.0-rc.25 (#16) 2024-04-19 15:02:51 +01:00
dependabot[bot]
eb9ee841d2
chore(deps): bump ash from 3.0.0-rc.18 to 3.0.0-rc.19 (#13)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.18 to 3.0.0-rc.19.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.18...v3.0.0-rc.19)

---
updated-dependencies:
- dependency-name: ash
  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 17:05:22 -04:00