diff --git a/CHANGELOG.md b/CHANGELOG.md index daa1ee2..7262643 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,9 @@ 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). -## [Unreleased] +## [1.2.0] - 2024-08-13 ### Added -* *Nothing* +* Add support for `ip-address` redirect condition type. ### Changed * Update JS coding standard and migrate to ESLint flat config. diff --git a/src/api-contract/types.ts b/src/api-contract/types.ts index a0b1929..f8c6c06 100644 --- a/src/api-contract/types.ts +++ b/src/api-contract/types.ts @@ -227,7 +227,7 @@ export type ShlinkShortUrlsListParams = { excludePastValidUntil?: boolean; }; -export type ShlinkRedirectConditionType = 'device' | 'language' | 'query-param'; +export type ShlinkRedirectConditionType = 'device' | 'language' | 'query-param' | 'ip-address'; export type ShlinkRedirectCondition = { type: ShlinkRedirectConditionType;