Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
872 lines (488 sloc) 30.4 KB

Changelog

1.48.0 - 16 October 2019

  • Updated binaries for DeviceOS 1.4.1
  • Electron DeviceOS binaries used for particle update are no longer built with DEBUG_BUILD=y

1.47.0 - 10 September 2019

  • Updated binaries for DeviceOS 1.4.0

1.46.2 - 6 September 2019

  • Fix “utilities.replaceAll is not a function” when running particle keys server using the --host flag
  • Fix “Cannot read property ‘toLowerCase’ of undefined” when running particle keys doctor
  • Update help text for particle keys send to specify device id is required
  • Refine end-to-end compile assertions to improve reliability
  • Add device-dependent end-to-end tests for particle update

1.46.1 - 6 September 2019

  • Fix flaky end-to-end compilation test

1.46.0 - 6 September 2019

  • Updated binaries for DeviceOS 1.3.1

1.45.0 - 29 August 2019

  • Fixes issue "Cannot read property 'then' of undefined" w/ particle doctor
  • Fixes long delay before exiting particle flash --serial <bin> command
  • Fixes support for particle.ignore within legacy projects
  • Optionally follow symlinks when collecting files for compilation - e.g. particle compile argon --followSymlinks
  • Update help text for particle keys doctor to specify device id is required

1.44.0 - 29 August 2019

  • Cloud compile and flash now accept .hpp, .hxx, and .hh files
  • Update particle-usb to v0.5.0 in preparation for node@12 support
  • Improved install / update instructions to reduce confusion for users of our wrapper bins
  • serial_follow_delay setting uses default of 250ms (vs 5ms)
  • Made serialport an optional dependency

1.43.3 - 30 July 2019

  • Resolves a regression introduced in 1.43.2 when flashing known applications e.g. tinker.

1.43.2 - 29 July 2019

  • Support for radio stack modules and DROP_MODULE_INFO module flag #493
  • Support for secondary dependency in particle binary inspect #493

1.43.1 - 16 July 2019

  • Fixes issue #498 where particle update fails on Photon/P1 #499

1.43.0 - 11 July 2019

  • Updated binaries for Device OS 1.2.1
  • Removed Ascender mechanism for updating bootloaders and replaced with shiny new 🌟 feature implemented in Device OS PR 1788 that allows us to flash the bootloader via DFU with special sequence.

1.42.0 - 28 June 2019

  • Updates bootloader on Photon and P1 to Device OS v1.1.1's latest version (v301), even though (v201) is only required. #496
  • Also updates all Device OS binaries to v1.1.1 #496

1.41.2 - 10 June 2019

  • Move core-js from devDependencies to dependencies (fixes #491)
  • Update wiring-preprocessor to v2.0.1, show generated file warning when coverting .ino -> .cpp

1.41.1 - 29 May 2019

  • Add particle usb reset support for devices in DFU mode #488

1.41.0 - 14 May 2019

  • Updates bootloader on Photon and P1 to Device OS v1.1.0's latest version (v301), even though (v201) is only required. #487
  • Also updates Photon/P1/Electron Device OS binaries to v1.1.0 #487
  • Adds particle update support for Gen 3 platforms #487
  • Show NCP firmware modules in the output of serial inspect #477
  • Mesh command fixes #485

1.40.1 - 6 May 2019

  • Overhaul build pipeline #484
  • Update dependencies #482, #483

1.40.0 - 20 March 2019

  • Add mesh commands (particle mesh) #473
  • Add USB utility commands (particle usb) #473
  • Add Gen 3 devices and Particle debuggers to the udev rules file #473
  • Detect if the installed udev rules file needs to be updated #473

1.39.0 - 19 February 2019

  • Add a flag to force serial flash without prompt #471
  • Add binaries for Device OS 1.0.1 #476

1.38.0 - 24 January 2019

  • Use different server key variant for Gen 3 devices in particle keys server #470
  • Support Gen 3 SoMs in compile, DFU mode and serial mode #470

1.37.0 - 10 January 2019

  • Add Device OS 1.0 #469
  • Fix comma insertion in preprocess command #468

1.36.3 - 19 December 2018

  • Revert support Argon, Boron, Xenon in particle update #467

1.36.2 - 19 December 2018

  • Fix tinker for Photon, P1, Argon, Boron, Xenon #465
  • Support Argon, Boron, Xenon in particle update #465
  • Fix timeout when flashing Argon NCP firmware over serial #465

1.36.1 - 18 December 2018

  • Fix to stop spinner after running particle login --token XXXX #464

1.36.0 - 13 December 2018

  • Add support for Gen 3 bootloader and NCP to particle binary inspect #461

1.35.2 - 16 October 2018

  • Fix cloud flash --target option handling #453

1.35.1 - 29 September 2018

  • Fix mesh device key addresses #452

1.35.0 - 28 September 2018

  • Support mesh devices in cloud flash and DFU #451

1.34.0 - 10 September 2018

  • Default arguments to strings #449
  • Add command to preprocess ino file #450

1.33.0 - 6 August 2018

  • Add support for two-step authentication in CLI #441 #442

1.32.3 - 3 July 2018

  • REVERT switch from package-lock.json to npm-shrinkwrap.json #437

1.32.3 - 3 July 2018

  • switch from package-lock.json to npm-shrinkwrap.json #436

1.32.2 - 1 July 2018

  • pin serialport to 6.2.0 to avoid installation issues on Windows #435

1.32.1 - 25 June 2018

  • fix "Cannot read property 'stop' of undefined" in whoami command #433

1.32.0 - 25 June 2018

  • fix server error when particle function returns 0, only show time for variable when --time flag is set #431
  • fix handling of dir param and --name flag in project create command #429
  • handle --username, --password, and --token flags in login command #428
  • add whoami command to see currently signed-in username #430

1.31.0 - 18 June 2018

  • Improve error handling #422
  • Document the update-cli command #425
  • Remove Electron flash data warning #426

1.30.0 - 4 June 2018

  • Include binaries for firmware 0.7.0 (with bootloader updater "ascender" app for Photon/P1)#408

1.29.0 - 26 March 2018

  • Include binaries for firmware 0.7.0

1.28.2 - 21 March 2018

  • #405 Add back capability to configure Wi-Fi over serial using a JSON file
  • Fix crash when changing account in particle setup

1.28.1 - 8 March 2018

  • Add missing alias particle identify => particle serial identify

1.28.0 - 8 March 2018

  • #403 Move all commands to the new argument parser and rework the help

1.27.0 - 22 January 2018

  • Handle API errors when fetching the claim code

1.27.0 - 5 December 2017

  • Fix --yes for flash with binary

1.26.2 - 30 November 2017

  • Include binaries for firmware 0.6.4 [Electron only]

1.26.1 - 29 November 2017

  • #392 Migrate from serialport v4 to v6

1.25.0 - 7 November 2017

  • Include binaries for firmware 0.6.3

1.24.1 - 12 September 2017

  • #386 Increase Device Doctor timeout for clearing EEPROM

1.24.0 - 29 August 2017

  • #379 Add particle device doctor

1.23.1 - 6 July 2017

  • #375 Fix for particle setup wifi.

1.23.0 - 30 June 2017

  • Support for WPA Enterprise Wi-Fi setup

1.22.0 - 3 May 2017

  • Include binaries for firmware 0.6.2

1.21.0 - 29 March 2017

Features

  • #353 Wi-Fi switching on Windows
  • #351 Library publish without a name
  • White list files when uploading library to avoid publishing unnecessary files

1.20.1 - 1 March 2017

  • Include binaries for firmware 0.6.1

1.19.4 - 7 Febrary 2017

  • Fix: Use release version of particle-library-manager

1.19.3 - 7 February 2017

Features

  • #338 - particle keys protocol displays the currently configured protocol for the connected device
  • #205 - webhook delete all command. Thanks @kennethlimcp!
  • #240 - `particle serial monitor --follow' reconnects to the serial port when the device resets. Thanks @derekmpeterson!
  • #225 - ability to specify a .json file to skip the wifi prompts. Thanks @markterrill!
  • --no-update-check to skip checks for updated versions

Fixes

  • #326 - unhandled rejection in help
  • #235 - Unhandled error in particle setup
  • #331 - Flashing a known app causes exception
  • #328 - ParticleCLISetup for Windows broken due to OpenSSL download problem
  • #326 - Unhandled rejection in help
  • #321 - keys doctor (device id) is case sensitive
  • #292 - this -> self
  • #280 - Incorrect key pulled for Electron using TCP
  • #279 - Server key address output incorrect for Electron using TCP
  • #231 - max retry for wifi scan error
  • #299 - update glob dependency to avoid warning about minimatch vulnerability. Thanks @snyk-bot.

#r 1.19.2 - 26 January 2017

  • Fix path for compiling library examples

1.19.1 - 23 January 2017

  • Tweak for Windows CLI installer

1.19.0 - 23 January 2017

  • Library commands. Try particle library

1.18.0 - 22 November 2016

  • Include binaries for firmware 0.6.0

1.17.2 - 17 November 2016

  • Disable update check through environment

1.17.1 - 11 November 2016

  • Add support for Raspberry Pi

1.17.0 - 30 September 2016

Updates

  • Include binaries for firmware 0.5.3

Fixes

  • Fix a crash at startup when running without a tty

1.16.0 - 5 August 2016

Updates

  • Support DFU flashing 3-part Electron system firmware (0.6.0 and later)

1.15.0 - 7 July 2016

Updates

  • Include binaries for firmware 0.5.2
  • Add Oak and Bluz platforms

1.14.2 - 1 June 2016

Fixes

  • Fix flashing binaries to Electron over the air

1.14.1 - 31 May 2016

Fixes

  • Use tarball instead of git dependency to be able to install on computers without git
  • Fix particle compile with --saveTo flag

1.14.0 - 27 May 2016

Updates

  • Include binaries for firmware 0.5.1

Fixes

  • Fix incorrect platform id error when doing a DFU flash for Core (#232)
  • Able to OTA flash binary files again (#251)

1.13.0 - 25 May 2016

New Features

  • Photon WiFi setup on Linux. (#209)
  • Compile code in sub-directories (#248)

Updates

  • Serial port package updated to version 3.1.1 for compatibility with Node.js v6. Thanks @nfriedly! (#244)

Fixes

  • Better error message when renaming devices. Thanks @derekmpeterson (#238)
  • Remove debug output from particle keys send. Thanks @derekmpeterson! (#239)

1.12.0 - 21 Apr 2016

New Features

  • Add udp listen command. (#220)

Updates

  • Add 0.5.0 update binaries for Electron, Photon, and P1.
  • Add Redbear Duo to known platform list.
  • Add a debugging version of tinker for Electrons that logs AT commands over serial.

Fixes

  • Better DFU util error handling. (#206)
  • Fix usage of Buffer.fill on older versions of node. (#224)

1.11.0 - 10 Feb 2016

New Features

  • Prompt for confirmation of OTA data usage, when flashing cellular devices.

Fixes

  • Handle invalid token for subscribe commands. (#207)
  • Lowercase device id output during setup. (#208)
  • Increase specific error to ignore during update. (#206)

1.10.0 - 27 Jan 2016

New Features

  • Add serial flash command and flash --serial mode to flash firmware over serial using the YMODEM protocol. (#200)
  • Add compile version targeting using --target argument. compile and flash both support this argument, when compiling via the cloud. (#183)
  • Add support for proxyUrl settings to be used when communicating with the Particle Cloud. (#108)
  • Prompt to request a transfer, if needed, when claiming a device. (#114)
  • Change to 0.4.9 update binaries used by the particle update command for Photon and P1.

Fixes

  • Fix serial device detection on Linux. Thanks @monkbroc! (#190)
  • Fix help command output that was missing information in some cases.
  • Fix timeout error during setup wifi on Cores. (#144)
  • Standardize Wi-Fi question order. (#19)
  • Fix list if no devices are found.
  • Generate keys with keys new if no DFU device found but --protocol specified.
  • Make binary downloads after compile more reliable.

1.9.3 - 20 Jan 2016

Fixes

  • Do not fail DFU commands if any stderr output is generated.

1.9.2 - 16 Jan 2016

Fixes

  • Fix node-wifiscanner2 not reporting any SSID results on non-en locales in Windows. Thanks @ScruffR! (#118)

1.9.1 - 15 Jan 2016

Fixes

  • Fix leave being left off the DFU command when flashing user application firmware.
  • Remove excess console.log
  • Fix system version display during identify for Electrons

1.9.0 - 14 Jan 2016

New Features

  • keys address command to read protocol, host, and port configured on a device for the cloud.
  • keys protocol command to switch cloud transport protocol between tcp and udp for devices that support it.
  • binary inspect command to parse a firmware binary and output module information.
  • serial inspect command to read module information from the device, parse, and display it. (#76)
  • list output can now be filtered using online, offline, device type, or device id/name. (#96)
  • Firmware binaries are now parsed and sent to the correct device address. This allows you to flash system parts with flash --usb now. Incorrect usage is prevented, but can be overridden with --force. (#159)
  • Check for updates - particle-cli now checks to see if you have the latest version from npm, at most once a day, and outputs a message if not.(#138)
  • Cloud public keys are included and can be flashed by invoking keys server with no arguments. (#70)
  • Support across the board for ECC keys used with the UDP cloud protocol on the Electron. Most keys commands now support --protocol udp and --protocol tcp, but will default to what is appropriate for the device.

Enhancements

  • Add system firmware version to identify command. (#95)
  • Improve bad token handling. (#193)
  • Enable auto-detection of variable name versus device id during variable get and variable monitor. (#187)
  • Use device attributes to determine platform for flashing apps. (#151)
  • Output detected Wi-Fi security type. (#126)
  • Add option for manual entry if no Wi-Fi networks are detected. (#121)
  • Add webhook documentation to README. (#29)
  • Add support for --product_id to keys send command. (#155)
  • Improve API error handling.
  • Improve device claiming output. (#152)

Fixes

  • Fix URL for DFU install instructions. (#191)
  • Check arguments for udp send, token revoke. (#185, #180)
  • Backspace will no longer erase console output. (#20)
  • Handle errors from softap-setup-js during setup. (#154)
  • Filter Photon SSIDs from available list during serial wifi. (#135)
  • Filter directories from list of files to compile during compile. (#177)
  • Remove documentation for invalid flash argument combinations. (#115)
  • Show error when trying to flash a directory over USB. (#142)

Updates

  • Electron firmware binaries to 0.4.8-rc.6

12/23/2015 - 1.8.22

  • New firmware release for electron

12/21/2015 - 1.8.21

  • 21 on the 21st! Fixing small bug that impacted webhook creation.

12/16/2015 - 1.8.20

  • Fix cloud compile error output. Improve error code reporting in several places.

12/15/2015 - 1.8.19

  • Fix cloud compiling error

12/14/2015 - 1.8.18

  • Fix early returns from promise using commands

12/14/2015 - 1.8.17

  • Update Electron binaries to v0.0.3-rc.3

11/03/2015 - 1.8.16

  • Add bluz to cloud compile platforms

10/30/2015 - 1.8.15

  • Update Electron binaries to v0.0.3-rc.2

10/23/2015 - 1.8.14

  • Add Electron update binaries and tinker. Add IMEI/ICCID serial parsing.

10/21/2015 - 1.8.13

  • Update node-serialport dependency to require 2.0.1 or later.

10/20/2015 - 1.8.12

  • Update system firmware to 0.4.7 for Photon/P1.

10/12/2015 - 1.8.11

  • Include voodoospark v3.1.1 binary. Update package.json engines requirement.

10/12/2015 - 1.8.10

  • Forgot to publish update to README removing mention of Node 4.x incompatibility.

10/12/2015 - 1.8.9

  • Include v2.0 of node-serialport. This makes the Particle CLI compatible with Node v4.x!

10/04/2015 - 1.8.8

  • Include voodoospark v3.1.0 binary.

10/02/2015 - 1.8.7

  • revert Electron modular settings and update binaries.

10/02/2015 - 1.8.6

  • Include voodoospark v3.0.0 binary.

10/01/2015 - 1.8.5

  • Update system firmware to 0.4.6 for Photon/P1.

09/30/2015 - 1.8.4

  • Add Electron update binaries and tinker.

09/12/2015 - 1.8.3

  • Fix Photon claiming.

09/11/2015 - 1.8.2

  • Critical fix to system firmware 0.4.5

09/11/2015 - 1.8.1

  • Update system firmware to 0.4.5

09/11/2015 - 1.8.0

  • Add Electron setup. Update event publish description.

09/09/2015 - 1.7.0

  • Handle optional serial wifi prompt for cipher type. Add version to help commands. Add P1 tinker to known apps. Display Electron label in device list. Fix webhook type information being lost. Upgrade node-wifiscanner2 to work in more locales.

08/26/2015 - 1.6.9

  • Re-add fixed P1 serial support. Fix device MAC address detection.

08/25/2015 - 1.6.8

  • Revert serial changes

08/25/2015 - 1.6.7

  • Add serial support for P1

08/25/2015 - 1.6.6

  • Add support for P1 cloud compiling from CLI

08/23/2015 - 1.6.5

  • Fix variable monitor. Warn if connected to Photon AP when starting setup. Fail if device name contains spaces. Add support for manual mode when scanning but not connecting works. Ask for device name when setting up a photon. Use child_process.spawn to avoid password prompts on OS X.

08/20/2015 - 1.6.4

  • Update system firmware to 0.4.4

08/18/2015 - 1.6.3

  • Fix verbose DFU output. Fix config value deletion. Handle network scan security type missing. Handle trailing slashes in api url. Select first Wi-Fi port instead of hard-coded (OS X). Check for correct error from API when a token is invalid

08/17/2015 - 1.6.2

  • Fix Win10 device detection with default USB serial driver

08/06/2015 - 1.6.1

  • Update system firmware binaries

08/06/2015 - 1.6.0

  • Add tests. Add system firmware updating.

08/04/2015 - 1.5.20

  • Fix known app paths. Remove unused promise.

07/25/2015 - 1.5.19

  • Add known apps to device specs

07/24/2015 - 1.5.18

  • Add missing semicolons

07/24/2015 - 1.5.17

  • Format flash output. Use sudo correctly when necessary. Validate SSID entry. Update README with device_type args to compile command. Fix docs links. Update dfu-util links. Ask for device type when flashing. Fix Wi-Fi reconnection.

07/06/2015 - 1.5.16

  • Fix core setup

07/06/2015 - 1.5.15

  • update to use "flashDevice"

06/26/2015 - 1.5.14

  • fix cloud flash command

06/26/2015 - 1.5.13

  • keys command fixes and update colour to be blindness friendly

06/26/2015 - 1.5.12

  • Webhook fixes

05/28/2015 - 1.5.11

  • Fix core setup

05/21/2015 - 1.5.10

  • Fix tiny but important typo in prompts around manual Wi-Fi credentials.

05/21/2015 - 1.5.9

  • Added manual Wi-Fi credential mode. If your Wi-Fi network is non-broadcast, or if you'd just rather avoid scanning for networks, you can choose to manually enter your network details.

05/15/2015 - 1.5.2

  • Fixed a visual formatting bug of markdown on the README

05/15/2015 - 1.5.1

  • Fixed DFU specification regression causing users to be unable to locally flash keys and firmware to Photons.

05/15/2015 - 1.5.0

  • Rebranding complete! This project is now known as particle-cli

05/14/2015 - 1.4.1

  • Fixed error handling on Wireless Photon setup routine.

05/14/2015 - 1.4.0

  • Introduce support for Photon setup on OS X. New UI implementation for setup and wireless commands. Deprecating spark-cli in favor of the particle-cli as part of Spark's rebranding to Particle. Future releases will be under the 'particle-cli' package.

03/03/2015 - 1.0.0

  • introduce token commands by Kyle Marsh, documentation preparation for Photon release, merged js/ and doc/ directories, firmed up semantic versioning for dependencies, converted to hard tabs.

01/13/2015 - 0.4.94

  • fixing spark.include not being considered for builds

01/09/2015 - 0.4.93

  • reverting patcher for the moment by popular demand

12/16/2014 - 0.4.92

  • oops, real "1.14" patcher, cc3000 should report version 1.32

12/16/2014 - 0.4.91

  • adding new patcher that pulls latest patch from TI, 1.14

12/09/2014 - 0.4.8

  • pushing out patches and pull requests

12/03/2014 - 0.4.7

  • upgrading Voodoospark (2.6.0)

11/24/2014 - 0.4.6

  • adding glob support for include / ignore files, and both files are now processed! Also only pulling in source files by default (*.h, *.cpp, *.c, *.ino) - fixed a ton of issues (#60, #97, #66, #84, #89, #90, #95)

11/17/2014 - 0.4.5

  • new version of Voodoospark (2.5.0) requested in #105, yay!

10/22/2014 - 0.4.4

  • new tinker, version 11

10/13/2014 - 0.4.3

  • bringing in pull requests #92, #93, #98, fixing issues #91, #80, #83, #88, #87, bringing in contributors from 2014

10/07/2014 - 0.4.2

  • test for spark vendorid in findcores

09/10/2014 - 0.4.1

  • new tinker! Version 10 - second try

09/10/2014 - 0.4.0

  • new tinker! Version 10

09/03/2014 - 0.3.99

  • new webhook parameters and features, still in beta, but coming soon!

08/22/2014 - 0.3.98

  • new tinker binary! Version 9

08/05/2014 - 0.3.97

  • new tinker binary! Version 8

07/29/2014 - 0.3.96

  • adding a helper in the event capitalization is wrong on config settings

07/22/2014 - 0.3.95

  • adding config command

07/18/2014 - 0.3.94

  • adding latest tinker binary

07/17/2014 - 0.3.93

  • adding latest deep_update binary

07/02/2014 - 0.3.91

  • fixing a cloud flash file handling bug

06/29/2014 - 0.3.9

  • fixing a bug where a bin file in a directory would cause the CLI to stop looking for source files when compiling.

06/23/2014 - 0.3.8

  • adding "--factory" option for spark flash, to more easily rewrite the factory reset firmware area, a bunch of little fixes, and a new 'spark list' output format

06/05/2014 - 0.3.7

  • adding deep_update_2014_06 known app, to help with patching cores that aren't able to patch wirelessly

05/28/2014 - 0.3.6

  • adding version to general help, incorporating voodoospark pull request

05/28/2014 - 0.3.5

  • various bug fixes - fixing "undefined" variables, instead of proper count

05/27/2014 - 0.3.4

  • Allowing comment lines prefixed with "#" in spark.include and spark.ignore

05/27/2014 - 0.3.3

  • Fixing a flashing binary bug - don't conclude binary file argument is an output bin unless it's preceded by other filenames.

05/27/2014 - 0.3.2

  • Okay! The command structure got a bit of a remodel, use spark help to see the new commands. Pro-Tip! If you don't like the new command structure, the old commands should still mostly work, and you can remove the new commands entirely by adding commandMappings: null to your settings overrides file (which is here: ~/.spark/spark.config.json ). There have also been lots of small bug fixes and improvements. Also, the new mappings.json file paves the way for language support for command descriptions and help in languages other than english. Please feel free to send in translations! :)

  • Includes Fixes for #30, #36, pr #35, #32, #39

04/28/2014 - 0.3.1

  • New node-serialport that doesn't need to be compiled, yay! Please check the github readme for new commands :) Includes Fixes for #21, #5, #30, pr #27, pr #29,

03/19/2014 - 0.3.0

  • Clarifying language, fixing some prompts

03/18/2014 - 0.2.99

  • Adding 'subscribe' for streaming SSE from Spark.publish

03/17/2014 - 0.2.98

  • fixing a bug where we used the wrong parser

03/17/2014 - 0.2.97

  • Add a serial find override for /dev/ttyACM if we don't find any cores advertised on serial

03/17/2014 - 0.2.96

  • Fixing #18, backwards compatibility for wifi config

03/17/2014 - 0.2.95

  • Improving the guided setup user account behaviors

03/16/2014 - 0.2.94

  • Adding a guided setup command, lots of small tweaks

03/07/2014 - 0.2.93

  • Merging in a patch that helps with using Serial on Windows

03/03/2014 - 0.2.92

  • Adding basic function call support

03/02/2014 - 0.2.9

  • Merged in pull request for #6, and #14, fixed #3, #9, and #10,

  • Also removed hard dependency on ursa so the build / install is easier.

02/21/2014 - 0.2.8

  • Adding cloud list

02/21/2014 - 0.2.7

  • Adding local dfu flash

02/21/2014 - 0.2.6

  • Adding Udp client helper

Initial Release! - 02/20/2014

So this is very new software. We haven't even peeled off the protective plastic film yet. There will be bugs, and I hope you'll help us find them and add suggestions along the way.

Notes

You can’t perform that action at this time.