Code Monkey home page Code Monkey logo

Comments (5)

Naktibalda avatar Naktibalda commented on June 7, 2024

Upgrading to 1.8 shouldn't cause any issues.

from botkit-middleware.

pgoldweic avatar pgoldweic commented on June 7, 2024

Great. Thanks!

from botkit-middleware.

pgoldweic avatar pgoldweic commented on June 7, 2024

Hi @Naktibalda . So I've finally migrated this middleware to version 1.8.2 (thanks for your help). Now I'm trying to resolve as many vulnerabilities as I can in the resulting packages. Ben Brown suggested that I upgrade botkit itself to 0.7.5 (while staying with version 0.0.1 of botkit-starter-web). Are you aware of any possible incompatibilities between such version of botkit and this middleware? (in the past I had followed your advice for getting the watson middleware connected with botkit-starter-web; I also re-implemented botkit storage to use an alternative to mongodb)

from botkit-middleware.

Naktibalda avatar Naktibalda commented on June 7, 2024

I can't believe that you used 1.4.0 for so long.
Middleware API is extremely simple, it hasn't changed in Botkit 0.7 and even in 4.0.
The big difference in v4 is that the old storage modules are no longer supported, so middleware 2.0 uses botbuilder Storage interface. I only used Memory storage, you would have to rewrite your storage module to implement this interface.

After upgrading to Botkit v4 I kept the old frontend code (my codebase diverged from starter-web in September 2017), the only change I had to make in frontend was message.attachments.quick_replies to message.quick_replies, also Botkit v4 removes a few fields (attachments, action, etc ) if their names match names of internal properties.

from botkit-middleware.

pgoldweic avatar pgoldweic commented on June 7, 2024

You're right in that it's been too long with me using 1.4.0 :-) (well, in reality my package.json used ^1.4.0 but it was actually resolved to 1.7.0!). I am going to look into eventually upgrading to botkit 4.5 ( I will need time to rewrite my storage code, of course), especially hearing that not much has changed. However, my immediate goal was to migrate out of Cloud Foundry authentication asap (before October 31 deadline), and therefore I needed to move to middleware version 1.8.2 or newer- that uses Assistant V1- with no breakage to my production code.
Thanks again for your tips!

from botkit-middleware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.