Skip to content

Releases

v1.7.4

Choose a tag to compare

@github-actions github-actions released this 27 Nov 03:22

What's Changed

  • fix(cli): pass Deno fetch to gaxios to avoid runtime node-fetch import by @dac-tommy-wu in #11

Full Changelog: v1.7.3...v1.7.4

v1.7.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 06:19

What's Changed

  • fix(ci): verify-npm 重試到執行檔真的能跑為止 by @dac-tommy-wu in #8
  • fix(cli): npm 安裝時 gtm upgrade 改提示使用 npm 升級 by @dac-tommy-wu in #10

Full Changelog: v1.7.2...v1.7.3

v1.7.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 10:33

What's Changed

  • fix(cli): 消除 punycode DeprecationWarning(DEP0040) by @dac-tommy-wu in #6
  • feat(npm): 改用平台子套件發布,移除 postinstall 下載 by @dac-tommy-wu in #7

Full Changelog: v1.7.1...v1.7.2

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 09:30

Full Changelog: v1.7.0...v1.7.1

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 09:17

What's Changed

New Contributors

Full Changelog: v1.6.2...v1.7.0

v1.6.2 — Fix runtime permission prompt

Choose a tag to compare

@github-actions github-actions released this 17 Jun 03:52

Highlights

Fixes a runtime permission prompt that appeared on every launch of the compiled binary. After this release, gtm runs without asking for permissions.

What's fixed

🔐 No more Deno requests sys access prompt

The compiled binary was missing the --allow-sys permission. At runtime, googleapis' google-auth-library calls os.release() (i.e. Deno.osRelease(), a "sys" permission) when building its User-Agent header, so Deno interactively prompted on every launch:

⚠️  Deno requests sys access to "osRelease".
Allow? [y/n/A]

Compiled binaries don't remember permission grants, so the prompt came back every time. --allow-sys is now baked into the release build (and the dev/compile tasks), so the binary runs without prompting.

Note: this affected all platforms, not just Windows — it was simply more noticeable on a fresh Windows install.

🔧 CI maintenance

  • Upgraded GitHub Actions to their Node 24 versions (checkout v6, upload-artifact v7, download-artifact v8, action-gh-release v3) to clear the Node.js 20 deprecation warnings.

Upgrading

Windows (PowerShell): re-run the installer to pull this version:

irm https://raw.githubusercontent.com/dac-tech-team-tw/gtm-cli/main/install.ps1 | iex

Already installed (any platform):

gtm upgrade

Assets

  • gtm-windows-x64.exe — Windows (x64)
  • gtm-darwin-arm64 — macOS (Apple Silicon)
  • gtm-darwin-x64 — macOS (Intel)
  • gtm-linux-x64 — Linux (x64)

Full Changelog: v1.6.1...v1.6.2

v1.6.1 — Windows installer

Choose a tag to compare

@github-actions github-actions released this 17 Jun 03:20

Highlights

Follow-up to v1.6.0 (which added the Windows binary). This release makes installing on Windows a one-liner and cleans up the release pipeline.

What's new

🪟 One-line Windows installer

A new install.ps1 lets Windows users install without manually setting up the PATH:

irm https://raw.githubusercontent.com/dac-tech-team-tw/gtm-cli/main/install.ps1 | iex

It:

  • downloads the latest gtm-windows-x64.exe,
  • installs it as gtm.exe into %LOCALAPPDATA%\Programs\gtm,
  • adds that folder to your user PATH (no admin required).

Open a new terminal afterwards, then run gtm auth login.

📝 Docs

  • README documents the Windows PowerShell install, lists the Windows binary in the download table, and notes Windows in the CI build summary.

🔧 CI

  • Removed the publish-npm job from the release workflow (this fork does not publish the @owntag npm package, so the job always failed).

Manual install (alternative)

  1. Download gtm-windows-x64.exe from the assets below.
  2. Rename it to gtm.exe and place it in a folder on your PATH.
  3. Run gtm auth login.

Assets

  • gtm-windows-x64.exe — Windows (x64)
  • gtm-darwin-arm64 — macOS (Apple Silicon)
  • gtm-darwin-x64 — macOS (Intel)
  • gtm-linux-x64 — Linux (x64)

Full Changelog: v1.6.0...v1.6.1

v1.6.0 — Windows support

Choose a tag to compare

@github-actions github-actions released this 17 Jun 02:36

Highlights

This release adds Windows support to GTM CLI. A prebuilt gtm-windows-x64.exe is now produced for every release, the npm installer knows how to fetch it, and the OAuth login flow now works correctly on Windows.

What's new

🪟 Windows is now a supported platform

  • Prebuilt binary: releases now include gtm-windows-x64.exe (built on windows-latest for the x86_64-pc-windows-msvc target).
  • npm install support: npm install -g @owntag/gtm-cli now resolves the correct gtm-binary.exe, maps the win32-x64 platform, and skips the Unix-only chmod step on Windows. win32 is added to the package's supported os list.

🐛 Fixed OAuth login on Windows

Previously, gtm auth login on Windows opened the browser via cmd /c start <url>. Because cmd.exe treats & as a command separator, the Google authorization URL was truncated at the first &, dropping response_type, redirect_uri, scope and the rest. Google then rejected the request with:

Error 400: invalid_request — Required parameter is missing: response_type

The browser is now opened via rundll32 url.dll,FileProtocolHandler <url>, which receives the full URL as a single argument with no shell re-parsing.

Installation

Windows (binary):

  1. Download gtm-windows-x64.exe from the assets below.
  2. Rename it to gtm.exe and place it somewhere on your PATH.
  3. Run gtm auth login.

npm (all platforms):

npm install -g @owntag/gtm-cli

Assets

  • gtm-windows-x64.exe — Windows (x64)
  • gtm-darwin-arm64 — macOS (Apple Silicon)
  • gtm-darwin-x64 — macOS (Intel)
  • gtm-linux-x64 — Linux (x64)

Full Changelog: v1.5.8...v1.6.0