Skip to content

Commit 4a15384

Browse files
committed
chore: release 0.7.1 — fix workspace:* leak in published tarballs
The 0.7.0 release published all @logtide/* packages with literal "workspace:*" specifiers in their dependencies, making them uninstallable via pnpm (ERR_PNPM_WORKSPACE_PKG_NOT_FOUND) and npm. - Bump all packages to 0.7.1 - Add a guard step in publish.yml that fails the workflow if any package.json still contains the workspace: protocol after the version-rewrite step, so this cannot happen again - Update CHANGELOG.md Fixes logtide-dev/logtide#189
1 parent 4ea76e2 commit 4a15384

File tree

16 files changed

+33
-14
lines changed

16 files changed

+33
-14
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,16 @@ jobs:
155155
fi
156156
done
157157
158+
- name: Verify workspace deps were rewritten
159+
run: |
160+
# Refuse to publish if any package.json still contains "workspace:" — this would
161+
# produce broken tarballs that fail to install (see logtide-dev/logtide#189).
162+
if grep -n '"workspace:' packages/*/package.json; then
163+
echo "::error::workspace: protocol still present in package.json after rewrite. Refusing to publish."
164+
exit 1
165+
fi
166+
echo "OK: no workspace: protocol references remain in packages/*/package.json"
167+
158168
# Publish in dependency order: types -> core -> all others
159169
- name: Publish @logtide/types
160170
continue-on-error: true

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.7.1] - 2026-04-07
9+
10+
### Fixed
11+
- **Broken 0.7.0 release**: All `@logtide/*@0.7.0` packages were published with `workspace:*` literals in their `dependencies`, causing `ERR_PNPM_WORKSPACE_PKG_NOT_FOUND` on `pnpm add` and equivalent failures on npm. Republished with proper version specifiers ([#189](https://github.com/logtide-dev/logtide/issues/189)).
12+
13+
### Changed
14+
- **CI hardening**: `publish.yml` now fails fast if any `package.json` still contains the `workspace:` protocol after the version-rewrite step, preventing future broken releases.
15+
816
## [0.7.0] - 2026-03-09
917

1018
### Added
@@ -155,6 +163,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
155163
- Root README with package table, architecture diagram, development guide
156164
- Branch protection documentation (`.github/BRANCH_PROTECTION.md`)
157165

166+
[0.7.1]: https://github.com/logtide-dev/logtide-javascript/releases/tag/v0.7.1
158167
[0.7.0]: https://github.com/logtide-dev/logtide-javascript/releases/tag/v0.7.0
159168
[0.6.1]: https://github.com/logtide-dev/logtide-javascript/releases/tag/v0.6.1
160169
[0.6.0]: https://github.com/logtide-dev/logtide-javascript/releases/tag/v0.6.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"scripts": {
55
"build": "pnpm -r --filter @logtide/* build",
66
"test": "pnpm -r --filter @logtide/* test",

packages/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/angular",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "LogTide SDK integration for Angular — ErrorHandler, HTTP Interceptor, trace propagation",
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/browser",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "Logtide browser SDK — Web Vitals, breadcrumbs, session context, offline resilience",
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/cli",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "LogTide CLI — upload source maps and manage releases",
55
"type": "module",
66
"bin": {

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/core",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "Core client, hub, scope, transports, and utilities for the LogTide SDK",
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/elysia/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/elysia",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "LogTide SDK plugin for Elysia — request tracing and error capture via lifecycle hooks",
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/express",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "LogTide SDK middleware for Express — request tracing and error capture",
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/fastify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logtide/fastify",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "LogTide SDK plugin for Fastify — request tracing and error capture",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)