Skip to content

Commit

Permalink
Release 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaplas committed Feb 28, 2024
1 parent d47387e commit 70a7544
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 15 deletions.
67 changes: 57 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,90 +2,137 @@

Changelog for `cargo-odra`.

## [0.1.1] - 2024-02-28

### Added

- Support for defining `odra-build` dependency in `Cargo.toml` file of
generated Odra projects.

## [0.1.0] - 2024-02-06

### Added

- `wasm-opt` to the build process. It is used to optimize the wasm file.
- Support for `.cargo/config.toml` target directory override.

### Fixed

- Inconsistent casing for `-c` argument
- Invalid fqn generation in some cases
- Schema generation for contracts

### Removed

- `cargo odra update` command. It is no longer needed, as it was the same
as `cargo update`.

## [0.0.10] - 2023-12-13

### Fixed

- Fixed error that caused the template for odra 0.8.0 being downloaded for earlier
versions of odra.
versions of odra.

## [0.0.9] - 2023-07-19

### Added

- `generate` command validates if the module is already added to `lib.rs`.

## [0.0.8] - 2023-06-26

### Added

- Autocompletion.

### Changed

- Simplified wasm build process.
- Better dependencies management for the `builder`.

## [0.0.7] - 2023-05-22

### Added
- Support for Odra from crates.io.

- Support for Odra from crates.io.

## [0.0.6] - 2023-05-22

### Added

- `--contract-name` filter for `build` command.
- `--source` for `new` and `init` commands replacing `--branch`
- Support for workspaces.

## [0.0.5] - 2022-12-14

### Added
- `test` command can skip build using `--skip-build` flag.

- `test` command can skip build using `--skip-build` flag.

## [0.0.4] - 2022-11-10

### Removed

- `backend` command is no logner needed.
- `gherkin` tests.

### Changed

- `generate` command doesn't override files anymore. It fails instead.
- `generate` uses hardcoded code instead of `flipper.rs` from Github.
- `Odra.toml` is now simpler. It doesn't have `name` anymore. `name` from
`Cargo.toml` is used. A contract definition no longer needs `path` field.
List of contract is no longer.
`Cargo.toml` is used. A contract definition no longer needs `path` field.
List of contract is no longer.
- Codebase is now lib based. It has `lib.rs` and the main bin is in `bin/cargo_odra.rs`.
- Error to use `thiserror`.
- Most of the file system functions is now in `commands.rs`.
- `just` replaced `make`.

### Added

- `paths.rs` for all paths releated operations.
- `template.rs` for code generation releated operations.
- `cli.rs` for `clap` code.
- `rustfmt.toml` with formatting rules.
- `init` and `new` can specify `git-branch` parameter.

## [0.0.3] - 2022-09-04

### Added

- new options - `--verbose` and `--quiet`, which will be passed to cargo commands.

### Changed

- Error handling, now each error has its own exit code.

## [0.0.2] - 2022-08-12

### Added

- `update` command.
- `backend list` command.
- Building a backend will now check if wasm target is installed.

### Changed

- `backend add` command now does not require `name` parameter - `package`
will be used as name by default.
- `test` command now passes arguments supplied after `--` to cargo test
without the need to type `-a`.
will be used as name by default.
- `test` command now passes arguments supplied after `--` to cargo test
without the need to type `-a`.

### Fixed

- `Unsupported dependency for backend` message that showed up on some
configurations - thanks to **jrojek** from Odra.dev Discord for pointing
this out.
configurations - thanks to **jrojek** from Odra.dev Discord for pointing
this out.

## [0.0.1] - 2022-08-09

### Added

- `init` and `new` commands.
- `backend` command to manage backends with subcommands `add` and `remove`.
- `test` command with possibility to run tests against OdraVM and dedicated backend VM.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
authors = [
"Jakub Płaskonka [email protected]",
"Krzysztof Pobiarżyn [email protected]",
"Maciej Zieliński [email protected]",
"Jakub Płaskonka [email protected]",
"Krzysztof Pobiarżyn [email protected]",
"Maciej Zieliński [email protected]",
]
license = "MIT"
repository = "https://github.com/odradev/cargo-odra"
description = "A cargo utility that helps to create, manage and test your smart contracts written using Odra framework."
keywords = ["wasm", "webassembly", "blockchain"]
categories = ["wasm", "development-tools::cargo-plugins"]
name = "cargo-odra"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 70a7544

Please sign in to comment.