diff --git a/CHANGELOG.md b/CHANGELOG.md index ab8202ab..50968ad0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [6.1.4](https://github.com/segmentio/typewriter/compare/6.1.3...6.1.4) (2019-06-04) + + +### Bug Fixes + +* **iOS:** assign -> copy for numeric types ([#61](https://github.com/segmentio/typewriter/issues/61)) ([7a2ec99](https://github.com/segmentio/typewriter/commit/7a2ec99)) + + + ## [6.1.3](https://github.com/segmentio/typewriter/compare/6.1.2...6.1.3) (2019-03-06) diff --git a/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m b/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m index abc6020c..18eafebc 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.3" + @"version": @"6.1.4" } }; 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 a9f4e9c9..157a9fc4 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.3" + version: "6.1.4" } }; } diff --git a/examples/gen-js/node/analytics/generated/index.js b/examples/gen-js/node/analytics/generated/index.js index e2fb6ebe..d6f53f0c 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.3" + version: "6.1.4" } }); } diff --git a/examples/gen-js/ts/analytics/generated/index.js b/examples/gen-js/ts/analytics/generated/index.js index a9f4e9c9..157a9fc4 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.3" + version: "6.1.4" } }; } diff --git a/package.json b/package.json index 0d00ada1..520e527a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typewriter", - "version": "6.1.3", + "version": "6.1.4", "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 3d9fe0eb..f497a092 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.3" + @"version": @"6.1.4" } }; 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 4f1f3004..6647f8b3 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.3" + version: "6.1.4" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.es5.js b/tests/commands/gen-js/__snapshots__/index.es5.js index a97f25dd..c0ecb9e6 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.3" + version: "6.1.4" } }); }; diff --git a/tests/commands/gen-js/__snapshots__/index.es5.node.js b/tests/commands/gen-js/__snapshots__/index.es5.node.js index 0406484b..af23c057 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.3" + version: "6.1.4" } }); }; diff --git a/tests/commands/gen-js/__snapshots__/index.js b/tests/commands/gen-js/__snapshots__/index.js index ac765aed..5fbc1bd4 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.3" + version: "6.1.4" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.node.js b/tests/commands/gen-js/__snapshots__/index.node.js index 42d0829d..c397a78d 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.3" + version: "6.1.4" } }); } diff --git a/tests/commands/gen-js/__snapshots__/index.prod.js b/tests/commands/gen-js/__snapshots__/index.prod.js index b29d4682..8f290d35 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.3" + version: "6.1.4" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.prod.node.js b/tests/commands/gen-js/__snapshots__/index.prod.node.js index 6e7bc625..a71f8147 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.3" + version: "6.1.4" } }); } diff --git a/tests/commands/gen-js/__snapshots__/index.system.js b/tests/commands/gen-js/__snapshots__/index.system.js index cb408e40..33e0d9d0 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.3" + version: "6.1.4" } }; } diff --git a/tests/commands/gen-js/__snapshots__/index.umd.js b/tests/commands/gen-js/__snapshots__/index.umd.js index 11be71d7..1f04ca80 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.3" + version: "6.1.4" } }; }