Skip to content

Commit

Permalink
chore(release): 1.4.0
Browse files Browse the repository at this point in the history
# [1.4.0](v1.3.0...v1.4.0) (2022-07-29)

### Features

* add missing BaseEvent model fields ([#21](#21)) ([bad59c3](bad59c3))
  • Loading branch information
mparticle-automation committed Jul 29, 2022
1 parent bad59c3 commit df98f51
Show file tree
Hide file tree
Showing 29 changed files with 91 additions and 66 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [1.4.0](https://github.com/mParticle/crossplatform-sdk-tests/compare/v1.3.0...v1.4.0) (2022-07-29)


### Features

* add missing BaseEvent model fields ([#21](https://github.com/mParticle/crossplatform-sdk-tests/issues/21)) ([bad59c3](https://github.com/mParticle/crossplatform-sdk-tests/commit/bad59c35b1fb8caddd000a9e583f45b7b9c7350c))

# [1.3.0](https://github.com/mParticle/crossplatform-sdk-tests/compare/v1.2.1...v1.3.0) (2022-07-27)


Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ repositories {

dependencies {
...
implementation("com.mparticle:models:1.3.0") // <--- add for serializable server DTOs
implementation("com.mparticle:models:1.4.0") // <--- add for serializable server DTOs
...
androidTestImplementation("com.mparticle:testing:1.3.0") // <--- add for `Server` and instrumented testing base classes
androidTestImplementation("com.mparticle:testing:1.4.0") // <--- add for `Server` and instrumented testing base classes
}
```

Expand Down
2 changes: 1 addition & 1 deletion frameworks/Tests.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'Tests'
spec.version = '1.3.0'
spec.version = '1.4.0'
spec.homepage = '.'
spec.source = { :http=> ''}
spec.authors = ''
Expand Down
2 changes: 1 addition & 1 deletion frameworks/api.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'api'
spec.version = '1.3.0'
spec.version = '1.4.0'
spec.homepage = '.'
spec.source = { :http=> ''}
spec.authors = ''
Expand Down
12 changes: 6 additions & 6 deletions frameworks/mParticle_Api.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>mParticle_Api.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>mParticle_Api.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ __attribute__((swift_name("ModelsEmpty")))
__attribute__((objc_subclassing_restricted))
__attribute__((swift_name("ModelsBatchMessage")))
@interface MPMModelsBatchMessage : MPMModelsDTO
- (instancetype)initWithEcho:(MPMBoolean * _Nullable)echo type:(NSString * _Nullable)type id:(NSString * _Nullable)id timestamp:(MPMLong * _Nullable)timestamp mparticleVersion:(NSString * _Nullable)mparticleVersion optOutHeader:(MPMBoolean * _Nullable)optOutHeader configUploadInterval:(MPMInt * _Nullable)configUploadInterval configSessionTimeout:(MPMInt * _Nullable)configSessionTimeout mpid:(NSString * _Nullable)mpid sandbox:(MPMBoolean * _Nullable)sandbox deviceApplicationStamp:(NSString * _Nullable)deviceApplicationStamp deletedUserAttributes:(NSArray<NSString *> * _Nullable)deletedUserAttributes cookies:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)cookies providerPersistence:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)providerPersistence integrationAttributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)integrationAttributes consentState:(MPMModelsConsentStateMessage * _Nullable)consentState dataplanContext:(MPMModelsDataplanContextMessage * _Nullable)dataplanContext messages:(NSArray<MPMModelsBaseEvent *> *)messages reportingMessages:(NSArray<MPMModelsReportingMessageMessage *> * _Nullable)reportingMessages appInfo:(MPMModelsAppInfoMessage * _Nullable)appInfo deviceInfo:(MPMModelsDeviceInfoMessage * _Nullable)deviceInfo identities:(NSArray<MPMModelsUserIdentities *> * _Nullable)identities attributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)attributes sessionHistory:(NSArray<MPMModelsBaseEvent *> *)sessionHistory __attribute__((swift_name("init(echo:type:id:timestamp:mparticleVersion:optOutHeader:configUploadInterval:configSessionTimeout:mpid:sandbox:deviceApplicationStamp:deletedUserAttributes:cookies:providerPersistence:integrationAttributes:consentState:dataplanContext:messages:reportingMessages:appInfo:deviceInfo:identities:attributes:sessionHistory:)"))) __attribute__((objc_designated_initializer));
- (instancetype)initWithEcho:(MPMBoolean * _Nullable)echo type:(NSString * _Nullable)type id:(NSString * _Nullable)id timestamp:(MPMLong * _Nullable)timestamp mparticleVersion:(NSString * _Nullable)mparticleVersion optOutHeader:(MPMBoolean * _Nullable)optOutHeader configUploadInterval:(MPMInt * _Nullable)configUploadInterval configSessionTimeout:(MPMInt * _Nullable)configSessionTimeout mpid:(NSString * _Nullable)mpid sandbox:(MPMBoolean * _Nullable)sandbox deviceApplicationStamp:(NSString * _Nullable)deviceApplicationStamp deletedUserAttributes:(NSArray<NSString *> * _Nullable)deletedUserAttributes cookies:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)cookies providerPersistence:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)providerPersistence integrationAttributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)integrationAttributes consentState:(MPMModelsConsentStateMessage * _Nullable)consentState dataplanContext:(MPMModelsDataplanContextMessage * _Nullable)dataplanContext messages:(NSArray<MPMModelsBaseEvent *> *)messages reportingMessages:(NSArray<MPMModelsReportingMessageMessage *> * _Nullable)reportingMessages appInfo:(MPMModelsAppInfoMessage * _Nullable)appInfo deviceInfo:(MPMModelsDeviceInfoMessage * _Nullable)deviceInfo identities:(NSArray<MPMModelsUserIdentities *> * _Nullable)identities attributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)attributes sessionHistory:(NSArray<MPMModelsBaseEvent *> *)sessionHistory modifiedBatch:(MPMBoolean * _Nullable)modifiedBatch __attribute__((swift_name("init(echo:type:id:timestamp:mparticleVersion:optOutHeader:configUploadInterval:configSessionTimeout:mpid:sandbox:deviceApplicationStamp:deletedUserAttributes:cookies:providerPersistence:integrationAttributes:consentState:dataplanContext:messages:reportingMessages:appInfo:deviceInfo:identities:attributes:sessionHistory:modifiedBatch:)"))) __attribute__((objc_designated_initializer));
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
+ (instancetype)new __attribute__((unavailable));
@property (class, readonly, getter=companion) MPMModelsBatchMessageCompanion *companion __attribute__((swift_name("companion")));
Expand All @@ -667,6 +667,7 @@ __attribute__((swift_name("ModelsBatchMessage")))
@property (readonly) NSArray<MPMModelsUserIdentities *> * _Nullable identities __attribute__((swift_name("identities")));
@property (readonly) NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable integrationAttributes __attribute__((swift_name("integrationAttributes")));
@property (readonly) NSArray<MPMModelsBaseEvent *> *messages __attribute__((swift_name("messages")));
@property (readonly) MPMBoolean * _Nullable modifiedBatch __attribute__((swift_name("modifiedBatch")));
@property (readonly) NSString * _Nullable mparticleVersion __attribute__((swift_name("mparticleVersion")));
@property (readonly) NSString * _Nullable mpid __attribute__((swift_name("mpid")));
@property (readonly) MPMBoolean * _Nullable optOutHeader __attribute__((swift_name("optOutHeader")));
Expand Down Expand Up @@ -971,13 +972,15 @@ __attribute__((swift_name("ModelsDataplanContextMessage")))

__attribute__((swift_name("ModelsBaseEvent")))
@interface MPMModelsBaseEvent : MPMModelsDTO
- (instancetype)initWithTimeStamp:(MPMLong * _Nullable)timeStamp stateInfo:(MPMModelsStateInfoMessage * _Nullable)stateInfo id:(NSString * _Nullable)id sessionId:(NSString * _Nullable)sessionId sessionStartTimestamp:(MPMLong * _Nullable)sessionStartTimestamp location:(MPMModelsLocationMessage * _Nullable)location dataConnection:(NSString * _Nullable)dataConnection attributes:(NSDictionary<NSString *, id> * _Nullable)attributes eventFlags:(NSDictionary<NSString *, id> * _Nullable)eventFlags __attribute__((swift_name("init(timeStamp:stateInfo:id:sessionId:sessionStartTimestamp:location:dataConnection:attributes:eventFlags:)"))) __attribute__((objc_designated_initializer));
- (instancetype)initWithTimeStamp:(MPMLong * _Nullable)timeStamp stateInfo:(MPMModelsStateInfoMessage * _Nullable)stateInfo id:(NSString * _Nullable)id sessionId:(NSString * _Nullable)sessionId sessionStartTimestamp:(MPMLong * _Nullable)sessionStartTimestamp location:(MPMModelsLocationMessage * _Nullable)location dataConnection:(NSString * _Nullable)dataConnection attributes:(NSDictionary<NSString *, id> * _Nullable)attributes eventFlags:(NSDictionary<NSString *, id> * _Nullable)eventFlags eventStartTime:(MPMLong * _Nullable)eventStartTime eventCount:(MPMInt * _Nullable)eventCount __attribute__((swift_name("init(timeStamp:stateInfo:id:sessionId:sessionStartTimestamp:location:dataConnection:attributes:eventFlags:eventStartTime:eventCount:)"))) __attribute__((objc_designated_initializer));
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
+ (instancetype)new __attribute__((unavailable));
@property (class, readonly, getter=companion) MPMModelsBaseEventCompanion *companion __attribute__((swift_name("companion")));
@property NSDictionary<NSString *, id> * _Nullable attributes __attribute__((swift_name("attributes")));
@property NSString * _Nullable dataConnection __attribute__((swift_name("dataConnection")));
@property MPMInt * _Nullable eventCount __attribute__((swift_name("eventCount")));
@property NSDictionary<NSString *, id> * _Nullable eventFlags __attribute__((swift_name("eventFlags")));
@property MPMLong * _Nullable eventStartTime __attribute__((swift_name("eventStartTime")));
@property NSString * _Nullable id __attribute__((swift_name("id")));
@property MPMModelsLocationMessage * _Nullable location __attribute__((swift_name("location")));
@property (readonly) NSString *messageType __attribute__((swift_name("messageType")));
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ __attribute__((swift_name("ModelsEmpty")))
__attribute__((objc_subclassing_restricted))
__attribute__((swift_name("ModelsBatchMessage")))
@interface MPMModelsBatchMessage : MPMModelsDTO
- (instancetype)initWithEcho:(MPMBoolean * _Nullable)echo type:(NSString * _Nullable)type id:(NSString * _Nullable)id timestamp:(MPMLong * _Nullable)timestamp mparticleVersion:(NSString * _Nullable)mparticleVersion optOutHeader:(MPMBoolean * _Nullable)optOutHeader configUploadInterval:(MPMInt * _Nullable)configUploadInterval configSessionTimeout:(MPMInt * _Nullable)configSessionTimeout mpid:(NSString * _Nullable)mpid sandbox:(MPMBoolean * _Nullable)sandbox deviceApplicationStamp:(NSString * _Nullable)deviceApplicationStamp deletedUserAttributes:(NSArray<NSString *> * _Nullable)deletedUserAttributes cookies:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)cookies providerPersistence:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)providerPersistence integrationAttributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)integrationAttributes consentState:(MPMModelsConsentStateMessage * _Nullable)consentState dataplanContext:(MPMModelsDataplanContextMessage * _Nullable)dataplanContext messages:(NSArray<MPMModelsBaseEvent *> *)messages reportingMessages:(NSArray<MPMModelsReportingMessageMessage *> * _Nullable)reportingMessages appInfo:(MPMModelsAppInfoMessage * _Nullable)appInfo deviceInfo:(MPMModelsDeviceInfoMessage * _Nullable)deviceInfo identities:(NSArray<MPMModelsUserIdentities *> * _Nullable)identities attributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)attributes sessionHistory:(NSArray<MPMModelsBaseEvent *> *)sessionHistory __attribute__((swift_name("init(echo:type:id:timestamp:mparticleVersion:optOutHeader:configUploadInterval:configSessionTimeout:mpid:sandbox:deviceApplicationStamp:deletedUserAttributes:cookies:providerPersistence:integrationAttributes:consentState:dataplanContext:messages:reportingMessages:appInfo:deviceInfo:identities:attributes:sessionHistory:)"))) __attribute__((objc_designated_initializer));
- (instancetype)initWithEcho:(MPMBoolean * _Nullable)echo type:(NSString * _Nullable)type id:(NSString * _Nullable)id timestamp:(MPMLong * _Nullable)timestamp mparticleVersion:(NSString * _Nullable)mparticleVersion optOutHeader:(MPMBoolean * _Nullable)optOutHeader configUploadInterval:(MPMInt * _Nullable)configUploadInterval configSessionTimeout:(MPMInt * _Nullable)configSessionTimeout mpid:(NSString * _Nullable)mpid sandbox:(MPMBoolean * _Nullable)sandbox deviceApplicationStamp:(NSString * _Nullable)deviceApplicationStamp deletedUserAttributes:(NSArray<NSString *> * _Nullable)deletedUserAttributes cookies:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)cookies providerPersistence:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)providerPersistence integrationAttributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)integrationAttributes consentState:(MPMModelsConsentStateMessage * _Nullable)consentState dataplanContext:(MPMModelsDataplanContextMessage * _Nullable)dataplanContext messages:(NSArray<MPMModelsBaseEvent *> *)messages reportingMessages:(NSArray<MPMModelsReportingMessageMessage *> * _Nullable)reportingMessages appInfo:(MPMModelsAppInfoMessage * _Nullable)appInfo deviceInfo:(MPMModelsDeviceInfoMessage * _Nullable)deviceInfo identities:(NSArray<MPMModelsUserIdentities *> * _Nullable)identities attributes:(NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable)attributes sessionHistory:(NSArray<MPMModelsBaseEvent *> *)sessionHistory modifiedBatch:(MPMBoolean * _Nullable)modifiedBatch __attribute__((swift_name("init(echo:type:id:timestamp:mparticleVersion:optOutHeader:configUploadInterval:configSessionTimeout:mpid:sandbox:deviceApplicationStamp:deletedUserAttributes:cookies:providerPersistence:integrationAttributes:consentState:dataplanContext:messages:reportingMessages:appInfo:deviceInfo:identities:attributes:sessionHistory:modifiedBatch:)"))) __attribute__((objc_designated_initializer));
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
+ (instancetype)new __attribute__((unavailable));
@property (class, readonly, getter=companion) MPMModelsBatchMessageCompanion *companion __attribute__((swift_name("companion")));
Expand All @@ -667,6 +667,7 @@ __attribute__((swift_name("ModelsBatchMessage")))
@property (readonly) NSArray<MPMModelsUserIdentities *> * _Nullable identities __attribute__((swift_name("identities")));
@property (readonly) NSDictionary<NSString *, MPMKotlinx_serialization_jsonJsonElement *> * _Nullable integrationAttributes __attribute__((swift_name("integrationAttributes")));
@property (readonly) NSArray<MPMModelsBaseEvent *> *messages __attribute__((swift_name("messages")));
@property (readonly) MPMBoolean * _Nullable modifiedBatch __attribute__((swift_name("modifiedBatch")));
@property (readonly) NSString * _Nullable mparticleVersion __attribute__((swift_name("mparticleVersion")));
@property (readonly) NSString * _Nullable mpid __attribute__((swift_name("mpid")));
@property (readonly) MPMBoolean * _Nullable optOutHeader __attribute__((swift_name("optOutHeader")));
Expand Down Expand Up @@ -971,13 +972,15 @@ __attribute__((swift_name("ModelsDataplanContextMessage")))

__attribute__((swift_name("ModelsBaseEvent")))
@interface MPMModelsBaseEvent : MPMModelsDTO
- (instancetype)initWithTimeStamp:(MPMLong * _Nullable)timeStamp stateInfo:(MPMModelsStateInfoMessage * _Nullable)stateInfo id:(NSString * _Nullable)id sessionId:(NSString * _Nullable)sessionId sessionStartTimestamp:(MPMLong * _Nullable)sessionStartTimestamp location:(MPMModelsLocationMessage * _Nullable)location dataConnection:(NSString * _Nullable)dataConnection attributes:(NSDictionary<NSString *, id> * _Nullable)attributes eventFlags:(NSDictionary<NSString *, id> * _Nullable)eventFlags __attribute__((swift_name("init(timeStamp:stateInfo:id:sessionId:sessionStartTimestamp:location:dataConnection:attributes:eventFlags:)"))) __attribute__((objc_designated_initializer));
- (instancetype)initWithTimeStamp:(MPMLong * _Nullable)timeStamp stateInfo:(MPMModelsStateInfoMessage * _Nullable)stateInfo id:(NSString * _Nullable)id sessionId:(NSString * _Nullable)sessionId sessionStartTimestamp:(MPMLong * _Nullable)sessionStartTimestamp location:(MPMModelsLocationMessage * _Nullable)location dataConnection:(NSString * _Nullable)dataConnection attributes:(NSDictionary<NSString *, id> * _Nullable)attributes eventFlags:(NSDictionary<NSString *, id> * _Nullable)eventFlags eventStartTime:(MPMLong * _Nullable)eventStartTime eventCount:(MPMInt * _Nullable)eventCount __attribute__((swift_name("init(timeStamp:stateInfo:id:sessionId:sessionStartTimestamp:location:dataConnection:attributes:eventFlags:eventStartTime:eventCount:)"))) __attribute__((objc_designated_initializer));
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable));
+ (instancetype)new __attribute__((unavailable));
@property (class, readonly, getter=companion) MPMModelsBaseEventCompanion *companion __attribute__((swift_name("companion")));
@property NSDictionary<NSString *, id> * _Nullable attributes __attribute__((swift_name("attributes")));
@property NSString * _Nullable dataConnection __attribute__((swift_name("dataConnection")));
@property MPMInt * _Nullable eventCount __attribute__((swift_name("eventCount")));
@property NSDictionary<NSString *, id> * _Nullable eventFlags __attribute__((swift_name("eventFlags")));
@property MPMLong * _Nullable eventStartTime __attribute__((swift_name("eventStartTime")));
@property NSString * _Nullable id __attribute__((swift_name("id")));
@property MPMModelsLocationMessage * _Nullable location __attribute__((swift_name("location")));
@property (readonly) NSString *messageType __attribute__((swift_name("messageType")));
Expand Down
Binary file not shown.
12 changes: 6 additions & 6 deletions frameworks/mParticle_Models.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>mParticle_Models.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>mParticle_Models.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Loading

0 comments on commit df98f51

Please sign in to comment.