Skip to content

Releases: kaspar030/laze

0.1.24

13 Sep 08:27
Compare
Choose a tag to compare
chore: Release laze version 0.1.24

0.1.23

07 Sep 12:31
Compare
Choose a tag to compare
chore: Release laze version 0.1.23

0.1.21

13 Feb 20:55
Compare
Choose a tag to compare

Added

  • Allow overriding the dldir for (download, cmd) imports

Changed

  • Make yaml parsing strict (disallow unexpected fields)
  • Introduce "meta" field on contexts, modules, rules, tasks and at file level.
    This field will just be ignored, allowing for extra information in laze build
    files now that the yaml parsing is strict.
  • Strip binary by default

Fixes

  • Fix CHANGELOG.md links, update cargo release pre-release-replacements

Dependencies

  • Bump clap from 4.4.13 to 4.4.18
  • Bump clap_complete from 4.4.6 to 4.4.10
  • Bump clap_mangen from 0.2.16 to 0.2.19
  • Bump container.yml versions
  • Bump derive_builder from 0.12.0 to 0.13.0
  • Bump indexmap from 2.1.0 to 2.2.2
  • Bump itertools from 0.12.0 to 0.12.1
  • Bump rayon from 1.8.0 to 1.8.1
  • Bump serde from 1.0.194 to 1.0.196
  • Bump serde_json from 1.0.111 to 1.0.113
  • Bump serde_yaml from 0.9.30 to 0.9.31
  • Bump treestate from 0.1.0 to 0.1.1
  • Bump uuid from 1.6.1 to 1.7.0

Internal

  • import: Factor out download.rs
  • nested_env: Improve error message

0.1.20

08 Jan 08:22
Compare
Choose a tag to compare

Added

  • POST_LINK rule: added a way to post process app .elf files

Fixed

  • laze new now drops the .in extension from rendered templates

Dependencies

  • bump clap from 4.4.12 to 4.4.13

Internal

  • refactored nested_env::Env to be a distinct struct. This brought a nice
    performance gain (+~5% for RIOT use case).

0.1.19

05 Jan 12:27
Compare
Choose a tag to compare

Added

  • implement laze build --info-export <file.json> ..., exporting some insights
    (modules & dependencies)
  • implement laze new, a way to generate laze projects from templates

Changed

  • cli: make "--verbose" a global flag

Fixed

  • ${relpath} now contains '.' if otherwise emtpy in more cases
  • correctly find applications in local mode when in project root
  • use buffered IO for cache. Speeds up cache read/write dramatically.
  • if the srcdir of a module is equal or a descendent of a dependency, create
    a ninja phony rule. Prevents ninja from complaining about non-existant files.

Internal

  • set up continuous benchmarking using bencher
  • prevent fixup! commits from getting merged
  • build(deps): bump anyhow from 1.0.75 to 1.0.79
  • build(deps): bump clap from 4.4.11 to 4.4.12
  • build(deps): bump clap_complete from 4.4.4 to 4.4.6
  • build(deps): bump clap_mangen from 0.2.15 to 0.2.16
  • build(deps): bump rust-embed from 8.1.0 to 8.2.0
  • build(deps): bump semver from 1.0.20 to 1.0.21
  • build(deps): bump serde from 1.0.193 to 1.0.194
  • build(deps): bump serde_yaml from 0.9.27 to 0.9.30

0.1.18

18 Dec 10:06
Compare
Choose a tag to compare

Added

  • add file-level laze_required_version
    If specified, laze checks if its own version is at leastlaze_required_version.

  • add task::exports
    This allows laze variables to be exported to the environment of tasks:

      context:
      - name: foo
        env:
          some_variable: some_value
        tasks:
          some_task:
            exports:
            - some_variable
          cmd:
          # some_varialble=some_value is will be set in the _shell environment_
          - some_command

Internal

  • extended test suite, now allows to test for exit codes and stdout/stderr patterns.
    Mostly, this allows to test errors.

  • dependencies:

    • bump clap from 4.4.6 to 4.4.11
    • bump clap_complete from 4.4.3 to 4.4.4
    • bump clap_mangen from 0.2.14 to 0.2.15
    • bump evalexpr from 11.1.0 to 11.3.0
    • bump indexmap from 2.0.2 to 2.1.0
    • bump itertools from 0.11.0 to 0.12.0
    • bump rust-embed from 8.0.0 to 8.1.0
    • bump serde from 1.0.188 to 1.0.193
    • bump serde_yaml from 0.9.25 to 0.9.27
    • bump url from 2.4.1 to 2.5.0
    • bump uuid from 1.4.1 to 1.6.1

0.1.17

06 Oct 11:31
Compare
Choose a tag to compare
chore: Release laze version 0.1.17

0.1.16

04 Oct 09:24
Compare
Choose a tag to compare
  • BREAKING: allow basic expressions in variables and task commands
    This is using the evalexpr crate. Expressions are used make-style
    by wrapping them in $(), e.g., $(1+2).

    This requires previous $(echo foo) meant to be subshells to be escaped:
    $$(echo foo).

  • implement task required_vars
    This allows task availability depend on the existence of global variables.

  • cli: drop "tasks" cli subcommand, add tasks to "build"
    Instead of laze task ... <task-name> [<task args>], just do
    laze build ... <task-name> [<task args>].

  • cli: improve "build" subcommand help message

0.1.15

17 Jan 14:37
0.1.15
42ab00a
Compare
Choose a tag to compare
chore: Release laze version 0.1.15

0.1.14

04 Oct 09:24
0.1.14
d51eb95
Compare
Choose a tag to compare
chore: Release laze version 0.1.14