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