@voltro/plugin-datadog 0.1.6 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -39,6 +39,22 @@ _Changes staged for the next release accumulate here (rolled up from
39
39
 
40
40
  ---
41
41
 
42
+ ## [0.2.1] — 2026-07-17
43
+
44
+ ### Fixed
45
+
46
+ - **@voltro/cli, @voltro/database** — `voltro codegen` / `dev` / `serve` / `build` no longer crash with `Cannot find package '@voltro/sql-mysql'` on an app that doesn't declare that driver (e.g. a memory-store app, or a postgres app for the mysql/mssql drivers). The CLI's framework-table assembly statically imported the CDC-offsets table schema from `@voltro/sql-mysql` / `@voltro/sql-mssql` (`import { _voltroCdcOffsetsTable } from '@voltro/sql-mysql'`), so merely LOADING the CLI resolved those driver packages — failing whenever one wasn't installed. This surfaced only in a production install where the drivers aren't present (0.2.0's app-declared-driver change), not in the workspace where all drivers are devDependencies. The two CDC-offsets table schemas (pure schema, no driver runtime) move to `@voltro/database` — the driver-agnostic package both the CLI and the drivers already depend on; the drivers re-export them so their public API + CDC readers are unchanged. The CLI now references a SQL driver only through the runtime `importDriver()` lookup (lazy, and only for the dialect actually in use). The lazily-imported driver modules are also typed with local structural interfaces instead of `typeof import('@voltro/sql-*')`, so no driver package is referenced in a type position either.
47
+
48
+ ---
49
+
50
+ ## [0.2.0] — 2026-07-17
51
+
52
+ ### ⚠ BREAKING
53
+
54
+ - **@voltro/cli** — The SQL dialect drivers (`@voltro/sql-postgres`, `@voltro/sql-mysql`, `@voltro/sql-mssql`, `@voltro/sql-sqlite`, `@voltro/sql-turso`) are no longer dependencies of `@voltro/cli`. Each app now declares the driver for its own DB dialect as a dependency, and `voltro dev`/`serve`/`migrate` resolve it from the app root. This keeps every driver — including turso's ~90 MB native binary — out of the production image of an app that doesn't use it: a `store: 'memory'` app ships no SQL driver at all, and a postgres app ships only `@voltro/sql-postgres`. Combined with a `pnpm --prod deploy`-based Dockerfile (the standalone/template Dockerfiles now do this), a memory-API image drops its `node_modules` from ~477 MB to ~330 MB. **Migration:** add the driver for your dialect to the app that uses it — `pnpm add @voltro/sql-postgres` (or `-mysql` for mysql/mariadb, `-mssql`, `-sqlite`, `-turso`). A memory store needs none. Scaffolded projects already declare it, and `voltro add mssql` adds `@voltro/sql-mssql` automatically. If the driver is missing at boot, `voltro serve` now fails with a message naming the exact package to install instead of an opaque module-not-found.
55
+
56
+ ---
57
+
42
58
  ## [0.1.6] — 2026-07-17
43
59
 
44
60
  ### Added
@@ -5,7 +5,7 @@ property of its respective copyright holders and is used under the terms of
5
5
  its license. This file is provided for attribution; it grants no rights in
6
6
  @voltro/plugin-datadog itself, which is proprietary (see LICENSE).
7
7
 
8
- Generated from the resolved runtime dependency closure (76 packages).
8
+ Generated from the resolved runtime dependency closure (74 packages).
9
9
 
10
10
  ---
11
11
 
@@ -4992,12 +4992,6 @@ License: MIT
4992
4992
 
4993
4993
  _(no bundled license text found in the package; see its npm page.)_
4994
4994
 
4995
- ## @oxc-parser/binding-linux-x64-musl@0.132.0
4996
-
4997
- License: MIT
4998
-
4999
- _(no bundled license text found in the package; see its npm page.)_
5000
-
5001
4995
  ## @oxc-project/types@0.132.0
5002
4996
 
5003
4997
  License: MIT
@@ -5083,34 +5077,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5083
5077
  SOFTWARE.
5084
5078
  ```
5085
5079
 
5086
- ## @parcel/watcher-linux-x64-musl@2.5.6
5087
-
5088
- License: MIT
5089
-
5090
- ```
5091
- MIT License
5092
-
5093
- Copyright (c) 2017-present Devon Govett
5094
-
5095
- Permission is hereby granted, free of charge, to any person obtaining a copy
5096
- of this software and associated documentation files (the "Software"), to deal
5097
- in the Software without restriction, including without limitation the rights
5098
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5099
- copies of the Software, and to permit persons to whom the Software is
5100
- furnished to do so, subject to the following conditions:
5101
-
5102
- The above copyright notice and this permission notice shall be included in all
5103
- copies or substantial portions of the Software.
5104
-
5105
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5106
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5107
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5108
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5109
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5110
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5111
- SOFTWARE.
5112
- ```
5113
-
5114
5080
  ## @upstash/redis@1.38.0
5115
5081
 
5116
5082
  License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltro/plugin-datadog",
3
- "version": "0.1.6",
3
+ "version": "0.2.1",
4
4
  "description": "Deep Datadog integration — agentless metrics push (unified Metrics-API → /api/v2/series) + opt-in log forwarding (dd.trace_id-correlated → /api/v2/logs) + traces (framework OTel spans → Datadog Agent OTLP) + the dd-trace continuous profiler, all correlated by the same trace id. Inert without DD_API_KEY.",
5
5
  "keywords": [
6
6
  "voltro",
@@ -32,10 +32,10 @@
32
32
  "node": ">=24.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@voltro/env": "0.1.6",
36
- "@voltro/logger": "0.1.6",
37
- "@voltro/protocol": "0.1.6",
38
- "@voltro/runtime": "0.1.6"
35
+ "@voltro/env": "0.2.1",
36
+ "@voltro/logger": "0.2.1",
37
+ "@voltro/protocol": "0.2.1",
38
+ "@voltro/runtime": "0.2.1"
39
39
  },
40
40
  "optionalDependencies": {
41
41
  "@opentelemetry/exporter-trace-otlp-http": "^0.220.0",