Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 15 May 02:01
0a3558d

2.0.0 (2026-05-15)

  • fix!: switch gateway credential schema to public/secret key pair (#3) (0a3558d)

BREAKING CHANGES

  • env var and gateway-mode header names changed. Operators
    must reissue keys from the Datto SaaS Protection partner portal — the
    real API requires a public/secret pair, not a single token.

Depends on node-datto-saas-protection 2.0.0 — bump the dep to ^2.0.0
after that release lands; this commit deliberately leaves the dep at
^1.0.0 so CI can verify the rest of the change set first.

  • chore(deps): bump @wyre-technology/node-datto-saas-protection to ^2.0.0

SDK 2.0.0 ships the corrected HTTP Basic auth + /v1/saas base URL that
this container's gateway-mode header schema was updated for in the
parent commit. With the dep on ^1.0.0 the typechecker rejected
publicKey/secretKey as unknown DattoSaasProtectionConfig fields and
CI failed across Node 18/20/22.

Local: tsc clean, vitest 9/9 pass against SDK 2.0.0.

  • chore(lint): add minimal eslint config so CI lint step passes

The CI workflow has invoked npm run lint (eslint src --ext .ts)
since the repo was scaffolded, but no .eslintrc was ever committed.
Every run on main since 2026-05-05 has failed at this step. Copying
the minimal config from halopsa-mcp (sibling container) unblocks CI.