Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
msrv = "1.60.0"
msrv = "1.85.0" # Minimum supported Rust version because of `2024` edition features
allow-mixed-uninlined-format-args = false
disallowed-types = [
{ path = "tower::util::BoxCloneService", reason = "Use tower::util::BoxCloneSyncService instead" },
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ jobs:
echo VERSION=${VERSION} >> $GITHUB_ENV
echo PUBLISH_OPTS=${PUBLISH_OPTS} >> $GITHUB_ENV
echo VERSION_NUMBER=${VERSION_NUMBER} >> $GITHUB_ENV
- name: check version integrity
run: |
ERROR=''
echo VERSION: ${VERSION}, VERSION_NUMBER: ${VERSION_NUMBER}
for dir in "." packages/apalis-{core,sql}; do
PACKAGE=$(cargo get package.name --entry $dir)
ACTUAL=$(cargo get package.version --entry $dir)
if [[ $VERSION != $ACTUAL ]]; then
echo ${PACKAGE}: expected version ${VERSION} but found ${ACTUAL}
ERROR=1
fi
done
if [[ $ERROR ]]; then
exit 1
fi
- name: publish apalis-core
uses: actions-rs/cargo@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
# args: --all
args: --all


fmt:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/target
**/*.rs.bk
Cargo.lock
examples/**/*.env
examples/sqlite/data.*
.DS_Store
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project are documented in this file.

## [Unreleased]

- **chore**: bump: introducing rc.1 ([#646](https://github.com/geofmureithi/apalis/pull/646))
- **chore**: feat: refactor and granulize traits ([#586](https://github.com/geofmureithi/apalis/pull/586))
- **refactor**: refactor: crates, workflow and BackendExt ([#623](https://github.com/geofmureithi/apalis/pull/623))
- **chore**: bump to v1.0.0 beta.1 ([#624](https://github.com/geofmureithi/apalis/pull/624))
Expand All @@ -20,6 +21,7 @@ All notable changes to this project are documented in this file.

- **crates**: Moved backend crates to respective repos ([#586](https://github.com/geofmureithi/apalis/pull/586))
- **api**: `Backend` must be the second input in `WorkerBuilder` ([#586](https://github.com/geofmureithi/apalis/pull/586))

```rust
let worker = WorkerBuilder::new("tasty-banana")
.backend(sqlite)
Expand All @@ -28,14 +30,18 @@ let worker = WorkerBuilder::new("tasty-banana")
// .data
.build(task_fn);
```

- **api**: `Monitor` supports restarts and factory() becomes factory(usize) ([#586](https://github.com/geofmureithi/apalis/pull/586))

```rust
Monitor::new()
.register({
WorkerBuilder::new("tasty-banana")
....
```

Becomes

```rust
Monitor::new()
.register(|runs: usize| {
Expand Down
Loading
Loading