All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to Semantic Versioning.
- Improve typings [Thodoris Greasidis]
- Stop returning Bluebird promises & drop it from the dependencies [Thodoris Greasidis]
- Update
balena-sdk
to 20.1.3 and API v7 [myarmolinsky]
- Reuse the registryRequest helper for all registry requests [Thodoris Greasidis]
- Improve the typings for the registry requests [Thodoris Greasidis]
- Use the sdk instead of
request
for registry requests [Thodoris Greasidis]
Update balena-sdk from 19.0.1 to 19.7.2 [Thodoris Greasidis]
Update balena-request from 13.3.1 to 13.3.2 [Thodoris Greasidis]
- Fix always following redirects when followRedirect = false [Thodoris Greasidis]
Limit pinejs-client-core to ~6.14.0, to fix errors in older TypeScript [Thodoris Greasidis]
- Respect the Retry-After header when clients define the getRetryAfterHeader option [Thodoris Greasidis]
- Add support for $duration [Thodoris Greasidis]
- Avoid an unnecessary function creation on each get() call [Thodoris Greasidis]
- CI: Convert tests to TypeScript [Josh Bowling]
- Fix
$orderby: { a: { $count: ... }, $dir: 'asc' }
typings [Thodoris Greasidis]
- Update TypeScript to 4.9.3 [Thodoris Greasidis]
- Fix the TypeScript incompatibility test [Thodoris Greasidis]
- Add identity provider & saml account model typing [Otavio Jacobi]
- Update TypeScript to 5.5.2 [Thodoris Greasidis]
- Add the application.getAllByOrganization() method [Thodoris Greasidis]
- Deprecate the application.getAppByOwner() method [Thodoris Greasidis]
- tests: Make the cleanups more precise [Thodoris Greasidis]
- Drop the toWritable helper in favor of TypeScript's satisfies [Thodoris Greasidis]
- os: Update the comments on why we still need to be using the release_tags [Thodoris Greasidis]
- Fix
application.create
method being wrongly marked as deprecated [myarmolinsky]
- Fix missing underscore to describes__device property [Andrea Rosci]
- Update TypeScript to 5.4.2 [Thodoris Greasidis]
- device-type.getInstructions: Convert etcher link to HTTPS [Vipul Gupta (@vipulgupta2048)]
Update balena-auth to 6.0.1 [Thodoris Greasidis]
- Update jwt-decode to v3 [Thodoris Greasidis]
- Update typescript to 5.3.3 [Thodoris Greasidis]
- Move the sources from lib to src [Thodoris Greasidis]
- Update @balena/lint to v7 [Thodoris Greasidis]
- Stop publishing the lib folder [Thodoris Greasidis]
- Drop support for nodejs < 18 [Thodoris Greasidis]
- Drop no longer used appveyor.yml [Thodoris Greasidis]
- Update @balena/lint to v7 [Thodoris Greasidis]
- Update balena-request to 13.3.0 [Thodoris Greasidis]
- Update balena-auth to 6.0.1 [Thodoris Greasidis]
- Bump balena-request Update balena-request from 13.2.0 to 13.3.0 [Otávio Jacobi]
- Replace deprecated flowzone input tests_run_on [Kyle Harding]
- tests: Reformat describe & it calls to have curly braces [Thodoris Greasidis]
- Update @balena/lint to 7.3.0 [Thodoris Greasidis]
- types: Add the
Organization.is_using__billing_version
property [Thodoris Greasidis]
- Update the deviceType.getInstructions tests [Thodoris Greasidis]
- os.getSupportedOsUpdateVersions: Add the option to include draft releases [Thodoris Greasidis]
Enable OS Updates to pre-release versions of higher base semver [Thodoris Greasidis]
- Enable OS Updates to pre-release versions of higher base semver [Thodoris Greasidis]
- Drop support for TypeScript < 5.3.3 [Thodoris Greasidis]
- Drop support for node < v18 [Thodoris Greasidis]
- Update dependencies [Thodoris Greasidis]
- Move the build step from prepare to prepack [Thodoris Greasidis]
- patch: Update flowzone.yml [Kyle Harding]
- os.getAvailableOsVersions: Add the option to include draft releases [Thodoris Greasidis]
- Update date-fns to v3 [Thodoris Greasidis]
- types/Device: Deprecate the non-existent vpn_address property [Otávio Jacobi]
- types/Device: Deprecate the non-existent state & status_sort_index properties [Thodoris Greasidis]
- test:fast: Run the tests ignoring any linting errors [Thodoris Greasidis]
- tests: Re-enable the explicit error checks for non-tarball DWB requests [Thodoris Greasidis]
- Update TypeScript to 5.3.2 [Thodoris Greasidis]
- tests: Remove the explicit error checks for non-tarball DWB requests [Thodoris Greasidis]
- tests: Properly cleanup the test orgs [Thodoris Greasidis]
- tests: Reduce the request batching chunk size to speed up tests [Thodoris Greasidis]
- Add option for configuring the request batching chunk size [Thodoris Greasidis]
- Add organization logo to organization [Otávio Jacobi]
- Add the retryRateLimitedRequests sdk option for retrying after HTTP 429s [Thodoris Greasidis]
- Remove unused dependencies [Otavio Jacobi]
- Remove unused resin-cli-visuals dependency [Otavio Jacobi]
- Update resin-cli-visuals to v2 [Thodoris Greasidis]
- Update to eslint based linter [Ken Bannister]
Update balena-sdk to 19.0.1 [Otávio Jacobi]
- Fix test workflow to run on node 18 [Otávio Jacobi]
**BREAKING**: Drop support to node < 18 [Otávio Jacobi]
- Fix balena-request peer dependency [Otávio Jacobi]
- Drop supoport for node 14 & 16 [Otávio Jacobi]
- Drop support for node 14 & 16 [Otávio Jacobi]
- jwt: Deprecate the profile fields in favor of the user_profile [Thodoris Greasidis]
- jwt: Deprecate the intercom fields [Thodoris Greasidis]
- jwt: Deprecate the features fields [Thodoris Greasidis]
- jwt: Deprecate thw loginAs field [Thodoris Greasidis]
- jwt: Deprecate username & created_at in favor of the user resource [Thodoris Greasidis]
- Add typings for the user_profile resource [Thodoris Greasidis]
- Update @balena/lint to 7.2.0 [Thodoris Greasidis]
- Deprecate the social_service_account property of the JWTUser [Thodoris Greasidis]
- Add typings for the social_service_account resource [Thodoris Greasidis]
- Update TypeScript to 5.2.2 [Thodoris Greasidis]
- tests/os: Refactor some promise tests to async await [Thodoris Greasidis]
- Fix os.getSupervisorReleaseByDeviceType test to work on balenaMachine [Thodoris Greasidis]
Update balena-request from 12.0.2 to 12.0.4 [Thodoris Greasidis]
- Refactor the interceptors to stop using .reduce() [Thodoris Greasidis]
- Avoid deep imports from balena-auth [Thodoris Greasidis]
- Update balena-auth to 5.1.0 [Thodoris Greasidis]
- organization-invite: Fix throwing a typed error when passing an unkonwn role [Thodoris Greasidis]
- application-invite: Fix throwing a typed error when passing an unkonwn role [Thodoris Greasidis]
- tests: Fix bugs that linting surfaced [Thodoris Greasidis]
- Update @balena/lint to 7.0.1 [Thodoris Greasidis]
- logs: Emit errors when initializing the SDK with debug: true [Thodoris Greasidis]
- Improve the auth.getActorId() tests [Thodoris Greasidis]
- auth.getUserInfo: Add the actor id to the returned values [Thodoris Greasidis]
- patch: bump lint-staged from 13.3.0 to 14.0.0 [Thodoris Greasidis]
- Replace dependabot with renovate [Thodoris Greasidis]
- Drop support for Node.js v16 [Otávio Jacobi]
- Fix preload with commit hash [Otávio Jacobi]
Update to balena-sdk 18.0.0 [Otávio Jacobi]
- BREAKING: Remove the device-type.json state & name normalization [Thodoris Greasidis]
- BREAKING: Drop auth.getUserActorId in favor of auth.getActorId [Otávio Jacobi]
- auth: Add getActorId [Otávio Jacobi]
- BREAKING: Drop auth.getUserId in favor of auth.getUserInfo [Otávio Jacobi]
- BREAKING: Drop auth.getEmail in favor of auth.getUserInfo [Otávio Jacobi]
- auth: Add getUserInfo [Otávio Jacobi]
- BREAKING: Drop pre-Resin OS v1 device.os_version normalization [Thodoris Greasidis]
- BREAKING: Support non-user API keys in auth.isLoggedIn() & whoami() [Otávio Jacobi]
- BREAKING: Drop support to node < 16 [Otávio Jacobi]
- Fix pointing browser es2018 settings-client to the es2015 one [Thodoris Greasidis]
- Point browser bundlers to the appropriate handlebars entrypoint [Thodoris Greasidis]
- tests: Reduce the polyfills used in webpack [Thodoris Greasidis]
- Avoid loading balena-settings-client in browsers using the browser field [Thodoris Greasidis]
Add support for creating isolated in-memory instances [Thodoris Greasidis]
- Add support for isolated instances by passing dataDirectory: false [Thodoris Greasidis]
- Add multiple instance isolation tests [Thodoris Greasidis]
Update balena-request to 12.0.2 [Thodoris Greasidis]
- Make
url
a normal dependency [Thodoris Greasidis]Update dependenecies [Thodoris Greasidis]
Update balena-settings-storage to 8.0.0 [Thodoris Greasidis]
- virtual-storage: Use an object without a prototype as the store [Thodoris Greasidis]
- Specify a browser entry point [Thodoris Greasidis]
- Use es6 exports [Thodoris Greasidis]
- Update TypeScript to 5.1.6 [Thodoris Greasidis]
- Drop support for nodejs < 14 [Thodoris Greasidis]
- Update balena-errors from v4.7.1 to v4.7.3 [JSReds]
- Fix tests on node18 [Thodoris Greasidis]
- Replace balenaCI with flowzone [JSReds]
- Update dependencies [Thodoris Greasidis]
- Drop support for nodejs < 14 [Thodoris Greasidis]
- patch: Update flowzone.yml [Kyle Harding]
- Add a get2FAStatus() method [Thodoris Greasidis]
- Fix async tests not waiting for the result [Thodoris Greasidis]
- Delete redundant .resinci.yml [Thodoris Greasidis]
- Replace balenaCI with flowzone [Thodoris Greasidis]
- Update balena-auth to 5.0.0 & balena-request to 12.0.1 [Thodoris Greasidis]
- Use typescript via a devDependency rather than npx [Thodoris Greasidis]
- Update mockttp to 3.8.0 [Thodoris Greasidis]
- Update minimum node version to v14 [Kyle Harding]
- Update flowzone.yml [Kyle Harding]
- Delete redundant .resinci.yml [Thodoris Greasidis]
- Fix overriding the whole webpack resolve section of karma tests [Thodoris Greasidis]
- Fix key uniqueness check [Thodoris Greasidis]
- Convert the tests to TypeScript [Thodoris Greasidis]
- Fix karma browser tests in node 18 [Thodoris Greasidis]
- Specify the supported node engines in the package.json [Thodoris Greasidis]
- Replace balenaCI with flowzone [Thodoris Greasidis]
- Update balena-auth to 5.0.0 [Thodoris Greasidis]
- Update TypeScript to 5.1.6 [Thodoris Greasidis]
- Update mockttp to v3.8.0 [Thodoris Greasidis]
- Drop support for node < 14 [Thodoris Greasidis]
- Add querystring-es3 polyfill to fix browser tests [Thodoris Greasidis]
- tsconfig: Enable skipLibCheck to avoid mockttp nested dependency errors [Thodoris Greasidis]
- Update TypeScript to 4.9.5 [Thodoris Greasidis]
- patch: Update flowzone.yml [Kyle Harding]
- Update balena-errors to v4.7.3 [JSReds]
- Delete redundant .resinci.yml [Thodoris Greasidis]
- Fix overriding the whole webpack resolve section of karma tests [Thodoris Greasidis]
- Replace balenaCI with flowzone [Thodoris Greasidis]
- Fix tests in node 18 [Thodoris Greasidis]
- Specify the supported node engines in the package.json [Thodoris Greasidis]
- Fix the typings to properly mark the auth parameter as optional [Thodoris Greasidis]
- Update TypeScript to 4.8.3 [Thodoris Greasidis]
- Fix extracting the response error from object response bodies [Thodoris Greasidis]
- Drop explicit karma-chrome-launcher devDependency [Thodoris Greasidis]
- Use response error as response message if there is one [Matthew Yarmolinsky]
- Drop circle.yml [Thodoris Greasidis]
- Drop mochainon & bump karma [Thodoris Greasidis]
- Convert tests to JavaScript and drop coffeescript [Thodoris Greasidis]
- Fix the jsdoc generation [Thodoris Greasidis]
- Convert to typescript and publish typings [Thodoris Greasidis]
- Allow overriding the default zlib flush setting [Kyle Harding]
- Allow more lenient gzip decompression [Kyle Harding]
- Update fetch-ponyfill to v7 [Thodoris Greasidis]
- Switch to the versioned token refresh endpoint [Thodoris Greasidis]
- Prevent token refresh when no base url is provided [Thodoris Greasidis]
- Update balena-auth from 4.0.0 to 4.1.0 [josecoelho]
- Stop refreshing the token on absolute urls [Thodoris Greasidis]
- Add lazy loading for most modules [Pagan Gazzard]
- Fix body overwriting on nodejs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Fix tslib dependency [Pagan Gazzard]
- Fix passing baseUrl to refreshToken if the request uses an absolute url [Pagan Gazzard]
- service: Allow passing an application-service_name pair as a parameter [Thodoris Greasidis]
- device.serviceVar: Allow passing a service name as a parameter [Thodoris Greasidis]
- billing: Add
removeBillingInfo
method for removing billing info [myarmolinsky]
- deviceType.getBySlugOrName: Use a clearer var name in the docs example [Thodoris Greasidis]
- Add typings for the organization.is_frozen computed term [Thodoris Greasidis]
- application.create: Enable creating fleets with archived device types [myarmolinsky]
- Add
owns__credit_bundle
typing forOrganization
[myarmolinsky]
- Add typings for Credits Notifications [myarmolinsky]
- util: Simplify the listImagesFromTargetState helper [Thodoris Greasidis]
- Fix prettier complaining on windows runners [Thodoris Greasidis]
- deviceType.getInstructions: Improve the return type [Thodoris Greasidis]
- Fix browser tests now failing to find a polyfill for querystring [Thodoris Greasidis]
- os: Export the OsDownloadOptions type [Thodoris Greasidis]
- tsconfig: Allow noImplicitThis in the tests [Thodoris Greasidis]
- tsconfig: Switch to strict compilation to fix the 5.1 errors [Thodoris Greasidis]
- Update TypeScript to 5.1.3 [Thodoris Greasidis]
- Access other models internally via the shared current sdk instance [Thodoris Greasidis]
- Convert the remaining .js tests to .ts [Thodoris Greasidis]
- Extends batch device actions to accept arrays of full UUIDs [Thodoris Greasidis]
- device.startOsUpdate: Add support for providing an array of UUIDs [Thodoris Greasidis]
- Add 2fa tests [Otávio Jacobi]
Fix auth.twoFactor.isEnabled() regression returning always true [Thodoris Greasidis]
- Add a get2FAStatus() method [Thodoris Greasidis]
- Fix async tests not waiting for the result [Thodoris Greasidis]
- Delete redundant .resinci.yml [Thodoris Greasidis]
- Replace balenaCI with flowzone [Thodoris Greasidis]
- Add support to short uuid on device.serviceVar.set [Otávio Jacobi]
- Switch to a stricter request limiting queuing mode [Thodoris Greasidis]
- Drop the callback examples from the docs [Thodoris Greasidis]
- Add the requestLimit & requestLimitInterval options to the SDK factory [Thodoris Greasidis]
- Update dependencies [Thodoris Greasidis]
- Add a method to retrieve the supervisor image for a DT [Edwin Joassart]
- Add util to list images referenced in a target state v3 [Edwin Joassart]
- Add a method for retrieving an application's virtual device target supervisor state [Edwin Joassart]
- Use SDK getSupervisorTargetStateForApp when getting supervisor state [Otávio Jacobi]
- Improve typings & source type safety [Thodoris Greasidis]
- Update dev dependencies [Thodoris Greasidis]
- Update to balena-sdk 17.0.0 [Thodoris Greasidis]
- Emit type declaration files [Thodoris Greasidis]
- Switch to es6 module exports [Thodoris Greasidis]
- Require es2019 capable runtime [Thodoris Greasidis]
- Drop support for Node.js v12 & v14 [Thodoris Greasidis]
- major: removes Edison DT code [JOASSART Edwin]
- minor: build for every major node version >=12 [Edwin Joassart]
- fix stdin with docker 20.10.17 [Edwin Joassart]
- move to flowzone set npm engine to 12 remove resin-ci [Edwin Joassart]
- Add support for preloading v3 target state format [pipex]
- Update supervisor image regex to include tagged images [Kyle Harding]
- Improve types [Thodoris Greasidis]
- Stop relying on the /device-types/v1 endpoints [Thodoris Greasidis]
- Bump TypeScript to v4.5 [Thodoris Greasidis]
Bump balena-sdk to v16 [Thodoris Greasidis]
- BREAKING: Merge the hostApp model into the OS model [Thodoris Greasidis]
- BREAKING Drop os.getSupportedVersions() method in favor of hostapp.getAvailableOsVersions() [Thodoris Greasidis]
- os.getMaxSatisfyingVersion: Add optional param to choose OS line type [Thodoris Greasidis]
- os.getMaxSatisfyingVersion: Include ESR versions [Thodoris Greasidis]
- os.getMaxSatisfyingVersion: Switch to use hostApps [Thodoris Greasidis]
- hostapp.getAvailableOsVersions: Add single device type argument overload [Thodoris Greasidis]
- hostapp.getAllOsVersions: Add single device type argument overload [Thodoris Greasidis]
- models.hostapp: Add a getAvailableOsVersions() convenience method [Thodoris Greasidis]
- Support optional extra PineOptions in hostapp.getAllOsVersions() [Thodoris Greasidis]
- BREAKING Include invalidated versions in hostapp.getAllOsVersions() [Thodoris Greasidis]
- models/application: Add getDirectlyAccessible & getAllDirectlyAccessible [Thodoris Greasidis]
- application.get: Add 'directly_accessible' convenience filter param [Thodoris Greasidis]
- application.getAll: Add 'directly_accessible' convenience filter param [Thodoris Greasidis]
- BREAKING Change application.getAll to include public apps [Thodoris Greasidis]
- BREAKING Drop targeting/retrieving apps by name in favor of slugs [Thodoris Greasidis]
- Bump minimum supported Typescript to v4.5.2 [Thodoris Greasidis]
- BREAKING: Stop actively supporting node 10 [Thodoris Greasidis]
- BREAKING Drop application.getAllWithDeviceServiceDetails() [Thodoris Greasidis]
- BREAKING Change apiKey.getAll() to return all key variants [Thodoris Greasidis]
- types: Drop is_in_local_mode from the Device model [Thodoris Greasidis]
- types: Drop user__is_member_of__application in favor of the term form [Thodoris Greasidis]
- typings: Drop Subscription's discounts__plan_addon property [Thodoris Greasidis]
- typings: Stop extending the JWTUser type in the User model [Thodoris Greasidis]
- models/config: Change the BETA device type state to NEW [Thodoris Greasidis]
- typings: Drop the PineWithSelectOnGet type [Thodoris Greasidis]
- Remove my_application from the supported resources [Thodoris Greasidis]
- typings: Properly type some Device properties [Thodoris Greasidis]
- typings: Drop the DeviceWithImageInstalls type [Thodoris Greasidis]
Update balena-request to 11.5.0 [Thodoris Greasidis]
- Convert tests to JavaScript and drop coffeescript [Thodoris Greasidis]
- Fix the jsdoc generation [Thodoris Greasidis]
- Convert to typescript and publish typings [Thodoris Greasidis]
- Fix the typings of the Image contract field [Thodoris Greasidis]
- Fix the typings for the Release contract field [Thodoris Greasidis]
- Add release setIsInvalidated function [Matthew Yarmolinsky]
- Update typescript to 4.5.2 [Thodoris Greasidis]
- models/release: Add note() method [Thodoris Greasidis]
- typings: Add the release.invalidation_reason property [Thodoris Greasidis]
- typings: Add the release.note property [Thodoris Greasidis]
- tests/logs: Increase the wait time for retrieving the subscribed logs [Thodoris Greasidis]
- tests/logs: Refactor to async-await [Thodoris Greasidis]
- typings: Fix $filters for resources with non numeric ids [Thodoris Greasidis]
- typings: Add application.can_use__application_as_host ReverseNavigation [Thodoris Greasidis]
- Add missing apiKey.getDeviceApiKeysByDevice docs [Thodoris Greasidis]
- models/api-key: Change update() & revoke() to work with all key variants [Thodoris Greasidis]
- models/apiKey: Add getDeviceApiKeysByDevice() method [Thodoris Greasidis]
- typings: Add the release.raw_version property [Thodoris Greasidis]
- application/create: Rely on the hostApps for detecting discontinued DTs [Thodoris Greasidis]
- tests/device: Async-await conversions & abstraction on multi-field tests [Thodoris Greasidis]
- tests: Register devices in chunks of 10 to avoid uuid conflicts in node [Thodoris Greasidis]
- Add known issue check on release isReccomanded logic [JSReds]
- Add known_issue_list to hostApp.getOsVersions() [JSReds]
- Add support for batch device supervisor updates [Thodoris Greasidis]
- Add support for batch device pinning to release [Thodoris Greasidis]
- auth.isLoggedIn: Treat BalenaExpiredToken errors as logged out indicator [Thodoris Greasidis]
- Convert application spec to TypeScript [Thodoris Greasidis]
- application.trackLatestRelease: Fix using draft/invalidated releases [Thodoris Greasidis]
- application.isTrackingLatestRelease: Exclude draft&invalidated releases [Thodoris Greasidis]
Update balena-request to v11.4.2 [Kyle Harding]
- Allow overriding the default zlib flush setting [Kyle Harding]
- os.getConfig: Add typings for the provisioningKeyName option [Nitish Agarwal]
- models/os: Always first normalize the device type slug [Thodoris Greasidis]
- Add release.finalize to promote draft releases to final [toochevere]
- typings: Drop the v5-model-only application_type.is_host_os [Thodoris Greasidis]
- os.getSupportedOsUpdateVersions: Use the hostApp releases [Thodoris Greasidis]
- os.download: Use the hostApp for finding the latest release [Thodoris Greasidis]
Update balena-request to 11.4.1 [Kyle Harding]
- Allow more lenient gzip decompression [Kyle Harding]
- Improve hostapp.getAllOsVersions performance & reduce fetched data [Thodoris Greasidis]
- Update typescript to 4.4.2 [Thodoris Greasidis]
- Deprecate the release.release_version property [Thodoris Greasidis]
- typings: Add the release versioning properties [Thodoris Greasidis]
- Run browser tests using the minified browser bundle [Thodoris Greasidis]
- Move to uglify-js to fix const assignment bug in minified build [Thodoris Greasidis]
- typings: Add the release.is_final & is_finalized_at__date properties [Thodoris Greasidis]
- apiKey.getAll: Return only NamedUserApiKeys for backwards compatibility [Thodoris Greasidis]
- Add email verification & email request methods [Nitish Agarwal]
- Update generateProvisioningKey to include keyName [Nitish Agarwal]
- Avoid creating multiple preload containers [Kyle Harding]
- major: Remove balena-preload script in favor of use with CLI [Lorenzo Alberto Maria Ambrosi]
- Fix missing 'await' for getEdisonPartitions() [Paulo Castro]
- Add extra type information (refactor bind mount array) [Paulo Castro]
- Run linter [Paulo Castro]
- major: Convert to typescript [Lorenzo Alberto Maria Ambrosi]
- patch: Fix incorrect python List index check [Lorenzo Alberto Maria Ambrosi]
- Remove mutually exclusive args from sfdisk [Kyle Harding]
- Explicitly disable tls to avoid startup delays [Kyle Harding]
- Use custom dind image based on alpine [Kyle Harding]
- Avoid TypeError if build output array is empty [Kyle Harding]
- Start fetching image info sooner and run in parallel with api calls [Pagan Gazzard]
- Fix missing await [Pagan Gazzard]
- Use class syntax for declaring instance variables [Pagan Gazzard]
- Catch errors during build of preload image [Kyle Harding]
- Make use of async/await to simplify the code [Pagan Gazzard]
- Remove unnecessary fetching of balena settings and token [Pagan Gazzard]
- Switch to tmp-promise instead of tmp [Pagan Gazzard]
- Prefer
this.appId
tothis.application.id
[Pagan Gazzard]
- Update balena-lint to 6.x, typescript to 4.x [Pagan Gazzard]
- Support new storage-driver location in balena.service [Kyle Harding]
- Fix supervisor repository regex [Alex Gonzalez]
- Delay populating global partitions cache until methods call [Kyle Harding]
- CI: limit tests to one platform since we are only linting [Kyle Harding]
- Fixup linting by disabling editorconfig for .js files [Kyle Harding]
- Avoid hardcoded registry2 url [Kyle Harding]
- Update dependencies (dockerode, docker-progress) [Paulo Castro]
- Don't assume that 'docker' argument uses Bluebird promises [Paulo Castro]
- Enhance comms between CLI process and Python process in container [Paulo Castro]
- Fix unhandled exception on container.wait() [Paulo Castro]
- Emit error on container status code '137' too (OOM SIGKILL) [Paulo Castro]
- Add flake8 npm script [Paulo Castro]
- Don't truncate error logs (add _truncate_exc option to python sh commands) [Paulo Castro]
- Add keyword args to RetryCounter key computation. Remove unused args. [Paulo Castro]
- Bump Docker version to 20.10.6 [Kyle Harding]
- Store temporary docker pull files in a separate volume [Alexis Svinartchouk]
- Round the additional required bytes [Alexis Svinartchouk]
- Add additionalSpace option to override additional space calculation [Alexis Svinartchouk]
- Sum unique layers sizes instead of image sizes for size estimation [Alexis Svinartchouk]
- Fix splash image file name for balenaOS >= 2.53.0 (resin -> balena) [Paulo Castro]
- Don't produce (and ignore) a package-lock.json file [Paulo Castro]
Update docker-progress to 4.x [Pagan Gazzard]
- Update to balena-lint 5.x [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Detect error events in push/pull progress streams [Paulo Castro]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Fix build dir paths [Pagan Gazzard]
Update balena-sdk to 15.x [Pagan Gazzard]
- Convert majority to async/await [Pagan Gazzard]
- device: add method to update target supervisor release [Matthew McGinn]
- Deduplicate device update methods [Pagan Gazzard]
Update balena-pine to add support for and make use of named keys [Pagan Gazzard]
Update pinejs-client-core [Pagan Gazzard]
- Add support for using named ids [Pagan Gazzard]
- Add lazy loading for most modules [Pagan Gazzard]
- typings: Fix the PineWithSelect & related type helpers [Thodoris Greasidis]
- typings: Use the native TypeScript Omit type helper [Thodoris Greasidis]
- Fix code snippet for initializing balena-sdk [Vipul Gupta (@vipulgupta2048)]
- Fix SupportTier/includes__SLA typing [Pagan Gazzard]
- BREAKING Export setSharedOptions & fromSharedOptions separately [Thodoris Greasidis]
- BREAKING Export as an ES6 module [Thodoris Greasidis]
Update dependencies and switch all returned promises to native promises [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Explicitly add tslib dependency [Pagan Gazzard]
- Update to balena-settings-storage 6.x [Pagan Gazzard]
- Update target to es2015 [Pagan Gazzard]
- Switch to native promises [Pagan Gazzard]
- Enable strict type checking [Pagan Gazzard]
- Specify node 10+ [Pagan Gazzard]
- Switch to @balena/lint for linting [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Update balena-auth to 4.x and balena-request to 11.x [Pagan Gazzard]
- Use typescript import helpers [Pagan Gazzard]
- Stop actively supporting node 8 [Thodoris Greasidis]
- Convert to async await [Thodoris Greasidis]
- Add balenaCI repo.yml [Thodoris Greasidis]
- karma.conf.js: Combine declaration & assignment of karmaConfig [Thodoris Greasidis]
- Bump @balena/lint to v5 [Thodoris Greasidis]
- Drop getPine() in favor of an es6 export of the BalenaPine class [Thodoris Greasidis]
- Drop the API_PREFIX property in favor of the apiPrefix [Thodoris Greasidis]
- Bump to pinejs-client v6 which requires es2015 & drops Bluebird promises [Thodoris Greasidis]
- Convert karma.conf to js [Thodoris Greasidis]
- Bump balena-config-karma to v3 [Thodoris Greasidis]
- Switch from randomstring to uuid for generating device uuids [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Convert to type checked javascript [Pagan Gazzard]
- Drop callback interface in favor of promise interface [Pagan Gazzard]
- Switch to a named export [Pagan Gazzard]
- Convert to typescript [Pagan Gazzard]
- Update to typed-error 3.x [Pagan Gazzard]
- Switch to returning native promises [Pagan Gazzard]
- Update to balena-request 11.x [Pagan Gazzard]
- Use typescript import helpers [Pagan Gazzard]
- Export ApiError [Cameron Diver]
- Convert tests to js [Thodoris Greasidis]
- Install typed-error v2 [Cameron Diver]
- Extend API exception to include full response object [Miguel Casqueira]
- Update mocha to fix node v12 deprecation warning [Thodoris Greasidis]
- Fix body overwriting on nodejs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Fix tslib dependency [Pagan Gazzard]
- Fix passing baseUrl to refreshToken if the request uses an absolute url [Pagan Gazzard]
- Convert to type checked javascript [Pagan Gazzard]
- Switch to returning native promises [Pagan Gazzard]
- Drop support for nodejs < 10 [Pagan Gazzard]
- Update balena-auth to 4.x [Pagan Gazzard]
- Remove rindle dependency [Pagan Gazzard]
- Update fetch-ponyfill to 6.x [Pagan Gazzard]
- Remove proxy tests as global-tunnel-ng only supports nodejs < 10.16.0 [Pagan Gazzard]
- Switch to a named export [Pagan Gazzard]
- Use typescript import helpers [Pagan Gazzard]
- Bump balena-config-karma & convert karma.conf.coffee to js [Thodoris Greasidis]
- Change the browser request timeout error to be consistent with node [Thodoris Greasidis]
- BREAKING billing: Make the organization parameter fist & required [Thodoris Greasidis]
- DeviceWithServiceDetails: preserve the image_install & gateway_downloads [Thodoris Greasidis]
- typings: Deprecate DeviceWithImageInstalls in favor of the Device type [Thodoris Greasidis]
- Fix is_private typings for device type [Stevche Radevski]
- Add an organization parameter to all billing methods [Thodoris Greasidis]
- typings: Add ApplicationHostedOnApplication [Thodoris Greasidis]
- typings Add RecoveryTwoFactor [Thodoris Greasidis]
- Tests: remove bluebird usage [Pagan Gazzard]
- tests/integration/setup: Convert to TypeScript [Thodoris Greasidis]
- typings/ImageInstall: Deprecate the image field [Thodoris Greasidis]
- typings/ImageInstall: Add the
installs__image
field [Thodoris Greasidis]- typings: Add typings for the ReleaseImage [Thodoris Greasidis]
- typings/ImageInstall: Add the missing device property [Thodoris Greasidis]
- Convert all remaining tests away from coffeescript [Pagan Gazzard]
- Tests: improve typing for access to private SDK os methods [Pagan Gazzard]
- Tests: improve typing of tag helpers [Pagan Gazzard]
- Tests: import BalenaSDK types directly [Pagan Gazzard]
- Tests: merge multiple application deletions into a single call [Pagan Gazzard]
- Improve typings for
sdk.pine.post
[Pagan Gazzard]- Improve typings for
sdk.request
[Pagan Gazzard]- Improve typings for
models.device.getOsVersion
[Pagan Gazzard]- Improve typings for
models.device.lastOnline
[Pagan Gazzard]- Fix typings for
models.device.getMACAddresses
[Pagan Gazzard]- Fix typings for
models.device.getLocalIPAddresses
[Pagan Gazzard]- Add typings for
models.application.getDashboardUrl
[Pagan Gazzard]- Device model: last_connectivity_event and os_version can be null [Pagan Gazzard]
- Improve typings for
models.device.getLocalModeSupport
[Pagan Gazzard]
- Minimize bluebird sugar usage [Pagan Gazzard]
- Add type checking for tests [Pagan Gazzard]
- Tests: cache device type lookup [Pagan Gazzard]
- typings: Export pine variant w/ a mandatory $select on get requests [Thodoris Greasidis]
- Remove
this.skip
usage as a faster workaround to afterEach skipping [Pagan Gazzard]
- Improve internal typings by avoiding some
any
cases [Pagan Gazzard]
- Include typings for all lazy loaded requires [Pagan Gazzard]
- Simplify balena-request custom typings [Pagan Gazzard]
- Use import type for declaration imports [Pagan Gazzard]
- Simplify balena-pine custom typings [Pagan Gazzard]
- Import balena-sdk type declarations via import type and not direct path [Pagan Gazzard]
- Use typescript import helpers [Pagan Gazzard]
- Drop dtslint in favor of plain @ts-expect-error [Thodoris Greasidis]
- Enable strict checks for the typing tests [Thodoris Greasidis]
- Standardize bluebird naming as
Bluebird
[Pagan Gazzard]
- Avoid $ExpectType b/c of issues with TS 3.9.6 [Thodoris Greasidis]
- model: Add build_environment_variable [Rich Bayliss]
- Add typings for plans & subscriptions [Thodoris Greasidis]
- Generate optional build for es2018 as well as the default es2015 [Pagan Gazzard]
- typings: Split the DeviceState namespace types to a different file [Thodoris Greasidis]
- typings: Split the DeviceTypeJson namespace types to a different file [Thodoris Greasidis]
- typings: Split the SBVR model types to a different file [Thodoris Greasidis]
- appveyor: Increase the node space size [Thodoris Greasidis]
- Bump balena-config-karma to v3 [Thodoris Greasidis]
- Use @balena/lint for linting [Pagan Gazzard]
- Add type checking [Pagan Gazzard]
- Add 'setAppIdAndCommit()' method to help decouple balena-cli and balena-preload [Paulo Castro]
- Increase losetup retry delay and count and print hint message on error [Paulo Castro]
- Print full stderr in the event of failure executing dockerd [Paulo Castro]
- Flake8 on src/preload.py [Alexis Svinartchouk]
- Add balena-sdk as a peer dependency since DI is also supported [Thodoris Greasidis]
- Make the balena-sdk instance an optional parameter [Thodoris Greasidis]
- Update to balena-sdk 14.x [Thodoris Greasidis]
- Update to balena-sdk 13.x [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Check os/app architecture compatibility rather than equvalence. [Scott Lowe]
- Update .gitignore [Scott Lowe]
- Update dependencies [Pagan Gazzard]
- Upgrade docker version to 17.12.0-ce [Theodor Gherzan]
- Fix certificates path in the preloader container [Alexis Svinartchouk]
- Add --add-certificate option [Alexis Svinartchouk]
- Stop mounting host's /etc/ssl/certs on Linux [Alexis Svinartchouk]
- Replace tar-stream with tar-fs [Alexis Svinartchouk]
- Fetch the app commit if 'latest' is passed [Alexis Svinartchouk]
- Use more robust regex to extract supervisor semver [Gergely Imreh]
- Filter by commit as part of the query if it's specified [Pagan Gazzard]
- Don't write device name in apps.json [Alexis Svinartchouk]
- Bind mount host's /etc/ssl/certs folder on Linux [Alexis Svinartchouk]
- Don't try to get the device type arch with --dontCheckArch [Alexis Svinartchouk]
- The splash image is named resin-logo.png [Alexis Svinartchouk]
- Don't try to pin releases when supervisor is < 7.0.0 [Alexis Svinartchouk]
- Bind mount host's /dev to container's /dev [Alexis Svinartchouk]
- Rename to balena-preload [Alexis Svinartchouk]
- Don't build the Dockerfile on CI [Alexis Svinartchouk]
- Filter out serviceId for supervisors < 7 [Alexis Svinartchouk]
- Get the release ID not the application ID [Theodor Gherzan]
- Use localhost instead of 0.0.0.0 to connect to Docker on win32 [Alexis Svinartchouk]
- Preload.py: Flush output buffer when data's ready #183 [Gergely Imreh]
- Dockerfile: Do not rely on script being executable #183 [Gergely Imreh]
- Pinning information should also be available for the resin-image-flasher #182 [Theodor Gherzan]
- Check device architecture instead of device type #181 [Alexis Svinartchouk]
- In the case of a flasher OS copy splash image to its boot partition #178 [Theodor Gherzan]
- Increase size multiplier from 1.1 to 1.4 #177 [Alexis Svinartchouk]
- Add circleci auto-deploy to npm #175 [Cameron Diver]
- Allow devices to be pinned following a preload provision #175 [Cameron Diver]
- Update resin-sdk to 9.0.0-beta16, use $ before expand #171 [Alexis Svinartchouk]
- Add appId to each app in apps.json for supertvisors < 7 (apps.json is from state v1) #169 [Alexis Svinartchouk]
- Fix preloading images with supervisor version < 7 #167 [Alexis Svinartchouk]
- Preload the release with the highest id if an app has no commit specified. #165 [Alexis Svinartchouk]
- Use state v1 endpoint when the supervisor version is < 7 #165 [Alexis Svinartchouk]
- Fix specifying commit #165 [Alexis Svinartchouk]
- Multicontainer preload #155 [Alexis Svinartchouk]
- Get_inner_image_path falls back to the first file in /opt if no deviceType.json file is found. #163 [Alexis Svinartchouk]
- Get the inner image name from device_type.json #161 [Alexis Svinartchouk]
- Preserve bootstrap code in MBR when resizing #158 [Alexis Svinartchouk]
- Bind mount /dev on linux hosts #153 [Alexis Svinartchouk]
- Remove all references to --dont-detect-flasher-type-images #151 [Alexis Svinartchouk]
- Minor fixes in preload.py #151 [Alexis Svinartchouk]
- Preload images that use Balena instead of Docker #149 [Alexis Svinartchouk]
- Wait for loop device to be detached before killing the container #147 [Alexis Svinartchouk]
- Fix confusion between bytes and sectors on partition resize #145 [Alexis Svinartchouk]
- Fix filesystem expansion after resize #143 [Alexis Svinartchouk]
- Update README: docker-toolbox is not supported, aufs module is required. #141 [Alexis Svinartchouk]
- Preload GPT disk images, remove --dont-detect-flasher-type-images option #138 [Alexis Svinartchouk]
- Don't set Preloader.imageRepo in setApplication. #137 [Alexis Svinartchouk]
- Fix incompatibility with Docker 1.12.6 (api version 1.24) #135 [Alexis Svinartchouk]
- Fix the --dont-detect-flasher-type-images option. #133 [Alexis Svinartchouk]
- Copy data between the MBR and the first partition when resizing a preloader image. #128 [Alexis Svinartchouk]
- Don't crash if data/docker/network/files/local-kv.db doesn't exist #130 [Alexis Svinartchouk]
- Fix preloading edison images 2.6+ (root partition filename changed) #126 [Alexis Svinartchouk]
- Support preloading 2.6+ resinOS images when hostapps use aufs or overlay2 #126 [Alexis Svinartchouk]
- Print a newline after each spinner #126 [Alexis Svinartchouk]
- Fix the logic that defines where we get R_OK and W_OK constants for node 4 support #125 [Pablo Carranza Velez]
- Get R_OK and W_OK constants from wherever they're available, to keep supporting node v4 for the time being #124 [Pablo Carranza Velez]
- Handle cases where we are not redirected when making a request to the registry. #122 [Alexis Svinartchouk]
- Allow preloading of Edison zip archives. #117 [Alexis Svinartchouk]
- Don't use Array.includes, it is not supported in node4. #119 [Alexis Svinartchouk]
- Use Docker bridged networking on platforms other than Linux. #111 [Alexis Svinartchouk]
- Don't use docker's PortBindings as we run it with
--net=host
#108 [Alexis Svinartchouk]
- Detect when the overlay module is not loaded and show an appropriate error. #105 [Alexis Svinartchouk]
- The python script no longer pulls the build, instead it exposes dockerd to the js script. This allows us to have a progress bar for the docker pull. #102 [Alexis Svinartchouk]
- Use the docker storage driver from //lib/systemd/system/docker.service ExecStart key. #96 [Alexis Svinartchouk]
- Fix js style (standard js) #100 [Alexis Svinartchouk]
- Add flag for ignoring mismatching device types [Sven Schwermer]
- Add a files section to package.json. #99 [Alexis Svinartchouk]
- Add progress bars and spinners. #95 [Alexis Svinartchouk]
- Don't preload the same build twice. #87 [Alexis Svinartchouk]
- Don't call stdin.setRawMode if it doesn't exist. #93 [Alexis Svinartchouk]
- Use only lower case for the preloaded image repository. #91 [Alexis Svinartchouk]
- Correctly set the resin api token. #85 [Alexis Svinartchouk]
- Integrate with resin-cli #81 [Alexis Svinartchouk]
- Use --net=host for host's Docker. #83 [Alexis Svinartchouk]
- Allow relative paths for the --image parameter. [Alexis Svinartchouk]
- Update the README about --dont-detect-flasher-type-images [Alexis Svinartchouk]
- Add a --dont-detect-flasher-type-images flag. [Alexis Svinartchouk]
- Use standardJS [Alexis Svinartchouk]
- Add CHANGELOG to allow VersionBot commits. [Alexis Svinartchouk]
- Allow specifying an app commit to preload. [Alexis Svinartchouk]