# Notification v2

@dynatrace-sdk/client-notification-v2

## 2.5.0

### Minor changes

- Add `triggerOn` field to `DavisEventConfig` and `DavisProblemConfig` - selects which lifecycle phase fires the trigger: `"open"` (active only, default), `"open-and-close"` (both active and close phases), or `"close"` (closure only). Adds the corresponding `TriggerOn` enum type.
- Deprecate `onProblemClose` boolean in `DavisEventConfig` and `DavisProblemConfig` - use `triggerOn` instead.

## 2.4.1

### Patch Changes

- Properly handle nullable enum schemas. (APPDEV-17637)

## 2.4.0

### Minor changes

- Add `problemOpenDuration` to `DavisProblemConfig` — minimum problem duration in minutes before the Davis Problem trigger fires.

## 2.3.0

### Minor changes

- Add `TriggerOnUpdateFields` enum type for `triggerOnUpdateFields` field in `DavisProblemConfig`.

## 2.2.0

### Minor changes

- Add `severityThreshold` to `DavisProblemConfig` to allow triggering only for problems with a specific severity.

## 2.1.1

### Patch Changes

- Revert: Fix redundant undefined or optional properties in model types. (APPDEV-7583) (APPDEV-16631)

## 2.1.0

### Minor changes

- Support analysisReady property in Davis Problem trigger configuration

## 2.0.0

### Major changes

- Disallow id as property when creating a resource notification.

### Minor changes

- Add maintenanceWindowTriggerBehavior for davis event trigger

## 1.1.2

- Add missing nullable properties
- Add examples for workflow trigger types

## 1.1.1

### Patch Changes

- Fix transformations for date format strings. (APPDEV-14400)
- Update dependencies. (APPDEV-13611)

## 1.1.0

### Minor changes

- Support security.events

## 1.0.0

- Release v1.0.0

## 0.7.0

- Also handle 5xx errors.

## 0.6.0

- Introduce ErrorDetails type.

## 0.5.0

Introduce event-notifications.

## 0.4.0

- Removed `patchResourceNotification` and `updateResourceNotification` from resource notifications.
- Add method `deleteResourceNotificationByTypeAndResource` to allowing deletion based on `notificationType` and `resource id`

## 0.3.0

Method names for resource-notification operations are now user-friendlier.

## 0.2.1

### Patch Changes

- Update dependencies. (APPDEV-11813)

## 0.2.0

Switch to self-notification permission in notification API v2 for testing/development.

## 0.1.0

### Minor Changes

- Introduce package.