From 8a579b5cf9423b8d1908c1061d11be8948064b2d Mon Sep 17 00:00:00 2001 From: Daniel Jih Date: Mon, 23 Oct 2017 17:11:16 -0700 Subject: [PATCH] v4.0.4 --- Amplitude-iOS.podspec | 4 ++-- Amplitude/AMPConstants.m | 2 +- CHANGELOG.md | 4 ++++ README.md | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Amplitude-iOS.podspec b/Amplitude-iOS.podspec index cc8cab91..689227d0 100644 --- a/Amplitude-iOS.podspec +++ b/Amplitude-iOS.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Amplitude-iOS" - s.version = "4.0.3" + s.version = "4.0.4" s.summary = "Amplitude mobile analytics iOS SDK." s.homepage = "https://amplitude.com" s.license = { :type => "MIT" } s.author = { "Amplitude" => "dev@amplitude.com" } - s.source = { :git => "https://github.com/amplitude/Amplitude-iOS.git", :tag => "v4.0.3" } + s.source = { :git => "https://github.com/amplitude/Amplitude-iOS.git", :tag => "v4.0.4" } s.ios.deployment_target = '7.0' s.tvos.deployment_target = '9.0' s.source_files = 'Amplitude/*.{h,m}', 'Amplitude/SSLCertificatePinning/*.{h,m}' diff --git a/Amplitude/AMPConstants.m b/Amplitude/AMPConstants.m index 4dc3d816..8e8bc576 100644 --- a/Amplitude/AMPConstants.m +++ b/Amplitude/AMPConstants.m @@ -4,7 +4,7 @@ #import "AMPConstants.h" NSString *const kAMPLibrary = @"amplitude-ios"; -NSString *const kAMPVersion = @"4.0.3"; +NSString *const kAMPVersion = @"4.0.4"; NSString *const kAMPEventLogDomain = @"api.amplitude.com"; NSString *const kAMPEventLogUrl = @"https://api.amplitude.com/"; NSString *const kAMPDefaultInstance = @"$default_instance"; diff --git a/CHANGELOG.md b/CHANGELOG.md index aef6303f..ef4a4b12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Unreleased +## 4.0.4 (October 23, 2017) + +* Fix bug where events in the initial session for brand new users have a session id of -1 (introduced in v4.0.2). + ## 4.0.3 (October 16, 2017) * Fix unknown carrier caching. This fixes "Could not successfully update network info during initialization" warnings when logging events on devices without SIM cards. diff --git a/README.md b/README.md index 3b60d622..033feeb4 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ An iOS SDK for tracking events and revenue to [Amplitude](https://www.amplitude. Please see our [installation guide](https://amplitude.zendesk.com/hc/en-us/articles/115002278527-iOS-SDK-Installation) for instructions on installing and using our iOS SDK. # Latest Version # -[4.0.3 - Released on October 16, 2017](https://github.com/amplitude/Amplitude-iOS/releases/latest) +[4.0.4 - Released on October 23, 2017](https://github.com/amplitude/Amplitude-iOS/releases/latest) [![Circle CI](https://circleci.com/gh/amplitude/Amplitude-iOS.svg?style=shield&circle-token=e1b2a7d2cd6dd64ac3643bc8cb2117c0ed5cbb75)](https://circleci.com/gh/amplitude/Amplitude-iOS/tree/master) [![CocoaPods](https://img.shields.io/cocoapods/v/Amplitude-iOS.svg?style=flat)](http://cocoadocs.org/docsets/Amplitude-iOS/) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)