Commit Graph

3205 Commits

Author SHA1 Message Date
Miguel Casqueira
e0c489bb4a Performed npm audit fix on dependencies
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 14:22:31 -04:00
Pagan Gazzard
1decd87c21 Update dependencies
Change-type: patch
2020-05-29 14:22:23 -04:00
Balena CI
e0187090b1 v11.4.16 2020-05-29 17:57:50 +03:00
bulldozer-balena[bot]
7365e5c160
Merge pull request #1345 from balena-io/singleton-database
Make the db module a singleton
2020-05-29 14:54:39 +00:00
Cameron Diver
1d7381327e Make the db module a singleton
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
Balena CI
0dc0fc77b6 v11.4.15 2020-05-27 10:51:55 +03:00
bulldozer-balena[bot]
68e2546ddc
Merge pull request #1344 from balena-io/correct-error-matching
Support ResponseErrors from balena-register-device
2020-05-27 07:50:06 +00:00
Cameron Diver
972b896c95 Check for ApiError before using it as such
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-26 14:43:59 +01:00
Balena CI
68b2b1be0b v11.4.14 2020-05-22 01:18:57 +03:00
M. Casqueira
81f6a77855
Merge pull request #1338 from balena-io/detect-unique-uuid-error
Check for 409 status code, rather than string matching uuid conflicts
2020-05-21 18:16:28 -04:00
Cameron Diver
eaaa9c257e check for 409 status code, rather than string matching uuid conflicts
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 14:57:26 -04:00
Balena CI
00a6ce84f3 v11.4.13 2020-05-21 19:32:18 +03:00
CameronDiver
e5f53d1a2d
Merge pull request #1342 from balena-io/fix-call-stack-exceeding
Use safeStateClone to avoid call-stack exceeding errors
2020-05-21 12:30:18 -04:00
Cameron Diver
87278c0d8c Use safeStateClone to avoid call-stack exceeding errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 16:47:09 +01:00
Balena CI
1bf2a7ae29 v11.4.12 2020-05-19 20:07:27 +03:00
M. Casqueira
34fff5ef2d
Merge pull request #1329 from balena-io/1294-returning-app-state
Improved handling of invalid appId in V2 state endpoint
2020-05-19 13:04:27 -04:00
Miguel Casqueira
db7c27037c Improved handling of invalid appId in V2 state endpoint
Closes: #1294
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-19 10:53:19 -04:00
Balena CI
860afa25c7 v11.4.11 2020-05-18 22:39:56 +03:00
Page-
9c25b09696
Merge pull request #1334 from balena-io/patch-balena-api
Switch to balenaApi for the state patch as patching cannot be cached
2020-05-18 20:38:10 +01:00
Pagan Gazzard
fb90042c39 Switch to balenaApi for the state patch as patching cannot be cached
Change-type: patch
2020-05-18 18:17:48 +00:00
Balena CI
5f35331633 v11.4.10 2020-05-18 18:15:16 +03:00
CameronDiver
709c2788cb
Merge pull request #1333 from balena-io/fix-preload-pinning
Fix leftover spurious return from typescript conversion
2020-05-18 11:13:29 -04:00
Cameron Diver
6972dcd92d Fix leftover spurious return from typescript conversion
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-18 15:21:33 +01:00
Balena CI
84b1726681 v11.4.9 2020-05-18 17:04:05 +03:00
Page-
02be46068b
Merge pull request #1331 from balena-io/always-poll
Catch errors in the target state poll so polling will always continue
2020-05-18 15:02:21 +01:00
Pagan Gazzard
dc187f0036 Catch errors in the target state poll so polling will always continue
Change-type: patch
2020-05-18 14:14:52 +01:00
Balena CI
62a36cbcdc v11.4.8 2020-05-18 16:13:00 +03:00
Page-
bb1e0cdfcd
Merge pull request #1330 from balena-io/avoid-instant-updates-query
Avoid querying `instantUpdates` on every state poll
2020-05-18 14:11:17 +01:00
Pagan Gazzard
afae5d15d4 Avoid querying instantUpdates on every state poll
Change-type: patch
2020-05-18 13:23:44 +01:00
Balena CI
29dd8317d8 v11.4.7 2020-05-16 18:08:18 +03:00
Page-
e271c0b2a8
Merge pull request #1326 from balena-io/fix-default-request-options
Fix default request options
2020-05-16 16:06:18 +01:00
Pagan Gazzard
b05d597ade Fix default request options
Change-type: patch
2020-05-16 14:05:47 +01:00
Balena CI
3b1c29e0ef v11.4.6 2020-05-15 20:54:58 +03:00
M. Casqueira
cca571ef0d
Merge pull request #1320 from balena-io/1318-remove-coffeescript
Remove CoffeeScript tests and all CoffeeScript tools
2020-05-15 13:53:23 -04:00
Miguel Casqueira
466c7999db Remove CoffeeScript tests and all CoffeeScript tools
Closes: #1318
Change-Type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-15 13:01:51 -04:00
Balena CI
9c1110af32 v11.4.5 2020-05-15 15:04:53 +03:00
Page-
4cf242c976
Merge pull request #1325 from balena-io/update-balena-lint
Update to @balena/lint 5.x
2020-05-15 13:02:46 +01:00
Pagan Gazzard
758f3caa48 Update to @balena/lint 5.x
Change-type: patch
2020-05-15 12:08:42 +01:00
Balena CI
e9728f7c2d v11.4.4 2020-05-15 13:31:49 +03:00
CameronDiver
628527a009
Merge pull request #1281 from balena-io/1242-add-supervisor-poll-jitter
Add a random constant offset to every poll timeout
2020-05-15 11:29:48 +01:00
Cameron Diver
58c6a69e5a Add a random offset to the poll interval with each poll
Change-type: patch
Closes: #1242
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-15 10:34:06 +01:00
Balena CI
a03e89caf8 v11.4.3 2020-05-14 12:31:21 +03:00
CameronDiver
a2f06d5934
Merge pull request #1317 from balena-io/cache-service-names
Cache service names in local log backend
2020-05-14 10:29:25 +01:00
Cameron Diver
0bceffffb6 Cache service names in local log backend
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-14 09:41:40 +01:00
Balena CI
de25751a7e v11.4.2 2020-05-14 11:38:38 +03:00
CameronDiver
ab6a1fc7c8
Merge pull request #1319 from balena-io/update-package.json-engine
Update engine information in package.json
2020-05-14 09:36:53 +01:00
Cameron Diver
bbfd87d325 Update engine information in package.json
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-13 09:47:44 +01:00
Balena CI
71d296ab19 v11.4.1 2020-05-12 21:00:15 +03:00
M. Casqueira
6e9141d102
Merge pull request #1287 from balena-io/1180-fix-checkint
Correctly check if value is a valid Integer
2020-05-12 13:58:06 -04:00
Miguel Casqueira
838c1ebba4 Correctly check if value is a valid Integer
Closes: #1180
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-12 12:42:14 -04:00