The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
## What's Changed
* FFM-8138 Tidies up behaviour around flag deletion:
* Exposes new `onDelete` event you can listen for which is emitted when a flag has been deleted.
* Previously, if a flag was deleted, its evaluations would remain in the SDK cache and any variation calls made to it would result in an out-of-date evaluation for your target.
* FFM-8138 Don't report metrics when default variation served, which would result in inaccurate flag metrics.
by @erdirowlands in https://github.com/harness/ff-ios-client-sdk/pull/42
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.2.0...1.3.0
## What's Changed
* FFM-10601 - Fix race condition in Metrics map by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/39
* FFM-10601 - Update Metrics Map by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/40
* FFM-10601 - Update dependencies by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/41
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.1.3...1.2.0
## What's Changed
* FFM-10516 Add completion handler in overloaded `destroy` method by @erdirowlands in https://github.com/harness/ff-ios-client-sdk/pull/37
## New Contributors
* @erdirowlands made their first contribution in https://github.com/harness/ff-ios-client-sdk/pull/37
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.1.2...1.1.3
## What's Changed
* FFM-9409 - Metrics payload incorrectly sending global target identifier by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/36
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.1.1...1.1.2
## What's Changed
* [FFM-9282] - Fix runtime failure when target is nil by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/35
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.1.0...1.1.1
This is a major release as part of general SDK hardening aimed at bringing better stability and improvements. Highlights are:
* Easier to use API (no need to use closure blocks on evalations now)
* Custom TLS support (for on-prem deployment see [here](https://github.com/harness/ff-ios-client-sdk/pull/28))
* Resiliency improvements when connecting to the FF server
* Various changes for performance
* Use your own logging framework (see [here](https://github.com/harness/ff-ios-client-sdk/blob/main/docs/further_reading.md#custom-loggers))
* Standardise SDK error codes (see below):
List of SDKCODEs:
- **1000** Successfully initialized
- **1001** Failed to initialize due to authentication error
- **1002** Failed to initialize due to a missing or empty API key
- **1003** The SDK is waiting for initialization to complete
- **1004** Server presented an invalid TLS certificate
- **1005** Server hostname mismatch in TLS certificate
- **2000** Successfully authenticated
- **3000** SDK closing
- **3001** SDK closed successfully
- **4000** Polling service started
- **4001** Polling service stopped
- **5000** Streaming service started
- **5001** Streaming service stopped
- **5002** Streaming event received
- **5003** Streaming disconnected and is retrying to connect
- **5004** Streaming stopped
- **6000** Evaluation was successfully
- **6001** Evaluation failed and the default value was returned
- **7000** Metrics service has started
- **7001** Metrics service has stopped
- **7002** Metrics posting failed
- **7003** Metrics posting success
_Please include any SDKCODEs logged if you require help from the Harness support team._
## What's Changed
* FFM-8056 - Add support for variation methods that don't require a closure block by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/19
* FFM-8056 - Update version number by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/20
* FFM-7956 - Add pre-evaluation support by @conormurray95 in https://github.com/harness/ff-ios-client-sdk/pull/21
* FFM-8137 - Handle group create events correctly by @conormurray95 in https://github.com/harness/ff-ios-client-sdk/pull/22
* FFM-8162 - Fix unit tests by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/23
* FFM-8143 - IOS group pre-evaluation events by @conormurray95 in https://github.com/harness/ff-ios-client-sdk/pull/25
* FFM-8174 - Add group event callback by @conormurray95 in https://github.com/harness/ff-ios-client-sdk/pull/24
* FFM-8160 - Add refreshEvaluations() API method by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/26
* FFM-8048 - Add HTTP headers for diagnostics by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/27
* FFM-7015 - Support custom TLS CAs by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/28
* FFM-8045 - Standardise Init / Auth / Close / Polling / Streaming / M…… by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/29
* FFM-8361 - Reformat Swift code with swift-format by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/30
* FFM-8361 - Reformat CfClient by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/31
* FFM-8106 - initialize() will now correctly setup the SSE channel by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/32
* FFM-8049 - Retry on Client Authentication failures by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/33
* FFM-8360 - Remove NSLog calls and use Logger instead by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/34
## New Contributors
* @conormurray95 made their first contribution in https://github.com/harness/ff-ios-client-sdk/pull/21
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.0.4...1.1.0
## What's Changed
* FFM-8056 - Add support for variation methods that don't require a closure block by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/19
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.0.4...1.1.0-rc1
## What's Changed
* FFM-3746 Test and update SDK README by @nam054 in https://github.com/harness/ff-ios-client-sdk/pull/16
* FFM-8051 - iOS SDK - SSE event stream doesn't time out when no data arrives by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/17
* FFM-8034 - iOS SDK Crash - defaultAPIManager being force unwrapped when nil by @andybharness in https://github.com/harness/ff-ios-client-sdk/pull/18
## New Contributors
* @nam054 made their first contribution in https://github.com/harness/ff-ios-client-sdk/pull/16
* @andybharness made their first contribution in https://github.com/harness/ff-ios-client-sdk/pull/17
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.0.3...1.0.4
## What's Changed
* Ffm 1004 in https://github.com/harness/ff-ios-client-sdk/pull/14
* [FFM-3788]: iOS does not handle target-segment patch events correctly by @bmjen in https://github.com/harness/ff-ios-client-sdk/pull/15
## New Contributors
* @bmjen made their first contribution in https://github.com/harness/ff-ios-client-sdk/pull/15
**Full Changelog**: https://github.com/harness/ff-ios-client-sdk/compare/1.0.2...1.0.3
- Support for FF metrics.