diff --git a/CHANGELOG.md b/CHANGELOG.md index 561d9f61..ebc5873f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [5.1.6](https://github.com/segmentio/typewriter/compare/5.1.5...5.1.6) (2019-01-29) + + +### Bug Fixes + +* include `context` typedef for both node and ajs top levels ([#48](https://github.com/segmentio/typewriter/issues/48)) ([37f88c1](https://github.com/segmentio/typewriter/commit/37f88c1)) + + + ## [5.1.5](https://github.com/segmentio/typewriter/compare/5.1.4...5.1.5) (2019-01-29) diff --git a/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m b/examples/gen-ios/objectivec/TypewriterExample/Analytics/SEGKicksAppAnalytics.m index a31d8949..ea85b430 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": @"5.1.5" + @"version": @"5.1.6" } }; 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 0aabbb96..5bdbef52 100644 --- a/examples/gen-js/js/analytics/generated/index.js +++ b/examples/gen-js/js/analytics/generated/index.js @@ -3,7 +3,7 @@ const genOptions = (context = {}) => ({ ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } }); diff --git a/examples/gen-js/node/analytics/generated/index.js b/examples/gen-js/node/analytics/generated/index.js index 3ecc6029..85f8bf40 100644 --- a/examples/gen-js/node/analytics/generated/index.js +++ b/examples/gen-js/node/analytics/generated/index.js @@ -4,7 +4,7 @@ const genOptions = (context = {}) => ({ context: Object.assign({}, context, { typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } }) }); diff --git a/examples/gen-js/ts/analytics/generated/index.js b/examples/gen-js/ts/analytics/generated/index.js index 0aabbb96..5bdbef52 100644 --- a/examples/gen-js/ts/analytics/generated/index.js +++ b/examples/gen-js/ts/analytics/generated/index.js @@ -3,7 +3,7 @@ const genOptions = (context = {}) => ({ ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } }); diff --git a/package.json b/package.json index 4f2a4791..ab0d55a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typewriter", - "version": "5.1.5", + "version": "5.1.6", "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 228e03cd..cf592530 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": @"5.1.5" + @"version": @"5.1.6" } }; 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 83b4649c..02e268ad 100644 --- a/tests/commands/gen-js/__snapshots__/index.amd.js +++ b/tests/commands/gen-js/__snapshots__/index.amd.js @@ -6,7 +6,7 @@ define(["require", "exports"], function(require, exports) { ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } }); diff --git a/tests/commands/gen-js/__snapshots__/index.es5.js b/tests/commands/gen-js/__snapshots__/index.es5.js index 1afbe42a..00b05c56 100644 --- a/tests/commands/gen-js/__snapshots__/index.es5.js +++ b/tests/commands/gen-js/__snapshots__/index.es5.js @@ -23,7 +23,7 @@ var genOptions = function(context) { context: __assign({}, context, { typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } }) }; diff --git a/tests/commands/gen-js/__snapshots__/index.es5.node.js b/tests/commands/gen-js/__snapshots__/index.es5.node.js index 6c6bc2b4..abb368e7 100644 --- a/tests/commands/gen-js/__snapshots__/index.es5.node.js +++ b/tests/commands/gen-js/__snapshots__/index.es5.node.js @@ -23,7 +23,7 @@ var genOptions = function(context) { context: __assign({}, context, { typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } }) }; diff --git a/tests/commands/gen-js/__snapshots__/index.js b/tests/commands/gen-js/__snapshots__/index.js index 665dbc3d..cb2d1da1 100644 --- a/tests/commands/gen-js/__snapshots__/index.js +++ b/tests/commands/gen-js/__snapshots__/index.js @@ -3,7 +3,7 @@ const genOptions = (context = {}) => ({ ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } }); diff --git a/tests/commands/gen-js/__snapshots__/index.node.js b/tests/commands/gen-js/__snapshots__/index.node.js index 7172e448..8804262e 100644 --- a/tests/commands/gen-js/__snapshots__/index.node.js +++ b/tests/commands/gen-js/__snapshots__/index.node.js @@ -4,7 +4,7 @@ const genOptions = (context = {}) => ({ context: Object.assign({}, context, { typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } }) }); diff --git a/tests/commands/gen-js/__snapshots__/index.prod.js b/tests/commands/gen-js/__snapshots__/index.prod.js index 8a983eb2..9dbe405c 100644 --- a/tests/commands/gen-js/__snapshots__/index.prod.js +++ b/tests/commands/gen-js/__snapshots__/index.prod.js @@ -3,7 +3,7 @@ const genOptions = (context = {}) => ({ ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } }); diff --git a/tests/commands/gen-js/__snapshots__/index.prod.node.js b/tests/commands/gen-js/__snapshots__/index.prod.node.js index 21c3cba7..31c7bec8 100644 --- a/tests/commands/gen-js/__snapshots__/index.prod.node.js +++ b/tests/commands/gen-js/__snapshots__/index.prod.node.js @@ -4,7 +4,7 @@ const genOptions = (context = {}) => ({ context: Object.assign({}, context, { typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } }) }); diff --git a/tests/commands/gen-js/__snapshots__/index.system.js b/tests/commands/gen-js/__snapshots__/index.system.js index 747c8a8e..af343625 100644 --- a/tests/commands/gen-js/__snapshots__/index.system.js +++ b/tests/commands/gen-js/__snapshots__/index.system.js @@ -10,7 +10,7 @@ System.register([], function(exports_1, context_1) { ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } }); diff --git a/tests/commands/gen-js/__snapshots__/index.umd.js b/tests/commands/gen-js/__snapshots__/index.umd.js index c476fd72..7bc44041 100644 --- a/tests/commands/gen-js/__snapshots__/index.umd.js +++ b/tests/commands/gen-js/__snapshots__/index.umd.js @@ -13,7 +13,7 @@ ...context, typewriter: { name: "gen-js", - version: "5.1.5" + version: "5.1.6" } } });