# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.28.9] - 2025-02-04

### Changed

- Program Transaction
  - Added `RETRACT_REFERRAL_CONVERSION` to list of allowed mutation enums

## [1.28.8] - 2024-09-16

### Changed

- Program Messages
  - Updated copy to replace Twitter with X

## [1.28.7] - 2024-07-03

### Added

- Added the new `RETRACT_REFERRAL_CONVERSION` mutation for program transactions

## [1.28.6] - 2024-04-10

### Added

- Added `fulfilledByCashPayout` for reward units

## [1.28.5] - 2024-02-15

### Changed

- Stopped requiring unnecessary fields in HTML widget

## [1.28.4] - 2024-01-03

### Added

- Added `referralId` to program transactions

## [1.28.3] - 2023-11-16

### Added

- Added `idempotencyKey` to user event imports

## [1.28.2] - 2023-09-06

### Added

- Added new `HASHED_EMAIL` ID method to managed identity config

## [1.28.1] - 2023-05-17

### Changed

- Removed incorrect trailing slash in REST API schema for the reward lookup endpoint

## [1.28.0] - 2023-05-17

### Removed

- Create Cookie User Swagger schema

## [1.27.0] - 2023-05-16

### Added

- Added autoPopup to HTML widget

### Changed

- Fixed nullable analyticsDedupeId in program transaction

## [1.26.0] - 2023-05-04

### Added

- Added BCC to HTML email

## [1.25.1] - 2023-04-20

### Changed

- Updated license copyright to be in line with SaaSquatch open-source policy.

## [1.25.0] - 2023-04-05

### Added

- Added integration managed user events

### Changed

- Fixed typos in GA user.created webhook schema

## [1.24.0] - 2023-01-18

### Added

- Added support for Integration Introspection
- Added support for the units field in program introspection to return which units a reward can potentially have
- Added support for importing the TypeScript types using ES6 syntax (old namespace method still works)

## [1.23.0] - 2022-11-29

### Added

- Add `customFields` to integration config schema

## [1.22.0] - 2022-10-17

### Added

- Tenant job schema for user events report

## [1.21.2] - 2022-10-06

### Changed

- Fix UserMetric `LAST_SEEN` aggregateId

## [1.21.1] - 2022-09-22

### Changed

- Fix Swagger schema syntax errors
- Enforce validation of Swagger schema on generate
- Improve compatibility with OpenAPI 6 generator

## [1.21.0] - 2022-09-21

### Added

- Add custom fields introspection to program template
- Add `countryCode` to program trigger schema
- Documentation for event idempotency added to Swagger schema

### Changed

- Update User Metric schema to include windowing configurations
- Update User Metric schema to remove fieldsFilter
- Fixed user metric aggregate schema, `eventKey` should've been `userEventKey`

## [1.19.0] - 2022-07-21

### Added

- Microsite template schema
- Values schema for Microsite pages and layouts
- `dependencies` and `notFoundUrlPath` to Microsite hosting schema

## [1.18.1] - 2022-07-04

### Added

- Program engine EXCHANGE_REWARD mutation

## [1.18.0] - 2022-05-09

### Changed

- Added hosted portal and managed identity config schemas

## [1.17.0] - 2022-03-23

### Added

- Tenant job schema for user deletion and US tax reports

### Changed

- Updated dependencies
- Upgraded all draft-04 schemas to draft-06

## [1.16.11] - 2021-11-17

### Changed

- Program Messages
  - Removed "image" as a required field for the "HOSTED" source
  - Removed "pinterestShareBody" as a required field for the "PINTEREST" share medium
  - Removed "pinterestImageURL" as a required field for the "PINTEREST" share medium

[1.28.9]: https://github.com/saasquatch/schema/releases/tag/v1.28.9
[1.28.8]: https://github.com/saasquatch/schema/releases/tag/v1.28.8
[1.28.7]: https://github.com/saasquatch/schema/releases/tag/v1.28.7
[1.28.6]: https://github.com/saasquatch/schema/releases/tag/v1.28.6
[1.28.5]: https://github.com/saasquatch/schema/releases/tag/v1.28.5
[1.28.4]: https://github.com/saasquatch/schema/releases/tag/v1.28.4
[1.28.3]: https://github.com/saasquatch/schema/releases/tag/v1.28.3
[1.28.2]: https://github.com/saasquatch/schema/releases/tag/v1.28.2
[1.28.1]: https://github.com/saasquatch/schema/releases/tag/v1.28.1
[1.28.0]: https://github.com/saasquatch/schema/releases/tag/v1.28.0
[1.27.0]: https://github.com/saasquatch/schema/releases/tag/v1.27.0
[1.26.0]: https://github.com/saasquatch/schema/releases/tag/v1.26.0
[1.25.1]: https://github.com/saasquatch/schema/releases/tag/v1.25.1
[1.25.0]: https://github.com/saasquatch/schema/releases/tag/v1.25.0
[1.24.0]: https://github.com/saasquatch/schema/releases/tag/v1.24.0
[1.23.0]: https://github.com/saasquatch/schema/releases/tag/v1.23.0
[1.22.0]: https://github.com/saasquatch/schema/releases/tag/v1.22.0
[1.21.2]: https://github.com/saasquatch/schema/releases/tag/v1.21.2
[1.21.1]: https://github.com/saasquatch/schema/releases/tag/v1.21.1
[1.21.0]: https://github.com/saasquatch/schema/releases/tag/v1.21.0
[1.19.0]: https://github.com/saasquatch/schema/releases/tag/v1.19.0
[1.18.1]: https://github.com/saasquatch/schema/releases/tag/v1.18.1
[1.18.0]: https://github.com/saasquatch/schema/releases/tag/v1.18.0
[1.17.0]: https://github.com/saasquatch/schema/releases/tag/v1.17.0
[1.16.11]: https://github.com/saasquatch/schema/releases/tag/v1.16.11