Release Notes

Ruff 1.11.13, 2019.08.23

  • Bugfix:
    • Fix socket write callback in net module
    • Free fd of stdin when child_process.spawn exit
    • Fix “Error: RangeError: invalid stack index -3” exception

Ruff 1.11.12, 2018.10.19

  • New features:
    • Add Loongson (ls232-1c series) support

Ruff 1.11.11, 2018.9.7

  • Bugfix:
    • Fix the bug of https sending large packet more than 16K

Ruff 1.11.10, 2018.7.30

  • Bugfix:
    • Fix the bug of ruff.versions.duktake
    • Fix a callback bug of GPIO driver
    • Fix a bug of deploying app on RaspberryPi
  • Improvement:
    • Add --unlimited option for rap deploy to ignore maximum size check

Ruff 1.11.9, 2018.6.19

  • Improvement:
    • Improve Buffer print

Ruff 1.11.8, 2018.5.11

  • Bugfix:
    • Fix a parameter ca bug of tls module

Ruff 1.11.7, 2018.4.12

  • Bugfix:
    • Fix some bugs of console.ruff.io webpage

Ruff 1.11.6, 2018.3.16

  • Bugfix:
    • Fix the localAddress attribute bug of net module

Ruff 1.11.5, 2018.2.2

  • New features:
    • Support SIGNAL monitor

Ruff 1.11.4, 2018.1.6

  • New features:
    • New GUI tool in Ruff kit (console.io)
  • Bugfix:
    • Fix a bug to send Buffer by TLS module

Ruff 1.11.3, 2017.12.8

  • New features:
    • Add aws-iot-device-sdk module for connecting to AWS IoT in Ruff Registry
    • Add feature network-ping in Ruff GUI tool
  • Bugfix:
    • fix a UNresponse bug of listening event in UDP module
    • fix a bug to support param type Buffer as ca in connect method of TLS module

Ruff 1.11.2, 2017.11.10

  • New features:
    • Add new setBroadcast API of UDP module
  • Bugfix:
    • fix a latent bug in command rap device rename

Ruff 1.11.1, 2017.10.13

  • New features:
    • Add new publicEncrypt API of crypto module
  • Bugfix:
    • fix a haphazard bug in send API of UDP module

Ruff 1.11.0, 2017.9.8

  • New features:
    • Add crypto module, includes following sub-modules
      • hash
      • hmac
      • cipher
      • decipher
  • Bugfix:
    • Release ESP32-based Ruff Lite 0.1.1 (MCU):
      • Set all the GPIO pins IOMUX register as GPIO function
      • Read main field of package.json as App entry point

Ruff 1.10.1, 2017.8.11

  • Improvement:
    • Optimize the user experience of rap board andrap session
    • Optimize console.ruff.io configuration page packet forwarding switch color
  • Bugfix:
    • Fix target priority problem while rap deploy
    • Fix display refresh problem of console.ruff.io page

Ruff 1.10.0, 2017.7.14

  • New features:
    • Add rap board command to deploy project to different boards
    • Refactor rap session command to support deploy project rapidly and switch target session
    • Add driver NFC Reader Link
  • Improvement:
    • Optimize the efficiency of rap restart
  • Bugfix:
    • Fix WiFi SSID issue to support some special characters

Ruff 1.9.1, 2017.6.16

  • Improvement:
    • rap rename command is updated torap setname <target> <new-name> [options], please check rap setname --help for details
    • rap system upgrade command is updated to rap system upgrade <target> <firmware-binary-file> [options], please check rap system upgrade --help for details
    • While run rap command to connect with the board, it will display IP address of target board, convenient for identify target
    • Optimize rap command help description to understand command usage

Ruff 1.9.0, 2017.5.19

  • New features:

    • uart support data event, and read(callback) would be deprecated in the future

      uart.on('data', function(data) {
      console.log('Received:', data.toString());
      });

      uart.on('error', function(error) {
      console.log(error);
      });
  • Improvement:

    • Optimize Ruff engine and enhance the speed and stability. It is recommended to upgrade the Ruff firmware and SDK to 1.9.0

Ruff 1.8.0, 2017.4.21

  • New features:

    • Rap install is supported in the non ruff project
    • Add rap device rename to rename installed devices
    • Release ESP32-based Ruff Lite 0.1.0 (MCU):
      • Support WiFi configuration
      • Support GPIO (currently only supports GPIO In and GPIO Out)
      • Support Net module
      • Support Timers module
  • Improvement:

    • Improve console.io structure and layout
    • Improve rap command prompt
  • Bugfix:

    • Fix the bug when user directory existed invalid package.json, it is unable to initialize the project
    • Fix the bug when run rap deploy to the encrypted development board, it needs to re-enter the password

Ruff 1.7.2, 2017.3.24

  • New features:
    • rap scan support --visual, it provide a visual interface
  • Improvement:
    • Improve tls stability

Ruff 1.7.1, 2017.2.24

  • Improvement:
    • Optimized rap structure to improve stability
  • Bugfix:
    • Fixed syntax transformation error in Windows platform

Ruff Lite 0.7.2, 2017.2.10

  • New features:

    • Buffer support the following APIs:
      • Buffer.readFloatBE
      • Buffer.readDoubleBE
      • Buffer.writeFloatBE
      • Buffer.writeDoubleBE
  • Improvement:

    • Buf.indexOf support byteOffset parameter as negative value
    • Provide error info for properties and variables when the program fails

Ruff 1.7.0, 2017.1.13

  • New features:

    • Support transform syntax, it can be used by ES6 now
    • Show upload progress, currently support rap deploy and rap system upgrade
    • Support process.hrtime ()
  • Improvement:

    • Optimize development experience for rap device
    • Optimize development experience for console.ruff.io
  • Bugfix:

    • Fixed dht11 data error

Ruff Lite 0.7.1, 2016.12.30

  • New features:

    • Support fs.readFile and fs.readFileSync, currently only supports reading the app directory

      var buf = fs.readFileSync('src/index.js');
      console.log(buf);
    • Support Buffer.readFloatLE

    • Support Buffer.writeFloatLE

Ruff 1.6.2, 2016.12.16

  • New features:
    • Support parameter ‘-y’ to skip the interactive operation on some rap commands, reduce repeated steps
    • Ruff Lite supports firmware upgrade via rap
  • Improvement:
    • Prompt registry link after add device, convenient for checking the usage
  • Bugfix:
    • Fixed i2c read and write problem

Ruff Lite 0.7.0, 2016.11.30

  • Optimize application startup speed
  • Support dgram module
  • Support dns module
  • Improve the error prompt when out of memory

Ruff 1.6.1, 2016.11.18

  • New features in Ruff Console
    • Enable network packet forwarding
    • View application log
  • Optimize rap device command interaction

Ruff 1.6.0, 2016.10.24

  • New web-based Ruff Console that includes the following features:
    • Display system status
    • Manage application
    • Configure WiFi, AP password, and development board password
    • Upgrade firmware
  • Firmware package is released as .zip format and contain validation information.
  • Firmware upgrade supports both .zip and.bin formats.
  • WiFi connection supports open hotspot without password
  • Release Ruff Lite
    • Supported hardware Tiva C Series TM4C1294 LaunchPad
    • Compatible with Ruff SDK

Ruff 1.5.0, 2016.9.19

  • Breaking Change
    • Board connection is set to AP mode
    • Introduce network configuration via website
  • Release SDK installation packages
    • msi
    • dmg
    • deb
    • rpm
  • Release MIPS32 big-endian RuffOS
  • https module now supports automatic loading of trusted root certificate
  • Introduce child_process module

Ruff 1.4.0, 2016.8.19

  • Introduce https module
  • Using rap session to manager multiple sessions
  • Release MIPS32 RuffOS
  • WiFi supports multiple SSID profiles, not to reconfigure the WiFi connection in different environment
  • Support deploy by serial (experimental)

Ruff 1.3.0, 2016.7.22

  • Using rap init board to create a project of board
  • Socket in net module now support remoteAddress property correctly.
  • Using local board project to create application

    rap init --local-board ../boards/my-board/
  • rap install now support installation over local path and git.

    rap install foo@https://github.com/bar/foo.git
    rap install foo@../modules/foo/
  • Add a global configuration: default-board

    rap config set default-board <name>
  • rap wifi supports Chinese character

  • Release MTK MT7688 RuffOS
  • Release Qualcomm AR71XX RuffOS
  • WiFi configuration supports Chinese character now
  • RESET Button has been changed
    • Long press over 10 seconds for factory reset
    • Long press from 3-10 seconds to reset WiFi
  • Bugfix
    • Several bugs related to fs module and buffer in both fs and net modules are fixed.

Ruff 1.2.0, 2016.6.24

  • Breaking Change: Change Ruff hareware programming model to asynchronous model
    • GPIO
    • I2C
    • PWM
    • ADC
    • UART
  • Release Raspberry Pi RuffOS
  • Introduce fs module
  • Initialize project for different board
  • Layout for for different board

Ruff 1.1.0, 2016.5.27

  • New features
    • Introduce Http.Agent
  • Performance improvement for Ruff
  • Introduce device preload
  • Adjust storage way for board infomation
  • Non-local address for WiFi broadcasting
  • Change Ruff board name to better identification in router.
  • Bugfix
    • Fix connection to SSID with punctuation
    • Fix blue LED status for reconnection with LAN or serial as a connected device

Ruff 1.0.0, 2016.4.29

  • Throw exception for ID without ‘#’
  • Add state to driver programming model
  • Add extend to device object
  • Introduce trait
  • Add setEncoding to HTTP response
  • Ignore unused files to reduce deployment package size
  • Add .rapignore for developers to ignore some files
  • Add application name, version and uptime to rap system info
  • Add validation to module engine
  • AP hotspot name is changed to Ruff_[SN]. Old board is named as Ruff_[MAC]

Ruff 0.9.1, 2016.4.15

  • Breaking Change
    • Deployment change, not compatible with old way
  • Add password to development board
  • Improvement
    • Add ap alias for AP WiFi configuration
    • Guess serial port type for serial WiFi configuration. Chooese it when only one USB serial is availiable.
  • Bugfix
    • Fix memory leak issue for TCP
    • Fix memory lead issue for require

Ruff 0.9.0, 2016.4.1

  • Breaking Changes: Add ‘#’ to device ID. ID without # will no longer supported from next version
  • New features
    • Add DNS to net
    • Kernel module for reuse existing device driver
  • Load device on demand
  • WiFi config by serial
  • WiFi config by AP
  • Bugfix
    • Change upd message type to Buffer
    • Fix driver shared prototype issue
    • Fix issue to be unable to exit due to application code

Ruff 0.8.0, 2016.3.4

  • Hardware programming interface
    • UART
  • MAC address, SN
  • System information
  • Check source before deployment
  • Bugfix
    • Fix no response during rap wifi

Ruff 0.7.0, 2016.2.5

  • Released a Win64 version
  • Basic modules
    • http server
  • TKIP and CCMP mode
  • console, developers may run code using console to test hardware.
  • Support npm packages.
  • Bugfix
    • Fixed a problem when multiple socket clients share a connection.
    • Fixed a bug when ready and end are missing in application
    • Fixed the accuracy problem when function setTimeout is first invoked.

Ruff 0.6.1, 2016.1.27

  • Supports WiFi broadcasting

Ruff 0.6.0, 2016.1.18

First release

  • Mac 64 version
  • Linux 64 version
  • Application model
  • Application testing model
  • Driver programming model
  • Driver testing model
  • Hardware programming interface
    • GPIO
    • I2C
    • ADC
    • PWM
  • Modules
    • adc
    • assert
    • buffer
    • console
    • dgram
    • events
    • gpio
    • http
    • i2c
    • net
    • path
    • pwm
    • querystring
    • ruff-app-runner
    • ruff-driver-runner
    • ruff-driver
    • ruff-mock
    • stream
    • test
    • timers
    • url
    • util
  • Rap
    • Project initialization
    • Install/remove packages
    • Device management
    • Application management
    • Firmware upgrade
    • User management
    • Parameters
  • Supports WiFi configuration