# App Environment

@dynatrace-sdk/app-environment

## 1.1.6

### Patch Changes

- Published packages now include an `exports` map in their `package.json` (with `types`, `require` and `import` conditions), so Node.js resolves the `esm/` output as native ES modules. Previously the `module` field was only honoured by bundlers, so the `type: module` marker in `esm/package.json` had no effect in plain Node.js ESM resolution. Deep imports into `cjs/`, `esm/` or `types/` that are not listed in the map are no longer permitted.
- A `package.json` containing `{"type":"module"}` is now emitted into the `esm/` output directory of each published package. This allows Node.js and bundlers to correctly identify the ESM output as ES modules without requiring the `.mjs` file extension.

## 1.1.5

### Patch Changes

- Generated TypeScript declarations are now rolled up into a single `types/index.d.ts` per entry point. (APPDEV-11700)
- Add Vitest support to `setupTestingEnv()` — initialization now works correctly in both Jest and Vitest test runners.

## 1.1.4

### Patch Changes

- Fixed incorrect import path in code examples for getAppId(). (APPDEV-15672)

## 1.1.3

### Patch Changes

- Fixed code examples in JSDoc for exported methods. (APPDEV-13971)

## 1.1.2

### Patch Changes

- Added missing documentation when no runtime is injected. APPDEV-12578

## 1.1.1

### Patch Changes

- Added code examples in JSDoc for exported methods. (APPDEV-13403)

## 1.1.0

### Minor Changes

- Add getCurrentUserDetails method.

## 1.0.2

### Patch Changes

- web runtime name updated in console logs and errors.

## 1.0.1

### Patch Changes

- Update documentation

## 1.0.0

### Major Changes

- Initial public release.