Skip to content

TJBotLib 2.0.0

Compare
Choose a tag to compare
@jweisz jweisz released this 09 Nov 20:40
9c360ae

Happy Birthday TJBot! 🤖🎂

Today is TJBot's birthday, and we are celebrating with a new version of the TJBot library!

tl;dr: TJBot is now up-to-date with the latest software dependencies so it will continue to function in light of major updates to Raspian, IBM Watson services, and Node.js. Also, this is a new major release that introduces changes that will break your existing recipes. Please see MIGRATING.md for more information on how to update your code for this new library.

Major changes include:

  • Updated 3rd party dependencies to the latest versions (including moving to the ibm-watson SDK)
  • As part of the update to the ibm-watson SDK, authentication credentials are now handled through environment variables stored in the ibm-credentials.env file
  • Revamped how asynchronous operations are handled by eliminating Promises in favor of async/await
  • Packaged TJBotLib as an ES6 module (e.g. so you now import TJBot from 'tjbot')
  • Added support for ESLint and fixed many, many lint errors
  • Added support for running tests via Jest and moved hardware tests to the main tjbot repository
  • Added JSDoc comments to all methods and generated API documentation at https://ibmtjbot.github.io/docs/tjbot/2.0.0/
  • Added a migration guide to describe how to transition from TJBotLib 1.x to 2.x
  • Added support for Common Anode LEDs (thanks @chungngoops!)