Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/alchemy-sourcemaps.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/browser-exception-debug-ids.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cli-sourcemaps.md

This file was deleted.

6 changes: 6 additions & 0 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @maple/cli

## 0.6.0

### Minor Changes

- 6cfae23: New `maple sourcemaps inject <dir>` and `maple sourcemaps upload <dir>`. `inject` gives every built JS file that has a source map a debug id (derived from the file and its map, so re-running changes nothing), registers it on the file's first line so errors thrown while the file loads still carry it, and writes it into the map; `--dry-run` reports without writing. Maps outside the build directory are never touched. `upload` sends each map to the logged-in workspace, once per JS file that uses it, matched by debug id or by `--service`, `--release` (defaults to the build directory's git commit) and the file path, with `--url-prefix` for the path the files are served under. Maps over 10 MiB (the largest Maple can symbolicate with) and index maps (`sections`) are skipped with a warning, and a run that uploads nothing fails.

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maple/cli",
"version": "0.5.0",
"version": "0.6.0",
"private": true,
"bin": {
"maple": "./src/bin.ts"
Expand Down
6 changes: 3 additions & 3 deletions bun.lock

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

6 changes: 6 additions & 0 deletions packages/alchemy-maple/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @maple-dev/alchemy

## 0.8.0

### Minor Changes

- 6cfae23: Automatic source map uploads. `@maple-dev/alchemy/vite` exports `mapleSourceMaps()`, a Vite plugin that turns on hidden source maps, gives each built JS file a debug id and moves the maps out of the deployed output into `.maple/sourcemaps/<outDir>` with a manifest. The new `Maple.SourceMaps` resource uploads them through `POST /v2/source_maps` after the build, again only when the maps changed; deleting it keeps the uploaded maps, which earlier releases still need. `matchBy: "release"` uploads without debug ids, for telemetry that reports none. `MapleApiContract` gains `upload` for raw request bodies.

## 0.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/alchemy-maple/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maple-dev/alchemy",
"version": "0.7.1",
"version": "0.8.0",
"description": "Alchemy provider for Maple resources — declare API keys, ingest keys, dashboards, alert destinations, alert rules, uptime monitors and status pages in your alchemy.run.ts",
"keywords": [
"alchemy",
Expand Down
6 changes: 6 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @maple-dev/browser

## 0.17.0

### Minor Changes

- 6cfae23: Exception events now carry `maple.exception.debug_ids`: for each script in the error's stack that registered a debug id (through `maple sourcemaps inject`, or Sentry's debug id tooling), its URL and id, so the matching source map is found by id rather than by file path. Absent when no script in the stack has one.

## 0.16.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maple-dev/browser",
"version": "0.16.0",
"version": "0.17.0",
"description": "Maple browser SDK — OpenTelemetry tracing and rrweb session replay in one package. Every span and replay event shares a session id for trace↔replay correlation.",
"keywords": [
"maple",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// JSON import would force every consuming bundler to handle JSON modules.
// `version.test.ts` asserts it stays in sync with `package.json`, so a
// hand-bump that forgets it fails CI instead of shipping.
export const SDK_VERSION = "0.16.0"
export const SDK_VERSION = "0.17.0"

/** The `x-maple-sdk` value this build sends. */
export const SDK_NAME = "maple-browser"