CHANGELOG

Changelog

0.10.4 (2023-08-12) - #125

  • reorganize repo in two crates fang and fang-derive-error
  • added macro crate fang-derive-error that provides ToFangError derive macro.
  • refactor FangTaskState enum and Task struct.

0.10.3 (2023-03-18)

  • update typed-builder to 0.14 - #115

0.10.2 (2023-02-23)

Improved

  • update diesel-derive-enum from 2.0.0-rc.0 to 2.0.1 - #111
  • use dotenvy instead of dotenv - #111
  • update tokio from 1.20 to 1.25 - #111

0.10.1 (2023-02-03)

Improved

  • Update typed-builder requirement from 0.11 to 0.12 - #108
  • Add dodcumentation - #96, #104
  • Fix clippy warnings - #109

0.10.0 (2022-09-27)

Added

  • Add retries for tasks - #92

Improved

  • Update the cron crate from 0.11 to 0.12 - #97

0.9.1 (2022-09-14)

Added

  • Add methods to remove a task by uniq hash or id - #90

0.9.0 (2022-09-02)

#69

Added

  • Added cron support for scheduled tasks.

Improved

  • Major refactoring of the blocking module.
  • Delete the graceful shutdown in blocking module.
  • Simplify database schema.
  • Re-write scheduled tasks in asynk module.
  • Re-write the errors in both modules.
  • Update diesel crate to 2.0 version.
  • Update uuid crate to 1.1 version.

0.8.0 (2022-08-18)

  • Use Duration in SleepParams and schedulers - #67

0.7.2 (2022-08-16)

  • Set task_type when starting a worker pool - #66

0.7.1 (2022-08-04)

  • Fix a conflict in exports of the blocking and the asynk features - #61

0.7.0 (2022-08-03)

#21

  • Create a full functional async processing module for fang which uses tokio to summon processes that are more lighter than threads.
  • Rename Job starting names into Task #29.
  • Export serde correctly - commit.
  • Implement Postgres backend for async.

0.6.0 (2022-07-01)

  • Rust 1.62 is required for typetag

0.5.0 (2021-12-05)

  • Add graceful shutdown - #14

0.4.2 (2021-11-30)

  • Bump deps - #13

0.4.1 (2021-08-22)

  • Do not use env-logger - #11

0.4.0 (2021-07-31)

#8:

  • Maintain ConnectionPool for Worker Threads
  • Rename Postgres into Queue
  • Pass PgConnection into run function
  • Add function to remove all tasks of the specified type

0.3.1 (2021-07-24)

  • Add periodic tasks - #5, #7

0.3.1 (2021-07-11)

  • Simplify usage by re-exporting serde traits - #3

0.3.0 (2021-07-04)

  • Execute different types of tasks in separate workers - #1
  • Add retention mode for tasks - #2

0.2.0 (2021-06-24)

  • The first release on crates.io