Skip to content

Releases: cansat-icarus/capture-lib

v4.0.0

01 May 23:00
f975c83
Compare
Choose a tag to compare

Breaking:

  • Acceleration unit is now G (was m/s^2). It was deemed more fitting for us. (1ca0649)
  • Dropped support for NodeJS v4 and Electron v1.4. (92a5097)

Added:

  • New replicator state that removes undefined behavior between backoff. (758ed04)

Fixed:

  • Backoff now has a minimum delay of 1s and a maximum delay of 60s to prevent deadlocks. (c04503c, df99e95)
  • When replication fails, all event listeners for the task are removed right after backing off to prevent duplicate backoff calls. (3176cc9)
  • Limited PouchDB replicator batching to prevent deadlocks. (ba804a6)
  • Replicator is no longer marked as "connecting" while backing off. (758ed04)
  • Prevent log replicator from going in an infinite loop: do not log pause or active events unless coming from a different state or an error occurs. (dcb4953)

Changed:

  • The station name is now included in the log DB path to split logs of different missions/stations. (a6e8038)
  • The PouchDB replication task is now dereferenced while backing off, allowing GC to get rid of it and saving memory. (071d0b1)
  • Replicators are now also stopped when disconnecting from the backend to save memory. It's possible they slow down the app too much and the station operator may decide that they mustn't run. (ac06773)
  • Log childIds are now shorter because they no longer begin with "station." (which is redundant, we know they are part of the station). (59bb9e9)

v3.0.1

01 May 23:00
7817bea
Compare
Choose a tag to compare

Disabled a failing test for the build to pass. It's intended, we corrected the conversions according to the datasheet for the pressure sensor.

v3.0.0

01 May 23:00
5b3930d
Compare
Choose a tag to compare

Breaking:

  • Switch 2nd accelerometer to a MMA7361 (a68d008)

Added:

  • Value conversions for the MMA7361 accelerometer. (bc9782d)

Fixed:

  • Value conversions for the MPX4115A pressure sensor according to datasheet. (b2e3e02)

v2.1.0

22 Apr 21:46
a98dc45
Compare
Choose a tag to compare

This change is essential for proper log file saving in the Capture Wrapper electron app.

Added:

  • Save log files in global.pathPrefix directory. (a5b738e)

v2.0.4

22 Apr 21:45
75f9b86
Compare
Choose a tag to compare

Fixes:

v2.0.3

22 Apr 21:45
2aa3962
Compare
Choose a tag to compare

See changelog for v2.0.2, some changes accidentally went unreleased.

v2.0.2

22 Apr 21:44
8cc275d
Compare
Choose a tag to compare

Fixes

  • Save essential fields in bad packets. (c26ea8d)

v2.0.1

22 Apr 21:43
8c640be
Compare
Choose a tag to compare

Changed:

  • Packet parser instances are now isolated. One is created per packet. (7651661)

Fixes:

  • Packet parsing no longer crashes because of too small packets. (ccc1b56)

v2.0.0

22 Apr 21:43
25c72eb
Compare
Choose a tag to compare

Changed:

  • BREAKING: Packet encoding algorithm changed from quasi-binary to base64. It gives the same savings, and our transceivers actually work with it. (3006aca)

v1.0.3

14 Apr 17:50
b54558e
Compare
Choose a tag to compare

No changes to the code. Just changed the package name to be scoped in @cansat-icarus.
Last patch version containing nothing. I hope.

Fun fact: It didn't quite work. If you check the build log, you will see that npm publish failed because it tried to publish it as a private package. I had to manually do it with the --access=public flag, but it should work flawlessly in the future.