# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## v0.1.8 (2023-05-15) * Make rustls an optional (default-enabled) feature. This allows upstream users of the library to choose a TLS implementation. ## v0.1.7 (2023-05-15) * Move init command to be a subcommand of app ## v0.1.6 (2023-05-15) Re-trigger release due to faulty tagging (missing exports). ## v0.1.5 (2023-05-15) * Expose commands in library Allows other CLIs to integrate commands. ## v0.1.4 (2023-05-04) ### Bug Fixes * Fixed `app publish` command not updating package version in deploy.yaml See https://github.com/wasmerio/deploy/pull/484 ## v0.1.3 (2023-04-27) ### New Features - Added `app logs` command - SSH command: add arguments for port and hostname (defaults to main deploy domain) ### Bug Fixes - SSH command: fixed authentication ## v0.1.2 (2023-04-12) ### New Feature - Enable logging in the CLI. By default, it will log at the `warn` level, but adding one or more `-v` flags will increase the log level. The `$RUST_LOG` environment variable can be used for more fine-grained filtering. - Add a `--version` flag to the CLI ### Bug Fixes - The `wasmer-deploy publish` command will now use `--token` and `--registry` when `--publish-package` publishes the package to WAPM ## v0.1.1 (2023-03-29) ### Documentation - Improve clap command documentation Add short explanations to all the commands. ## v0.1.0 (2023-03-29) ### Chore - Add versions to some local dependencies Needed for publishing. - Remove download_url from WebcPackageIdentifierV1 Not needed anymore, since now we have a deployment config registry. ### Refactor (BREAKING) - Rename client-cli crate New name: wasmer-deploy-cli Renamed to make `cargo install wasmer-deploy-cli` a bit nicer. ### Documentation - Add README comment about available commands - Update README to point to new crate name wasmer-deploy-cli (for simplicity) - add some changelogs - Add REAMDE to Cargo.toml of to-be-published crates ### New Features - Add unified formatting with comfy-table Use comfy-table and a new CliRender trait to have coherent formatting of outputs on the CLI. - Add static site init and improve app publish commands * Adds a new command "init static-site" that initializes a package and deployment for a static site * improve the "app publish" command to optionally auto-publish a package that is located in the same directory ### Bug Fixes - Fix the "app publish" command Wasn't added to the App command enum, and needed to use JSON instead of YAML in the GQL query, because the backend can't parse the YAML generated by serde_yaml - Update deployment config generation to backend changes The generateDeployConfig GraphQL API has changed * Takes a DeployConfigVersion id instead of DeployConfig id * Returns a DeployConfigVersion ### Other - Bump client-cli version Need to publish non-alpha to make cargo install work better - Publish packages without invoking "wasmer" binary Publish packages with shared functionality recently added to the wasmer-registry crate, instead of invoking the wasmer binary. - Dependency cleanup * Lift some dependencies to workspace.dependencies to avoid duplication * Remove a bunch of unused dependencies - Add crate metadata and prepare for first CLI release - "app list" filters Extend the "app list" command to query either a namespace, a users apps, or all apps accessible by a user. (--namepsace X, --all) - Upgrade toml dependency Need some new APIs for Table conversion. - Make serde_json a workspace dependency To avoid duplication... ### Refactor - Rename "app publish" command to "publish" For more convenient usage. ### Refactor (BREAKING) - Rename client-cli crate New name: wasmer-deploy-cli Renamed to make `cargo install wasmer-deploy-cli` a bit nicer. - Rename wasmer-deploy-core to wasmer-deploy-schema -schema is a more sensible / expressive name for the crate, since it just holds type definitions. Done in preparation for publishing the crate, since it will need to be used by downstream consumers like the Wasmer repo Add publish-static-site commandThe new command makes it easy to publish a static site with a singlecommand invocation. Read WASMER_TOKEN from wasmer registry configInstead of always requiring users to specify it manually Add publish-static-site commandAdd a new command that makes it easy to publish a static website. Add new namespace and app commands Add publish-static-site commandAdd a new command that makes it easy to publish a static website. Add client cli with SSH commandAdds a new “deploy” client CLI that provides “end-user” functionalityfor interacting with deploy.This is added in a separate crate because it will be merged orintegrated with the main Wasmer CLI in the future.The first command that is added is a “ssh” command, which auto-generatesa user specific ssh token and opens an SSH session.Needed to update relevant callsites