UNPKG

13.5 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## [Unreleased]
9
10## [2.14.0]
11### Added
12- Add CHANGELOG.md
13
14### Changed
15- Deprecate SmartHomeApp homegraph wrapper methods: use [Google APIs Node.js
16 Client for Home Graph](https://www.npmjs.com/package/@googleapis/homegraph).
17
18## [2.13.0] - 2020-08-26
19### Added
20- Add conv.canvas.state feature
21- Add express-serve-static-core dependency
22- Add test script for CI, update `test:ci`
23
24## [2.12.0] - 2019-08-16
25Bump version to MINOR release 2.12.0
26
27### Added
28- Add support for order reservations
29
30## [2.11.0] - 2019-08-07
31Bump version to MINOR release 2.11.0
32
33### Added
34- Add support for ordersv3
35
36## [2.10.0] - 2019-08-01
37Bump version to MINOR release 2.10.0
38
39### Fixed
40- Fix typedoc outline
41- Pin typedoc dependency to allow for build
42
43### Added
44- Add support for HtmlResponse
45
46## [2.9.1] - 2019-07-19
47### Fixed
48- Fix googleapis dependency vulnerabilities
49
50## [2.9.0] - 2019-07-15
51### Added
52- Add support for DigitalPurchaseCheck
53
54## [2.8.0] - 2019-06-27
55### Added
56- Add support for user verification
57- Add surface capability shortcut
58- Add otherDeviceIds to smart home sync response
59
60## [2.7.1] - 2019-06-06
61### Fixed
62- Fix dependency vulnerabilities
63
64## [2.7.0] - 2019-05-07
65### Added
66- Add support for Developer Preview features under a new preview tag
67- Add roomHint property to smart home response
68- Adds types for 2FA in smart home request/responses
69
70### Fixed
71- Fix conv.data not set when init.data has changed issue
72- Fix package.json to correct Node version >=6.13.0
73- Add warning for using DeepLink
74
75### Changed
76- Update dependencies for security
77- Change library development tooling
78
79## [2.6.0] - 2019-02-20
80### Added
81- Add ability to respond with an HTTP 401 Status Code
82- Add support for other lambda formats
83- Add more error handling for report state
84
85### Fixed
86- Fix unhandled exception in jwtClient.authorize
87
88### Changed
89- Upgrade to TypeScript 3
90- Add package security audit to CI process
91- Change typedoc theme
92- Add source code links for Typedoc config
93- Selectively install yarn version 1.13.0 for travis
94- Upgrade ava and nyc to resolve yarn audit vulnerabilities
95
96## [2.5.0] - 2018-11-16
97### Added
98- Add support for speech biasing
99
100### Changed
101- Make Smart Home execution response states a map of any type
102- Fix conversationToken resetting for Actions SDK
103- Make simple response detection more precise
104- Hide conversation module from reference doc table of contents
105
106## [2.4.1] - 2018-10-05
107- Only set conv.data and user storage when changed
108- Add TypeScript autocomplete for default Dialogflow intents
109- Fix jsdoc for BrowseCarousel url
110- Make simulator detection more strict
111- Add a better error message when a simple response is required
112- Fix simulator response for Dialogflow v1
113
114## [2.4.0] - 2018-10-03
115### Added
116- Add support for conv.followup persisting context information (like conv.data)
117- Add support for CompletePurchase to perform [Digital Transactions](https://developers.google.com/actions/transactions/digital/dev-guide-digital)
118- Attempt to send helpful text when request is from Dialogflow simulator
119
120### Changed
121- Refactor Question classes to Helper
122- Fix agentUserId to make it optional
123- Add more informative error when intent is empty
124- Change requestSync to prefer a jwt
125
126## [2.3.0] - 2018-08-03
127### Added
128- Add support for static reprompts
129- Add new DISCONNECT intent for Smart Home
130
131### Changed
132- Change express snippet to use multiple routes
133- Fix deeplink Dialogflow snippet typo
134- Add eofline rule to tslint
135- Regenerate GoogleActionsV2OrdersReceipt
136- Add @hidden to _middlewares
137- Add typedoc.json to npm ignore
138
139## [2.2.0] - 2018-06-21
140- Add support for async middleware
141- Add parameter to middleware to expose extra framework data
142- Verify JWT is generated before sending report state
143- Add headers parameter to smart home service handler
144- Remove options check in API call methods
145
146## [2.1.3] - 2018-05-31
147- Add deprecation notice for conv.user.id
148
149## [2.1.2] - 2018-05-21
150- Add error handling for common.stringify
151
152## [2.1.1] - 2018-05-10
153- Fix to make v2 the default version if version is not specified
154
155## [2.1.0] - 2018-05-08
156- Various fixes and improvements for reference documentation
157- Convert lambda header keys to lowercase
158- Consolidate common conversation types
159- Add intent array matching
160- Add screen surface capability shortcut
161- Add ability to send back headers
162- Add clearer examples for GitHub readme
163- Regenerate transaction types to support new transaction features
164- Add ROUTINES to GoogleActionsV2TriggerContextTimeContextFrequency
165- Add deprecated fields previously not generated
166- Add support for profile retrieval
167- Add support for Table card response type
168- Add service for Smart Home
169- Add clearer examples for GitHub readme
170
171## [1.11.0] - 2018-05-08
172Last feature release for v1.
173
174- Add support for followup events
175- Fix type annotation bugs
176- Change No userStorage Found to debug message
177- Remove en_- locale warning from askForSignIn
178- Fix MEDIA_STATUS enum being incorrect
179
180## [2.0.1] - 2018-05-08
181- Exclude npm packed extracted contents from npm publish
182
183## [2.0.0] - 2018-05-08
184
185### Changed
186#### From Major Version 1
187- Rewrote to use TypeScript with main API intended for JavaScript
188- Separate `app` instance to a cross conversational `app` instance and a per conversation `conv` instance
189- Redesign objects to use an API backbone from protobufs that define the Conversation API
190- Redesign API to be overloaded and sent through `conv.ask` so that it can build the response for the developer incrementally
191- Redesign API to use more idiomatic JavaScript
192- Create frameworks system to support different platforms seamlessly
193- Create clear separations of services so APIs are distinctly separate
194- Add new modular architecture that allows plugins to extend functionality
195- Drop support for Actions SDK v1 and various legacy features
196#### From Alpha
197- Remove plugins and utils from library repo
198- Various bug fixes
199- Add support for all features from v1 besides legacy features
200- Clean up arguments and create separate status parsing out
201- Add ability to send raw JSON
202- Add fallback handler
203- Add status and error customization for Dialogflow verification
204- Add support for Dialogflow followup events
205
206## [1.10.0] - 2018-03-09
207- Adds support for Package Entitlements
208- Add support for media response
209- Adds WEB_BROWSER surface capability
210- Add BrowseCarousel to the client library
211- Issues a warning instead of an error in carousel and lists
212
213## [1.9.0] - 2018-02-26
214- Add support for askToDeepLink
215- Add askForPlace
216- Add error message for Dialogflow v2 webhook requests
217- Adds a call to action to debug intent error
218- Handles error if userStorage is invalid JSON
219- Adds console binding for debug logs
220- Add imageDisplayOptions to Carousel
221- Escalates deprecation logs to warnings
222- Removes unnecessary semicolons
223
224## [1.8.2] - 2018-02-05
225- Correct token verification for google-auth-library
226- Adds package version logging
227
228
229## [1.8.1] - 2018-01-31
230- Fix argument values of reprompts
231
232## [1.8.0] - 2018-01-26
233- Update dependency google-auth-library
234- Add a JSON output script for coverage
235- Update error output type for ImageDisplayOption
236- Adds DIRECT tokenization type
237- Add object-curly-spacing eslint rule
238- Updates description of CROPPED image display option
239- Run CI on node version 6 and 8
240
241## [1.7.0] - 2017-12-28
242- Fix handleRequestAsync jsdoc example
243- Add notice to askFor that works only for en_- locales.
244- Allow whitespace padding in SSML input
245- Add tests for app.data behavior
246- Add notice that Dialogflow v2 is not supported
247- Add tests for app.data behavior
248- Standardize class declaration syntax
249- Set Dialogflow speech for SSML in SimpleResponse
250- Add @private to getArgumentCommon
251- Add max-len 100 eslint rule
252- Expose ImageDisplay enum on AssistantApp instances
253- Add no-magic-numbers eslint rule
254- Move Enums to prototype of AssisstantApp
255- Add stricter eslint autofix rules
256- Add @private type annotation to ANY_TYPE_PROPERTY_
257- Add note about Brand Verification
258- Adds description for ImageDisplays enum
259- Fixes typo in example for askForSignIn
260
261## [1.6.1] - 2017-11-21
262- Adds custom transaction token type
263- Adds JSDoc for ImageDisplayOptions
264
265## [1.6.0] - 2017-11-15
266- Add support for Updates API
267- Add support for imageDisplayOption in BasicCard
268- Add support for userStorage and lastSeen
269- Add handleRequestAsync for Promise support
270- Bug fixes for transactions
271- Updates transaction enums to match documentation
272- Rename isRequestFromAssistant to isRequestFromGoogle
273
274## [1.5.1] - 2017-10-13
275- Fix buildLineItem parameters mixup
276- Fix isRequestFromAssistant JSDoc return description
277- Add linting rules for JSDoc and fix existing violations
278
279## [1.5.0] - 2017-10-10
280- Rename API.AI to Dialogflow
281
282## [1.4.0] - 2017-10-04
283- No input prompts sent with rich responses
284- Add support for new NO_INPUT and CANCEL intents
285- Add support for NEW_SURFACE intent
286
287## [1.3.1] - 2017-09-20
288- Bug fix for sublines in transactions
289- Small JSDoc fixes
290
291## [1.3.0] - 2017-09-08
292- Adds signature verification
293
294## [1.2.1] - 2017-08-15
295- Refactored the Assistant App base class
296- Refactored getter methods and error handling, adding better logs
297- "Data extraction" now happens in the classes' constructor, not requiring a call to "handleRequest" anymore
298- Updates to the JSDocs
299- Added validation to suggestion chips
300- REGION_NOT_SUPPORTED now has the correct string value
301
302## [1.2.0] - 2017-07-19
303
304[Unreleased]: https://github.com/actions-on-google/actions-on-google-nodejs/compare/v2.14.0...HEAD
305[2.14.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.13.0...v2.14.0
306[2.13.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.12.0...v2.13.0
307[2.12.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.11.0...v2.12.0
308[2.11.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.10.0...v2.11.0
309[2.10.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.9.1...v2.10.0
310[2.9.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.9.0...v2.9.1
311[2.9.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.8.0...v2.9.0
312[2.8.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.7.1...v2.8.0
313[2.7.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.7.0...v2.7.1
314[2.7.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.6.0...v2.7.0
315[2.6.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.5.0...v2.6.0
316[2.5.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.4.1...v2.5.0
317[2.4.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.4.0...v2.4.1
318[2.4.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.3.0...v2.4.0
319[2.3.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.2.0...v2.3.0
320[2.2.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.1.3...v2.2.0
321[2.1.3]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.1.2...v2.1.3
322[2.1.2]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.1.1...v2.1.2
323[2.1.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.1.0...v2.1.1
324[2.1.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.11.0...v2.1.0
325[1.11.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.0.1...v1.11.0
326[2.0.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/2.0.0...v2.0.1
327[2.0.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.10.0...v2.0.0
328[1.10.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.9.0...1.10.0
329[1.9.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.8.2...v1.9.0
330[1.8.2]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.8.1...v1.8.2
331[1.8.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.8.0...v1.8.1
332[1.8.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.7.0...v1.8.0
333[1.7.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.6.1...v1.7.0
334[1.6.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.6.0...v1.6.1
335[1.6.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.5.1...v1.6.0
336[1.5.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.5.0...v1.5.1
337[1.5.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.4.0...v1.5.0
338[1.4.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.3.1...v1.4.0
339[1.3.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.3.0...v1.3.1
340[1.3.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.2.1...v1.3.0
341[1.2.1]: https://github.com/actions-on-google/assistant-conversation-nodejs/compare/1.2.0...v1.2.1
342[1.2.0]: https://github.com/actions-on-google/assistant-conversation-nodejs/tag/v1.2.0