dagger-rs/crates/dagger-codegen/CHANGELOG.md

9.7 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

v0.2.4 (2023-02-19)

New Features

  • without Some in _opts functions Option has been removed as a wrapper around opts. This makes it much more convenient to use

    client.container_opts(Some(ContainerOpts{}))
    // ->
    client.container_opts(ContainerOpts{})
    

    The same options are still available, either an empty object can be passed, or a non _opts function can be used

  • with _opts methods Now all opt values enter into a _opts function instead of the original. This avoids a lot of verbosity for both None in the case opts are unwanted, and Some() if they actually are.

    They are used like so:

    client.container().from("...");
    client.container_opts(Some(ContainerOpts{ ... }))
    

    Some from opts will be removed in a future commit/pr

  • move to &str instead of String and introduce builder. This will make the api much easier to use, as we can now rely on "" instead of "".into() for normal string values.

    Introduced builder as well, which makes it much easier to use *Opts, as it can handle the building of that, and get the benefits from String -> &str, as that is currently not allowed for optional values

Bug Fixes

  • cargo clippy
  • without phantom data

Commit Statistics

  • 5 commits contributed to the release.
  • 5 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • cargo clippy (c627595)
    • without Some in _opts functions (f29ff83)
    • with _opts methods (9762da8)
    • without phantom data (02006d4)
    • move to &str instead of String and introduce builder. (94336d0)

v0.2.3 (2023-02-19)

New Features

  • with return result instead of unwrap
  • remove unnecessary option returns

Commit Statistics

  • 3 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release dagger-sdk v0.2.3, dagger-codegen v0.2.3, dagger-rs v0.2.9 (9235030)
    • with return result instead of unwrap (de063ea)
    • remove unnecessary option returns (5d66736)

v0.2.2 (2023-02-19)

New Features

  • update to dagger v0.3.12

Commit Statistics

  • 2 commits contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release dagger-core v0.2.2, dagger-codegen v0.2.2, dagger-rs v0.2.8 (1638f15)
    • update to dagger v0.3.12 (6e5f407)

v0.2.1 (2023-02-18)

Bug Fixes

  • update all dependencies

Other

  • fix

Commit Statistics

  • 35 commits contributed to the release over the course of 20 calendar days.
  • 2 commits were understood as conventional.
  • 2 unique issues were worked on: #5, #6

Commit Details

view details