From 2db32298f0070b9ae394e8f5776e3d96b9e53b08 Mon Sep 17 00:00:00 2001 From: cpendery Date: Sat, 3 Oct 2026 12:33:31 -0700 Subject: [PATCH] build: bump to 0.1.0 --- .github/workflows/release.yml | 26 +++--- Cargo.lock | 8 +- Cargo.toml | 2 +- README.md | 12 +-- bindings/js/README.md | 2 +- bindings/js/native/index.js | 104 ++++++++++++------------ bindings/js/package-lock.json | 4 +- bindings/js/package.json | 5 +- bindings/js/src/version.ts | 2 +- bindings/python/README.md | 2 +- bindings/python/pyproject.toml | 4 +- bindings/python/src/tui_test/_config.py | 2 +- references/javascript.md | 2 +- references/python.md | 2 +- references/rust.md | 2 +- 15 files changed, 90 insertions(+), 89 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5340d8e4..28f69e04 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,12 @@ name: Release on: push: tags: - - "*-beta.*" + - "[0-9]+.[0-9]+.[0-9]+" + - "[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" workflow_dispatch: inputs: tag: - description: Existing beta release tag to publish (for example, 0.1.0-beta.5) + description: Existing release tag to publish (for example, 0.1.0) required: true type: string @@ -35,11 +36,11 @@ jobs: - run: sudo apt-get update && sudo apt-get install -y ripgrep - - name: Verify beta release tag + - name: Verify release tag shell: bash run: | - if [[ ! "$RELEASE_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+-beta\.[0-9]+$ ]]; then - echo "Release tag must match ..-beta.." >&2 + if [[ ! "$RELEASE_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-beta\.[0-9]+)?$ ]]; then + echo "Release tag must match .. or ..-beta.." >&2 exit 1 fi @@ -428,6 +429,10 @@ jobs: NPM_CONFIG_REGISTRY: https://registry.npmjs.org run: | version="$RELEASE_TAG" + npm_tag=latest + if [[ "$version" == *-beta.* ]]; then + npm_tag=beta + fi packages=( tui-test-darwin-arm64 tui-test-darwin-x64 @@ -449,7 +454,7 @@ jobs: if npm view "$name@$version" version >/dev/null 2>&1; then echo "$name@$version is already published" else - npm publish "$tarball" --access public --provenance --tag beta + npm publish "$tarball" --access public --provenance --tag "$npm_tag" fi done @@ -533,10 +538,11 @@ jobs: GH_TOKEN: ${{ github.token }} GH_REPO: ${{ github.repository }} run: | - gh release create "$RELEASE_TAG" \ - --generate-notes \ - --prerelease \ - artifacts/* + release_args=(--generate-notes) + if [[ "$RELEASE_TAG" == *-beta.* ]]; then + release_args+=(--prerelease) + fi + gh release create "$RELEASE_TAG" "${release_args[@]}" artifacts/* update-homebrew: name: Open Homebrew formula update diff --git a/Cargo.lock b/Cargo.lock index 698198de..d73b66fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2025,7 +2025,7 @@ dependencies = [ [[package]] name = "tui-test-cli" -version = "0.1.0-beta.5" +version = "0.1.0" dependencies = [ "anyhow", "clap", @@ -2044,7 +2044,7 @@ dependencies = [ [[package]] name = "tui-test-node" -version = "0.1.0-beta.5" +version = "0.1.0" dependencies = [ "napi", "napi-build", @@ -2056,7 +2056,7 @@ dependencies = [ [[package]] name = "tui-test-python" -version = "0.1.0-beta.5" +version = "0.1.0" dependencies = [ "anyhow", "pyo3", @@ -2068,7 +2068,7 @@ dependencies = [ [[package]] name = "tui-test-rs" -version = "0.1.0-beta.5" +version = "0.1.0" dependencies = [ "alacritty_terminal", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 169ff0a8..ac579ab3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ default-members = [ resolver = "2" [workspace.package] -version = "0.1.0-beta.5" +version = "0.1.0" edition = "2021" rust-version = "1.90" license = "MIT" diff --git a/README.md b/README.md index a2867e6a..702dfe3e 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,6 @@ Configuration

-> [!IMPORTANT] -> `tui-test` is undergoing a major rewrite. These docs cover the beta releases. - ## Installation ### CLI @@ -33,13 +30,12 @@ brew install tui-test macOS and Linux: ```sh -curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/microsoft/tui-test/main/install/install.sh | TUI_TEST_VERSION=beta sh +curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/microsoft/tui-test/main/install/install.sh | sh ``` Windows: ```powershell -$env:TUI_TEST_VERSION = "beta" irm https://raw.githubusercontent.com/microsoft/tui-test/main/install/install.ps1 | iex ``` @@ -49,9 +45,9 @@ You can also download a binary from [GitHub Releases](https://github.com/microso | Language | Install | Reference | | --- | --- | --- | -| Rust 1.90+ | `cargo add tui-test-rs@0.1.0-beta.5` | [docs.rs](https://docs.rs/tui-test-rs/latest/tui_test/) | -| Python 3.8+ | `pip install --pre tui-test` | [Python API](bindings/python/README.md) | -| Node 20+ | `npm install @microsoft/tui-test@beta` | [JavaScript API](bindings/js/README.md) | +| Rust 1.90+ | `cargo add tui-test-rs@0.1.0` | [docs.rs](https://docs.rs/tui-test-rs/latest/tui_test/) | +| Python 3.8+ | `pip install tui-test` | [Python API](bindings/python/README.md) | +| Node 20+ | `npm install @microsoft/tui-test` | [JavaScript API](bindings/js/README.md) | Add the Rust `recording-raster` feature for APNG, GIF, and MP4 output. It uses installed fonts; `recording-font-jetbrains-mono*` bundles a font. diff --git a/bindings/js/README.md b/bindings/js/README.md index 604b31ef..fc1441ce 100644 --- a/bindings/js/README.md +++ b/bindings/js/README.md @@ -5,7 +5,7 @@ Control, inspect, and test terminal apps from JavaScript or TypeScript. ## Install ```sh -npm install @microsoft/tui-test@beta +npm install @microsoft/tui-test ``` Node 20+ is supported. The package is ESM only. Bun and Deno support is best effort. Deno 2 needs local `node_modules` and `--allow-ffi`. diff --git a/bindings/js/native/index.js b/bindings/js/native/index.js index 783c2887..c5ac3869 100644 --- a/bindings/js/native/index.js +++ b/bindings/js/native/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-android-arm64') const bindingPackageVersion = require('@microsoft/tui-test-android-arm64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-android-arm-eabi') const bindingPackageVersion = require('@microsoft/tui-test-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -118,8 +118,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-win32-x64-gnu') const bindingPackageVersion = require('@microsoft/tui-test-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -134,8 +134,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-win32-x64-msvc') const bindingPackageVersion = require('@microsoft/tui-test-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -151,8 +151,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-win32-ia32-msvc') const bindingPackageVersion = require('@microsoft/tui-test-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -167,8 +167,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-win32-arm64-msvc') const bindingPackageVersion = require('@microsoft/tui-test-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -186,8 +186,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-darwin-universal') const bindingPackageVersion = require('@microsoft/tui-test-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -202,8 +202,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-darwin-x64') const bindingPackageVersion = require('@microsoft/tui-test-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -218,8 +218,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-darwin-arm64') const bindingPackageVersion = require('@microsoft/tui-test-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -238,8 +238,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-freebsd-x64') const bindingPackageVersion = require('@microsoft/tui-test-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -254,8 +254,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-freebsd-arm64') const bindingPackageVersion = require('@microsoft/tui-test-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -275,8 +275,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-x64-musl') const bindingPackageVersion = require('@microsoft/tui-test-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-x64-gnu') const bindingPackageVersion = require('@microsoft/tui-test-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -309,8 +309,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-arm64-musl') const bindingPackageVersion = require('@microsoft/tui-test-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-arm64-gnu') const bindingPackageVersion = require('@microsoft/tui-test-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -343,8 +343,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-arm-musleabihf') const bindingPackageVersion = require('@microsoft/tui-test-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-arm-gnueabihf') const bindingPackageVersion = require('@microsoft/tui-test-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -377,8 +377,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-loong64-musl') const bindingPackageVersion = require('@microsoft/tui-test-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-loong64-gnu') const bindingPackageVersion = require('@microsoft/tui-test-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -411,8 +411,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-riscv64-musl') const bindingPackageVersion = require('@microsoft/tui-test-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -427,8 +427,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-riscv64-gnu') const bindingPackageVersion = require('@microsoft/tui-test-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -444,8 +444,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-ppc64-gnu') const bindingPackageVersion = require('@microsoft/tui-test-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -460,8 +460,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-linux-s390x-gnu') const bindingPackageVersion = require('@microsoft/tui-test-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -480,8 +480,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-openharmony-arm64') const bindingPackageVersion = require('@microsoft/tui-test-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -496,8 +496,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-openharmony-x64') const bindingPackageVersion = require('@microsoft/tui-test-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -512,8 +512,8 @@ function requireNative() { try { const binding = require('@microsoft/tui-test-openharmony-arm') const bindingPackageVersion = require('@microsoft/tui-test-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.1.0-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/bindings/js/package-lock.json b/bindings/js/package-lock.json index 8e6c67eb..3c5b560a 100644 --- a/bindings/js/package-lock.json +++ b/bindings/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "@microsoft/tui-test", - "version": "0.1.0-beta.5", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@microsoft/tui-test", - "version": "0.1.0-beta.5", + "version": "0.1.0", "license": "MIT", "devDependencies": { "@napi-rs/cli": "^3.7.4", diff --git a/bindings/js/package.json b/bindings/js/package.json index 332ba0f2..4767015a 100644 --- a/bindings/js/package.json +++ b/bindings/js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/tui-test", - "version": "0.1.0-beta.5", + "version": "0.1.0", "description": "Node bindings for the tui_test terminal engine", "type": "module", "exports": { @@ -67,8 +67,7 @@ "url": "https://github.com/microsoft/tui-test" }, "publishConfig": { - "access": "public", - "tag": "beta" + "access": "public" }, "devDependencies": { "@napi-rs/cli": "^3.7.4", diff --git a/bindings/js/src/version.ts b/bindings/js/src/version.ts index 9fcf8d5f..52c905c1 100644 --- a/bindings/js/src/version.ts +++ b/bindings/js/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.1.0-beta.5"; +export const VERSION = "0.1.0"; diff --git a/bindings/python/README.md b/bindings/python/README.md index 20ba9c40..ad77c32e 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -5,7 +5,7 @@ Control, inspect, and test terminal apps from Python. ## Install ```sh -pip install --pre tui-test +pip install tui-test ``` Python 3.8+ is supported. diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 80e635eb..b5636fa5 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "tui-test" -version = "0.1.0-beta.5" +version = "0.1.0" description = "Python bindings for tui-test terminal automation" readme = "README.md" requires-python = ">=3.8" @@ -12,7 +12,7 @@ license = { text = "MIT" } authors = [{ name = "Microsoft" }] keywords = ["terminal", "pty", "automation", "testing", "tui", "tui-test"] classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", diff --git a/bindings/python/src/tui_test/_config.py b/bindings/python/src/tui_test/_config.py index 243528ed..65255529 100644 --- a/bindings/python/src/tui_test/_config.py +++ b/bindings/python/src/tui_test/_config.py @@ -6,7 +6,7 @@ import sys from typing import Any, Dict, Mapping, Optional -VERSION = "0.1.0-beta.5" +VERSION = "0.1.0" DEFAULT_COLS = 80 DEFAULT_ROWS = 30 diff --git a/references/javascript.md b/references/javascript.md index b4028d85..b5a6a77d 100644 --- a/references/javascript.md +++ b/references/javascript.md @@ -7,7 +7,7 @@ Use `@microsoft/tui-test` from JavaScript or TypeScript. ## Start ```sh -npm install @microsoft/tui-test@beta +npm install @microsoft/tui-test ``` ```js diff --git a/references/python.md b/references/python.md index 515203e3..39dacb3d 100644 --- a/references/python.md +++ b/references/python.md @@ -7,7 +7,7 @@ Use `tui_test` from Python code and tests. ## Start ```sh -pip install --pre tui-test +pip install tui-test ``` ```python diff --git a/references/rust.md b/references/rust.md index 47b49d7b..50c5a77d 100644 --- a/references/rust.md +++ b/references/rust.md @@ -5,7 +5,7 @@ Use `tui-test-rs` from Rust code and tests. [Back to the skill](../SKILL.md) ```sh -cargo add tui-test-rs@0.1.0-beta.5 +cargo add tui-test-rs@0.1.0 ``` ```rust