From e224c9b412a81b941645d437f15641545602c91f Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 5 Mar 2019 17:25:06 -0800 Subject: [PATCH] docs(changelog): release 6.1.3 --- CHANGELOG.md | 10 ++++++++++ .../TypewriterExample/Analytics/SEGKicksAppAnalytics.m | 2 +- examples/gen-js/js/analytics/generated/index.js | 2 +- examples/gen-js/node/analytics/generated/index.js | 2 +- examples/gen-js/ts/analytics/generated/index.js | 2 +- package.json | 2 +- .../__snapshots__/SEGTestTrackingPlanAnalytics.m | 2 +- tests/commands/gen-js/__snapshots__/index.amd.js | 2 +- tests/commands/gen-js/__snapshots__/index.es5.js | 2 +- tests/commands/gen-js/__snapshots__/index.es5.node.js | 2 +- tests/commands/gen-js/__snapshots__/index.js | 2 +- tests/commands/gen-js/__snapshots__/index.node.js | 2 +- tests/commands/gen-js/__snapshots__/index.prod.js | 2 +- tests/commands/gen-js/__snapshots__/index.prod.node.js | 2 +- tests/commands/gen-js/__snapshots__/index.system.js | 2 +- tests/commands/gen-js/__snapshots__/index.umd.js | 2 +- 16 files changed, 25 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6df0a5b..ab8202ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [6.1.3](https://github.com/segmentio/typewriter/compare/6.1.2...6.1.3) (2019-03-06) + + +### Bug Fixes + +* handle empty events without compile errors in mobile clients [SCH-1641] ([#56](https://github.com/segmentio/typewriter/issues/56)) ([326e8cc](https://github.com/segmentio/typewriter/commit/326e8cc)) +* handle values with multiple types (including null) [SCH-1643] ([#57](https://github.com/segmentio/typewriter/issues/57)) ([6cce0f7](https://github.com/segmentio/typewriter/commit/6cce0f7)) + + + ## [6.1.2](https://github.com/segmentio/typewriter/compare/6.1.1...6.1.2) (2019-02-26) diff --git a/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m b/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m index a7df7246..abc6020c 100644 --- a/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m +++ b/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m @@ -15,7 +15,7 @@ static id NSNullify(id _Nullable x) { NSDictionary *typewriterContext = @{ @"typewriter": @{ @"name": @"gen-ios", - @"version": @"6.1.2" + @"version": @"6.1.3" } }; NSMutableDictionary *context = [NSMutableDictionary dictionaryWithCapacity:customContext.count + typewriterContext.count]; diff --git a/examples/gen-js/js/analytics/generated/index.js b/examples/gen-js/js/analytics/generated/index.js index 801bd29c..a9f4e9c9 100644 --- a/examples/gen-js/js/analytics/generated/index.js +++ b/examples/gen-js/js/analytics/generated/index.js @@ -22,7 +22,7 @@ export default class Analytics { ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; } diff --git a/examples/gen-js/node/analytics/generated/index.js b/examples/gen-js/node/analytics/generated/index.js index cc03bcde..e2fb6ebe 100644 --- a/examples/gen-js/node/analytics/generated/index.js +++ b/examples/gen-js/node/analytics/generated/index.js @@ -23,7 +23,7 @@ class Analytics { return Object.assign({}, context, { typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }); } diff --git a/examples/gen-js/ts/analytics/generated/index.js b/examples/gen-js/ts/analytics/generated/index.js index 801bd29c..a9f4e9c9 100644 --- a/examples/gen-js/ts/analytics/generated/index.js +++ b/examples/gen-js/ts/analytics/generated/index.js @@ -22,7 +22,7 @@ export default class Analytics { ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; } diff --git a/package.json b/package.json index 53348263..8bf1ec44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typewriter", - "version": "6.1.2", + "version": "6.1.3", "description": "A compiler for generating strongly typed analytics clients from JSON Schema", "keywords": [ "analytics", diff --git a/tests/commands/gen-ios/__snapshots__/SEGTestTrackingPlanAnalytics.m b/tests/commands/gen-ios/__snapshots__/SEGTestTrackingPlanAnalytics.m index 074473a9..3d9fe0eb 100644 --- a/tests/commands/gen-ios/__snapshots__/SEGTestTrackingPlanAnalytics.m +++ b/tests/commands/gen-ios/__snapshots__/SEGTestTrackingPlanAnalytics.m @@ -15,7 +15,7 @@ static id NSNullify(id _Nullable x) { NSDictionary *typewriterContext = @{ @"typewriter": @{ @"name": @"gen-ios", - @"version": @"6.1.2" + @"version": @"6.1.3" } }; NSMutableDictionary *context = [NSMutableDictionary dictionaryWithCapacity:customContext.count + typewriterContext.count]; diff --git a/tests/commands/gen-js/__snapshots__/index.amd.js b/tests/commands/gen-js/__snapshots__/index.amd.js index 6588f2c0..4f1f3004 100644 --- a/tests/commands/gen-js/__snapshots__/index.amd.js +++ b/tests/commands/gen-js/__snapshots__/index.amd.js @@ -25,7 +25,7 @@ define(["require", "exports"], function(require, exports) { ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.es5.js b/tests/commands/gen-js/__snapshots__/index.es5.js index 849b2bd0..a97f25dd 100644 --- a/tests/commands/gen-js/__snapshots__/index.es5.js +++ b/tests/commands/gen-js/__snapshots__/index.es5.js @@ -48,7 +48,7 @@ var Analytics = /** @class */ (function() { return __assign({}, context, { typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }); }; diff --git a/tests/commands/gen-js/__snapshots__/index.es5.node.js b/tests/commands/gen-js/__snapshots__/index.es5.node.js index 6967e412..0406484b 100644 --- a/tests/commands/gen-js/__snapshots__/index.es5.node.js +++ b/tests/commands/gen-js/__snapshots__/index.es5.node.js @@ -48,7 +48,7 @@ var Analytics = /** @class */ (function() { return __assign({}, context, { typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }); }; diff --git a/tests/commands/gen-js/__snapshots__/index.js b/tests/commands/gen-js/__snapshots__/index.js index 7e57f5df..ac765aed 100644 --- a/tests/commands/gen-js/__snapshots__/index.js +++ b/tests/commands/gen-js/__snapshots__/index.js @@ -22,7 +22,7 @@ export default class Analytics { ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.node.js b/tests/commands/gen-js/__snapshots__/index.node.js index b9913217..42d0829d 100644 --- a/tests/commands/gen-js/__snapshots__/index.node.js +++ b/tests/commands/gen-js/__snapshots__/index.node.js @@ -23,7 +23,7 @@ class Analytics { return Object.assign({}, context, { typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }); } diff --git a/tests/commands/gen-js/__snapshots__/index.prod.js b/tests/commands/gen-js/__snapshots__/index.prod.js index c7fbc20c..b29d4682 100644 --- a/tests/commands/gen-js/__snapshots__/index.prod.js +++ b/tests/commands/gen-js/__snapshots__/index.prod.js @@ -14,7 +14,7 @@ export default class Analytics { ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.prod.node.js b/tests/commands/gen-js/__snapshots__/index.prod.node.js index 91e48437..6e7bc625 100644 --- a/tests/commands/gen-js/__snapshots__/index.prod.node.js +++ b/tests/commands/gen-js/__snapshots__/index.prod.node.js @@ -15,7 +15,7 @@ class Analytics { return Object.assign({}, context, { typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }); } diff --git a/tests/commands/gen-js/__snapshots__/index.system.js b/tests/commands/gen-js/__snapshots__/index.system.js index 1ffeacdd..cb408e40 100644 --- a/tests/commands/gen-js/__snapshots__/index.system.js +++ b/tests/commands/gen-js/__snapshots__/index.system.js @@ -29,7 +29,7 @@ System.register([], function(exports_1, context_1) { ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.umd.js b/tests/commands/gen-js/__snapshots__/index.umd.js index 723945eb..11be71d7 100644 --- a/tests/commands/gen-js/__snapshots__/index.umd.js +++ b/tests/commands/gen-js/__snapshots__/index.umd.js @@ -32,7 +32,7 @@ ...context, typewriter: { name: "gen-js", - version: "6.1.2" + version: "6.1.3" } }; }