All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
12.4.3 (2019-06-25)
- disable the use of required layout for template generation (bced2f9)
12.4.2 (2019-06-24)
- handle default property with dynamic require (83d1d2d)
- use cjs module option to babel configuration (e11203a)
12.4.1 (2019-06-21)
- handle default or named export for Resolved (afb7154)
12.4.0 (2019-06-14)
- add options to generated json message when exists only (d539615)
- handle options in action and card items (1c9af86)
12.3.1 (2019-06-10)
- undefined context issue (72927c6)
12.3.0 (2019-05-27)
- Add QnAs label into ClassificationResults to be able to retreived it into the bot (d5ded96)
12.2.6 (2019-05-23)
- added bootstrap command option for lerna (3dafde2)
12.2.5 (2019-05-23)
- add option to fix package release (680a1ec)
- added lock files to gitignore to prevent issues with release script (74ce0ae)
- added missing lock files (4a5055e)
- circle ci config (375eb48)
- circleci (20b26b3)
- circleci (2f62c63)
- circleci (1ad9cca)
- circleci (da44dff)
- circleci (4795438)
- code style (5b425a3)
- documentation, circle-ci config (ac181f8)
- husky commit check (53663bf)
- lerna configuration (c7c9557)
- removed jest max workers options (824ea50)
- set node engine >=8 (1761e1c)
- switch to npm, allow node engine >=8 (e4a57f2)
- tests wip (1456d9e)
- type-check command (1d022e0)
- update check commit script (496ba22)
- upgrade dependencies, fix tests (faac874)
- upgrade root depenencies (7b6c83d)
- use only two workers when running tests with jest (7cb8fbc)
- using npm instead of yarn (0f77b1f)
- various fixes, upgrade babel to v7 (ad6af60)
- yarn install works with node v8.10 (f02fda5)
- using npm instead of yarn (b695a64)
- run compute functions in parallel into CompositeExtractor (1d2e033)
12.2.4 (2019-05-23)
- circle ci config (375eb48)
- circleci (4795438)
- circleci (20b26b3)
- circleci (2f62c63)
- circleci (1ad9cca)
- circleci (da44dff)
- code style (5b425a3)
- documentation, circle-ci config (ac181f8)
- husky commit check (53663bf)
- lerna configuration (c7c9557)
- removed jest max workers options (824ea50)
- set node engine >=8 (1761e1c)
- switch to npm, allow node engine >=8 (e4a57f2)
- tests wip (1456d9e)
- type-check command (1d022e0)
- upgrade dependencies, fix tests (faac874)
- upgrade root depenencies (7b6c83d)
- use only two workers when running tests with jest (7cb8fbc)
- using npm instead of yarn (0f77b1f)
- various fixes, upgrade babel to v7 (ad6af60)
- yarn install works with node v8.10 (f02fda5)
- using npm instead of yarn (b695a64)
- run compute functions in parallel into CompositeExtractor (1d2e033)
12.2.3 (2019-05-23)
- circle ci config (375eb48)
- circleci (4795438)
- circleci (20b26b3)
- circleci (2f62c63)
- circleci (1ad9cca)
- circleci (da44dff)
- code style (5b425a3)
- documentation, circle-ci config (ac181f8)
- husky commit check (53663bf)
- lerna configuration (c7c9557)
- removed jest max workers options (824ea50)
- set node engine >=8 (1761e1c)
- switch to npm, allow node engine >=8 (e4a57f2)
- tests wip (1456d9e)
- type-check command (1d022e0)
- upgrade dependencies, fix tests (faac874)
- upgrade root depenencies (7b6c83d)
- use only two workers when running tests with jest (7cb8fbc)
- using npm instead of yarn (0f77b1f)
- various fixes, upgrade babel to v7 (ad6af60)
- yarn install works with node v8.10 (f02fda5)
- using npm instead of yarn (b695a64)
- run compute functions in parallel into CompositeExtractor (1d2e033)
12.2.2 (2019-05-14)
- circleci (da44dff)
- circleci (2f62c63)
- circleci (20b26b3)
- circleci (4795438)
- circleci (1ad9cca)
- set node engine >=8 (1761e1c)
- switch to npm, allow node engine >=8 (e4a57f2)
- yarn install works with node v8.10 (f02fda5)
- run compute functions in parallel into CompositeExtractor (1d2e033)
12.2.1 (2019-05-14)
- circleci (da44dff)
- circleci (2f62c63)
- circleci (20b26b3)
- circleci (4795438)
- circleci (1ad9cca)
- set node engine >=8 (1761e1c)
- switch to npm, allow node engine >=8 (e4a57f2)
- yarn install works with node v8.10 (f02fda5)
12.2.0 (2019-05-06)
- add hook message type (7ae2e52)
12.1.1 (2019-04-25)
- added botfuel-bot-id and botfuel-bot-locale headers to api requests when possible (be3daec)
12.1.0 (2018-12-20)
- handle UserMessage with origin option in botfuel-adapter (96b7e33)
12.0.1 (2018-11-22)
- code styles (1bc082c)
12.0.0 (2018-11-22)
- MongoBrain - return minimal amount of information from mongo (7f9e0c5c)
- MemoryBrain - return only the needed data in MemoryBrain.userSet method (c53f1889)
11.7.0 (2018-11-22)
- add a default value to subtitle and add validation for subtitle type (fefdcb2)
- Add optional subtitle to Card constructor (1d7103b)
11.6.2 (2018-10-31)
Note: Version bump only for package botfuel-dialog
11.6.0 (2018-09-27)
- force request-promise to look for an ipv4 to prevent errors getaddrinfo ENOTFOUND (62ecf05)
- added triggeredBy property to dialogs (fe4e4b6)
- implement a resetEntities method for the prompt dialog that clean entities stored in bot brain for this dialog (0aa51b1)
11.5.3 (2018-09-21)
Note: Version bump only for package botfuel-dialog
11.5.2 (2018-09-21)
Note: Version bump only for package botfuel-dialog
11.5.1 (2018-09-20)
- Fix bug that prevents extending bot table message object (5f98e0b)
11.5.0 (2018-09-18)
- Fix userId not being passed from context (#255) (3c46817)
- refactoring and trigger default dialog when same dialog without new entity (52a1d4b)
- retry entity extraction request 3 times when 503 error (b03190e)
- trigger the default dialog when the user trigger the same intent without new entity (57d4e7a)
- add a cancel-dialog with the associated en/fr views (50a196a)
11.4.0 (2018-09-17)
- Allow spellchecking to be disabled (e4070af)
- Remove the need to specify a spellchecking key (639332c)
- Pass userId to trainer classify (a71a4bf)
11.3.0 (2018-08-31)
- Fix postback messages selection when using shell adapter (b870596)
- trigger complex-input when text message is more than 256 chars (5a4c25f)
11.2.0 (2018-08-27)
- Pass dialog parameters to isFulfilled function (92eb244)
11.1.2 (2018-08-24)
Note: Version bump only for package botfuel-dialog
11.1.1 (2018-08-22)
11.1.0 (2018-08-10)
- Do not take values leading/trailing spaces into account in corpora (2c0683b)
- rename intent-filter.js to classification-filter.js in testcomplexdialog (a12a3b9)
- rename intentFIlter test and function (0018810)
- return the original sentence when spellchecking error instead of triggering the catch-dialog, except if the error is due to authentication (d5cf843)
11.0.0 (2018-08-02)
- Send error data properly to CatchDialog (a0956d3)
- add custom property to Config type (75129ba)
- add pt_br in sdk (5dc5dc9)
- allow access to config.custom property in a dialog via dialog.config (8f271c4)
- postback data flexible (16293b2) -> dialog and entities became dialogData in postback-message and postback the dialogData structure is : dialogData : { name: dialog, data: { messageEntities: entities}}
- restrict config access in resolvers (6f88977) -> could not access the entire bot configuration through Dialog.viewResolver.config anymore
10.0.2 (2018-07-18)
10.0.1 (2018-07-18)
Note: Version bump only for package botfuel-dialog
10.0.0 (2018-07-18)
- Configure the spellchecking in the NLU section (c1f889e)
- Catch dialog and view allow the bot to gracefully handle errors. (792a597)
- The spellchecking is now configured in the NLU section.
9.0.4 (2018-07-17)
- Rename the method getLastConversation() to fetchLastConversation()
Note: Version bump only for package botfuel-dialog
9.0.3 (2018-07-09)
- Do not log unloggable context (131137c)
9.0.2 (2018-07-09)
- In classif filter, filter both qnas and intents (1e76504)
9.0.1 (2018-07-06)
- add filter intent (1e42265)
9.0.0 (2018-07-03)
- The dialogWillComplete hook can no longer return null (7a5a8b8)
- The dialogWillComplete hook can no longer return null. It should instead return a dialog action such as this.complete().
8.3.0 (2018-07-03)
- add key 'custom' to config whitelist (6c731d8)
8.2.0 (2018-07-02)
- remove adapter Messenger. (9bed673)
8.1.1 (2018-06-26)
- fix messenger bot when we have disambiguation view (afabc20)
8.1.0 (2018-06-15)
- Add complex input dialog & view (b514ec3)
8.0.4 (2018-06-06)
- Display intent label or qna title if resolve prompt is empty (6d9046d)
8.0.3 (2018-05-23)
- fix qna view when called by postback action (7b227f1)
8.0.2 (2018-05-22)
- fix QnA message after API updated (a6cdfbc)
8.0.1 (2018-05-22)
Note: Version bump only for package bot-sdk2
8.0.0 (2018-05-22)
- botfuel-nlu uses Botfuel Trainer (c9cb226)
- the nlu botfuel (default) will use Botfuel Trainer. Bots must be migrated to use Botfuel Trainer. No more intents folder and intents must be created inside the Botfuel Trainer.
7.2.6 (2018-05-18)
- add manage error comma in Corpus (bc5633e)
7.2.5 (2018-05-17)
- Process messenger events synchronously (2b2d95a)
7.2.4 (2018-05-17)
- error behavior prompt intent (f559cbb)
7.2.3 (2018-05-16)
- the bot should say when it doesn't understand a sentence (3b69240)
7.2.2 (2018-05-15)
- make build script cross platform (37d1ef6)
7.2.1 (2018-05-11)
- Obfuscate BOTFUEL_APP_KEY in logs (fd38026)
- remove '\r' in Windows intent files when creating model hash (77ce413)
- remove \r introduce in Windows from corpus file (03c9d64)
- update trainer api call uri and add auth key and token (f49d76f)
7.2.0 (2018-05-09)
- support actions message in shell adapter (8122d92)
7.1.3 (2018-05-03)
7.1.2 (2018-05-02)
Note: Version bump only for package bot-sdk2
7.1.1 (2018-05-02)
Note: Version bump only for package bot-sdk2
7.1.0 (2018-04-30)
- get all users returns array not object (988d7b3)
- added get all users method to brain (308d086)
7.0.1 (2018-04-25)
Note: Version bump only for package bot-sdk2
7.0.0 (2018-04-18)
- Fix merge config with default config (6d9943c)
- Apply breaking change on predefined dialogs (988e025)
- Do not call adapters in dialogs (656d884)
- Do not pass brain and config to Dialog constructor (b2eec6f)
- Pass bot messages by return value (2501685)
- Do not pass brain and config to Dialog
constructor because the bot is already passed.
- Dialog.execute() returns an object with keys
action
andbotMessages
. - Add new parameters
bot
ofDialog
constructor
- Dialog.execute() returns an object with keys
- Remove 1st paramters
adapter
of methodsDialog.execute()
,Dialog.display()
6.0.0 (2018-04-17)
-
Changed TextDialog to BaseDialog, and removed TextView. Now, if you would like to use a TextDialog, you use a BaseDialog instead, and if you would like to use a TextView, you use a general View instead (and you must implement render yourself. (94a4763)
-
Change data structure in dialog: the data in dialog.execute function will contains all the necessary entities (like messageEntities, missingEntities, matchedEntities...) and possibly other keys from extraData (4640b46)
5.1.0 (2018-04-16)
- botfuel nlu use trainer api (083f578)
5.0.0 (2018-04-03)
- correct style (b04114b)
- fix style (6671e78)
- fix style (3108976)
- remove undefined value in matchedEntities object (8f9555d)
- Store prompt dialog in brain with new strucutre {entities: ..., question:...}, this can cause conflict on running bot with MongoBrain (599b8c8)
missingEntities
is now a Map instead of a plain Object
4.4.3 (2018-03-29)
4.4.2 (2018-03-26)
- add LocationExtractor and use it in Botfuel NLU
- add 'system:entity' entity
- pass url value instead of payload containing url in MessengerAdapter for UserImageMessage
Note: Version bump only for package undefined
4.4.1 (2018-03-23)
- export Message class (f69c162)
4.4.0 (2018-03-22)
- add BotTableMessage (eb7b44a)
4.3.4 (2018-03-22)
- add RegexExtractor (59d0a60)
4.3.1 (2018-03-20)
4.3.0 (2018-03-16)
- change import order (aa02962)
- set quality of image screenshot default value to 80 (535dfc0)
- Update test ecommerce to use local images and update unittests (1f68fc7)
- add example for using handlebars templates and image generation (2c78d55)
- Implement methods to get static and template, tempate image (bfa015f)
4.2.0 (2018-03-12)
4.1.0 (2018-03-12)
- Assign uuid to conversations
- Rename the methods used by the web adapter to build POST request
getUri
->getUrl
getQs
->getQueryParameters
- Fix dialog resolution for custom adapters
4.0.0 (2018-03-02)
- Fix greetings dialog (de03b2e)
- Brain structure has changed
3.0.1 (2018-03-01)
3.0.0 (2018-03-01)
-
Add members brain, nlu, adapters to the bot config (7d3f080). See this sample config.
-
Now the exported class
Nlu
is an abstract class that is subclassed byBotfuelNlu
. (821a863) -
Some renamings (#124):
-
brain.getValue
->brain.botGet
-
brain.setValue
->brain.botSet
-
adapter.initUserIfNecessary
->adapter.addUserIfNecessary
-
brain.initUserIfNecessary
->brain.addUserIfNecessary
The package test-resolvers provides samples for the following new features:
-
NLU modules can be resolved and loaded (44fc9c2).
-
Brain modules can be resolved and loaded (e81c4bb).
-
Export base brain class to allow suclassing (7133ca8).
2.1.5 (2018-02-28)
Note: Version bump only for package undefined
2.1.4 (2018-02-26)
- Add user id in middleware contexts (45e8d6c)
- Compare intents hashes instead of timestamps (838bbf5)
- Make userId reliant functions throw when user does not exist (9fbc4a3)
2.1.3 (2018-02-20)
Note: Version bump only for package undefined
2.1.2 (2018-02-20)
- Fix environment variables issues during tests (626bcfb)
- Fix issue where isFulfilled dialog entities were not updated properly (a1986f7)
2.1.1 (2018-02-15)
Note: Version bump only for package undefined
2.1.0 (2018-02-14)
- Display port at info level when using web adapter (87cd16c)
- Expose user message in out middleware context (f23a716)
- Fix out middleware issue with done function (40dae85)
- Add BotImageMessage message (3a6a622)
2.0.0 (2018-02-13)
1.9.0 (2018-02-12)
- Expose QnasView (14d4167)
- Expose config in middlewares context (40973da)
- Handlebars templates support: route /templates serves files under src/templates (19bcbdf)
1.8.3 (2018-02-09)
1.8.2 (2018-02-06)
- test-qna tests (80997d7)
1.8.1 (2018-02-01)
1.8.0 (2018-02-01)
1.7.1 (2018-01-24)
- Fix mute dialog + test in test-middlewares (d1d88d9)
1.7.0 (2018-01-23)
- intent filter (a54038f)
1.6.0 (2018-01-22)
- Add changelog (65660ef)
1.5.1 (2018-01-22)
Note: Version bump only for package root