# @\_linked/sentry

## 1.4.2

### Patch Changes

- [#67](https://github.com/linked-fw/sentry/pull/67) [`bc48e52`](https://github.com/linked-fw/sentry/commit/bc48e5289b89b6b596c003434d147b42d402b8ab) Thanks [@flyon](https://github.com/flyon)! - `package.json` says what this package is in `"linked": {"kind": "library"}` instead of `"linkedPackage": true`, which the CLI and server no longer read.

- [#67](https://github.com/linked-fw/sentry/pull/67) [`4e8a4a0`](https://github.com/linked-fw/sentry/commit/4e8a4a016c629b820fc528218880b95de7c29225) Thanks [@flyon](https://github.com/flyon)! - Remove the unused `tsconfig-es5.json`. No script referenced it; running it by accident would have overwritten `lib/` with declaration-less ES5. Build output is unchanged.

## 1.4.1

### Patch Changes

- [#62](https://github.com/linked-fw/sentry/pull/62) [`a59cd68`](https://github.com/linked-fw/sentry/commit/a59cd6834676733745dbf070fc11b4b686e1b4fd) Thanks [@flyon](https://github.com/flyon)! - License: MIT (data under its original license)

## 1.4.0

### Minor Changes

- [#60](https://github.com/linked-fw/sentry/pull/60) [`0b3fed5`](https://github.com/linked-fw/sentry/commit/0b3fed5eb7a5364f2a864cf8773df0b45b6b5d56) Thanks [@flyon](https://github.com/flyon)! - Ontology data: labels, descriptions and types for every term.
  
  - `src/data/sentry.ttl`, copied into `lib/esm/data/` by the build, is the ontology's data: the
    ontology node (`dcterms:title`, `dcterms:description`, `owl:versionInfo`) and every term of
    `ontologies/sentry`, each typed (`owl:Class`, `owl:ObjectProperty` or `owl:DatatypeProperty`) with an
    English `rdfs:label` and `rdfs:comment`, in the deterministic Turtle form.
  - `ontologies/sentry` exports `dataFiles` and `loadData` (read through
    `@_linked/core/ontology/loadOntologyFiles`, server only), and the register module passes both, so
    the ontology sync and the shape check read the data.
  - **Breaking:** `src/data/sentry.json` (a placeholder) is deleted, so `data/sentry.json` is no longer in
    `lib/esm/`, and `loadData()` resolves to the Turtle text (`string[]`) instead of a JSON-LD document.

## 1.3.0

### Minor Changes

- [#7](https://github.com/linked-fw/sentry/pull/7) [`7a7f576`](https://github.com/linked-fw/sentry/commit/7a7f57622d8599ef9e103c467541a8e05f4034e3) Thanks [@abdipramana](https://github.com/abdipramana)! - Add shared opt-in Sentry configuration, recursive sensitive-field scrubbing,
  working frontend error capture, and idempotent backend initialization. Native
  Node profiling is now separately enabled with `SENTRY_PROFILING_ENABLED=true`;
  an unavailable profiler no longer prevents standard error reporting from
  starting.

## 1.2.2

### Patch Changes

- [#52](https://github.com/linked-fw/sentry/pull/52) [`dc6299b`](https://github.com/linked-fw/sentry/commit/dc6299b279f8607b3393fad637f5cf1fbcdca265) Thanks [@flyon](https://github.com/flyon)! - Build with `linked build`, the standard build for linked packages. The published `lib/` holds the same files as before; the `rimraf` and `copyfiles` dev dependencies are gone. The type packages the compiler config already relies on (`@types/node`, `@types/react`, `@types/react-dom`) are now declared as dev dependencies instead of arriving transitively.

## 1.2.1

### Patch Changes

- [#49](https://github.com/linked-fw/sentry/pull/49) [`e318ef5`](https://github.com/linked-fw/sentry/commit/e318ef59e82457ed8b448c119c64fb4835db432b) Thanks [@flyon](https://github.com/flyon)! - Publish only the files consumers need; the tarball no longer includes `.changeset/`, `.gitattributes`, `.github/`, `docs/`, `renovate.json`, `test/` or tsconfig files.

## 1.2.0

### Minor Changes

- [#42](https://github.com/linked-fw/sentry/pull/42) [`42b3ef4`](https://github.com/linked-fw/sentry/commit/42b3ef4246e5308882ec17b8c88fb3c7a5af7d4f) Thanks [@flyon](https://github.com/flyon)! - The sentry ontology moves from `http://lincd.org/ont/sentry/` to `https://linked.cm/ont/sentry/`, the first-party scheme every public package uses (`https://linked.cm/ont/{publicSlug}/`).
  
  No data migration is needed: its terms (`sentry.ExampleClass`, `sentry.exampleProperty`) are scaffold placeholders that nothing uses, and no stored data or shape carries them. The prefix key (`sentry`) and the `ontologies/sentry` module are unchanged.

## 1.1.3

### Patch Changes

- [#39](https://github.com/linked-fw/sentry/pull/39) [`e1b0ac5`](https://github.com/linked-fw/sentry/commit/e1b0ac51257c40e90042293d2293634b21790240) Thanks [@flyon](https://github.com/flyon)! - `SentryBackendErrorLogger` no longer crashes with `ReferenceError: require is not defined` when Sentry is enabled (SENTRY_DSN + SITE_ROOT set, non-development NODE_ENV). The package is ESM; `@sentry/node` is now imported statically, the same module instance `backend.ts` already uses.

## 1.1.2

### Patch Changes

- [#37](https://github.com/linked-fw/sentry/pull/37) [`366b193`](https://github.com/linked-fw/sentry/commit/366b193cbb9cca7319a2b5966fb9be3ad2dbeeeb) Thanks [@flyon](https://github.com/flyon)! - `main` now points at `lib/esm/index.js`. It named `lib/cjs/index.js`, which the build has never produced — the package is ESM-only — so any resolver that reads `main` instead of `exports` could not find the package at all. The unused `tsconfig-cjs.json` is removed, so `linked build` no longer compiles a CommonJS copy nothing can load.

## 1.1.1

### Patch Changes

- [#25](https://github.com/linked-fw/sentry/pull/25) [`d81692f`](https://github.com/linked-fw/sentry/commit/d81692f05e799dc57fed010c867e28a35f03ba7d) Thanks [@flyon](https://github.com/flyon)! - Sourcemaps now embed their TypeScript source, so consumers no longer see 'points to missing source files' warnings.

## 1.1.0

### Minor Changes

- [#22](https://github.com/linked-fw/sentry/pull/22) [`fc168bd`](https://github.com/linked-fw/sentry/commit/fc168bd92af9ac92c78ca43629faad97491cb78c) Thanks [@flyon](https://github.com/flyon)! - Require `@_linked/core@^2.22.8` (was `^2.21.0`), and pin it in the lockfile.

  The declared range was wide enough that the resolved core depended on whatever the
  consumer — or this repo's own CI, via `package-lock.json` — happened to install. Core
  decides how a shape's IRI is minted, so a stale core made this package emit legacy
  `data.lincd.org` IRIs instead of the arch-02 `linked.cm` scheme. Which IRIs a published
  package produces should not be a function of the installer's dependency tree.

  Minor rather than patch: this raises the minimum core a consumer must resolve, so it
  changes what gets installed rather than only what this package does internally.

## 1.0.10

### Patch Changes

- [#20](https://github.com/linked-fw/sentry/pull/20) [`350ce71`](https://github.com/linked-fw/sentry/commit/350ce716eed37b8f0d8d6f324680481a7b91b7ac) Thanks [@flyon](https://github.com/flyon)! - Give this package its own linked identity

  `src/package.ts` re-exported core's decorators verbatim and declared
  `packageName` as a bare literal that nothing was bound to, so everything
  declared here registered under `@_linked/core`: the `sentry` ontology landed in
  core's entry in the package tree, and the next `@linkedShape` added here would
  silently have been given a `.../shape/core/...` IRI. `Server.call` routes on
  the package name a shape carries, so one naming the wrong package is simply
  unreachable.

  **No shape IRI changes**, because no shape is decorated here today — that is
  why this is a patch and not a minor. The only visible change is where the
  `sentry` ontology is registered in the package tree.

  Same defect and same fix as linked-fw/owl#26, where shapes did exist and the
  IRIs did change.

## 1.0.9

### Patch Changes

- [#18](https://github.com/linked-fw/sentry/pull/18) [`1c8b842`](https://github.com/linked-fw/sentry/commit/1c8b842d44a0bb522468218bdc883d08564f5f29) Thanks [@flyon](https://github.com/flyon)! - Point `types` at `index.d.ts` so a bare import gets types under node10 resolution.

  `typesVersions` (`{"*": {"*": ["lib/esm/*"]}}`) is applied to the root `types` value, so the
  previous value resolved to a path under `lib/esm/` that the build never emits. Subpath imports
  resolved fine through `exports`, which hid the failure from a bare `import … from '@_linked/sentry'`.

## 1.0.8

### Patch Changes

- [#16](https://github.com/linked-fw/sentry/pull/16) [`a1c5c28`](https://github.com/linked-fw/sentry/commit/a1c5c28112cdb30ec665480a324c990d077d1cac) Thanks [@flyon](https://github.com/flyon)! - The ontology no longer registers by importing itself.

  It carried `import * as _this from './<prefix>.js'` and passed that namespace to
  `linkedOntology()`. Under `tsc` the self-reference survives; under a bundler it does
  not — Rollup treats it as a circular import and elides it, so the binding is
  `undefined` and a consuming app dies at boot with `_this is not defined`.

  Registration now lives in a `<prefix>.register.ts` sibling, imported from the package
  entry. Nothing changes for consumers: importing this package still registers the
  ontology.

## 1.0.7

### Patch Changes

- [#14](https://github.com/linked-fw/sentry/pull/14) [`8e58894`](https://github.com/linked-fw/sentry/commit/8e58894ef9044428f0d177c6191055fdd71ad041) Thanks [@flyon](https://github.com/flyon)! - Compile the whole `src` folder, and let a bare import resolve under Node10.

  The build only emitted what an entry transitively reached, so any module
  nothing imported was never built — and never type-checked, so it rotted
  quietly. `include` now covers `src/**/*` with tests excluded explicitly.

  `typesVersions` maps every specifier through `lib/esm/*`, so a `types` value
  that already carried that prefix had it applied twice and no consumer on
  classic Node10 resolution could `import` the package by its bare name.

## 1.0.6

### Patch Changes

- [#11](https://github.com/linked-fw/sentry/pull/11) [`5e93859`](https://github.com/linked-fw/sentry/commit/5e9385914e7aa4aa978b67a8a4cf6311ffe97ab5) Thanks [@flyon](https://github.com/flyon)! - Declare npm as the package manager for this repo, convert the build scripts off `yarn`, and mark `package-lock.json` as a generated file.

## 1.0.3

### Patch Changes

- [#3](https://github.com/linked-cm/sentry/pull/3) [`77123bb`](https://github.com/linked-cm/sentry/commit/77123bbfed00a40a5225e4f73d0470caf888fa67) Thanks [@flyon](https://github.com/flyon)! - loadData: ESM-only JSON import — drop the dead CJS branch, add the `{ with: { type: 'json' } }` import attribute.

## 1.0.2

### Patch Changes

- [`25d0591`](https://github.com/linked-cm/sentry/commit/25d059155ddc87bd091b16331b5b293405a7efb8) - Initial release under the new publishing setup.
