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.
- Update dependency lint-staged to v17.0.7 [balena-renovate[bot]]
- Update dependency lint-staged to v17.0.5 [balena-renovate[bot]]
- Pin dependencies [balena-renovate[bot]]
- Update dependency lint-staged to v17 [balena-renovate[bot]]
- Revert flowzone pinning to master [Kyle Harding]
- Update product-os/flowzone digest to 8ea01d3 [balena-renovate[bot]]
- Update product-os/flowzone digest to 3eb3c97 [balena-renovate[bot]]
- Update product-os/flowzone digest to 7b49c1e [balena-renovate[bot]]
- Update product-os/flowzone digest to 8d926e2 [balena-renovate[bot]]
- Update product-os/flowzone digest to 20a58d6 [balena-renovate[bot]]
- Update product-os/flowzone digest to 7b1359d [balena-renovate[bot]]
- Update product-os/flowzone digest to 7b87702 [balena-renovate[bot]]
- Update product-os/flowzone digest to cc9836f [balena-renovate[bot]]
- Update product-os/flowzone digest to b79645a [balena-renovate[bot]]
- Update product-os/flowzone digest to 4815186 [balena-renovate[bot]]
- Update product-os/flowzone digest to 267495d [balena-renovate[bot]]
- Update product-os/flowzone digest to f955793 [balena-renovate[bot]]
- Update product-os/flowzone digest to 8674dc5 [balena-renovate[bot]]
- Update product-os/flowzone digest to eb703ea [balena-renovate[bot]]
- Pin product-os/flowzone action to a53cf4b [balena-renovate[bot]]
- Add id-token: write permission for NPM OIDC publishing [Kyle Harding]
Sub-class the `StatusError` for errors as pinejs-client-core expects [Pagan Gazzard]
- Add a
StatusErrorclass that downstream is expected to use for errors [Pagan Gazzard]
- Types: make use of inference for some simplification [Pagan Gazzard]
Switch to Node20 module resolution [Pagan Gazzard]
- Improve typing of the
$: 'prop_name'case [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add support to odata-actions [Otavio Jacobi]
- Safely access 'id' of Params to avoid
unknownpropagation [Otavio Jacobi]
- Expose ResourceID typings [Otavio Jacobi]
- Fix linting [Otavio Jacobi]
- Update dependency mocha to v11 [balena-renovate[bot]]
- Update dependency @balena/lint to v9 [balena-renovate[bot]]
- Update TypeScript to 5.7.2 [Thodoris Greasidis]
- Update @balena/abstract-sql-to-typescript to 5.0.0 [Thodoris Greasidis]
- Add support for calling odata fns [Otavio Jacobi]
- Update dependency lint-staged to v16 [balena-renovate[bot]]
Update pinejs-client-core to 8.0.1 [Pagan Gazzard]
- Fix multiple lambdas triggering the expand filter error [Pagan Gazzard]
- Switch to Node16 module resolution [Pagan Gazzard]
- Remove lodash dependency when caching in favor of native
structuredClone[Pagan Gazzard] - Update lru-cache to 11.x [Pagan Gazzard]
- Update tsconfig target to es2023 [Pagan Gazzard]
- Update minimum nodejs to 20.x, npm to 10.x [Pagan Gazzard]
Update pinejs-client-core to 8.0.0 [Pagan Gazzard]
- Remove error check if passing too many arguments to
request[Pagan Gazzard]- Update error messages for invalid params [Pagan Gazzard]
- Drop
urlfrom generalParamsand only have it in supported places [Pagan Gazzard]- Remove deprecated
preparesignatures in favor of always passing expected aliases [Pagan Gazzard]- Remove
$filter: a: b: ..., please use$filter: a: $any: { $alias: "x", $expr: x: b: ... }instead. [Pagan Gazzard]- Remove unused
PinejsClientgeneric from the class signature [Pagan Gazzard]- Removed
$filter: { a: { $count: { $op: number } } }, please use$filter: { $eq: [ { a: { $count: {} } }, number ] }instead. [Pagan Gazzard]- Update minimum supported version to es2018 [Pagan Gazzard]
- Removed deprecated
transformGetResultand renamed_transformGetResultto replace it [Pagan Gazzard]- Error on using OData options other than $filter in a
$expand: { a: { $count: {...} } }. [Pagan Gazzard]- Removed
$orderby: 'a/$count', please use$orderby: { a: { $count: {...} } }instead. [Pagan Gazzard]- Removed
$expand: { 'a/$count': {...} }, please use$expand: { a: { $count: {...} } }instead. [Pagan Gazzard]- Removed
resource: 'a/$count', please useoptions: { $count: { ... } }instead. [Pagan Gazzard]- Removed passing
urltocompile, please use a query object instead or use the url directly. [Pagan Gazzard]- Removed passing
urltodelete, please use a query object instead or userequestdirectly. [Pagan Gazzard]- Removed passing
urltoput, please use a query object instead or userequestdirectly. [Pagan Gazzard]- Removed passing
urltopatch, please use a query object instead or userequestdirectly. [Pagan Gazzard]- Removed passing
urltopost, please use a query object instead or userequestdirectly. [Pagan Gazzard]- Removed passing
urltoget, please use a query object instead or userequestdirectly. [Pagan Gazzard]- Removed passing
urltoupsertas it is unsupported and may have adverse effects, please use a query object instead. [Pagan Gazzard]- Removed passing
urltogetOrCreateas it is unsupported and may have adverse effects, please use a query object instead. [Pagan Gazzard]
- Export
OptionsToResponsetype helper [Pagan Gazzard]
- Switch tsconfig module resolution to Node16 [Pagan Gazzard]
- Update TypeScript to 5.6.2 [Thodoris Greasidis]
- Improve
upserttypings [Pagan Gazzard]
- Improve
getOrCreatetypings [Pagan Gazzard]
- Improve typings for
subscribefunction [Pagan Gazzard]- Fix typing for subscribe
on('data')method [Pagan Gazzard]
- Deprecate
preparewithout expected parameter aliases [Pagan Gazzard]- Add the option to list expected parameter aliases when preparing a query [Pagan Gazzard]
- Fix typings for
requestmethod when usingmethod: 'GET'[Pagan Gazzard]
- Reduce overloads for
getby improvingOptionsToResponsetype helper [Pagan Gazzard]
- Change
ExpandPropsOfandExpandToResponsehelpers to check the common case first [Pagan Gazzard]
- Update @balena/abstract-sql-to-typescript to v4 [Josh Bowling]
- Fix most lint warnings [Pagan Gazzard]
- Fix
getOrCreateandupserttyping for thebodyproperty [Pagan Gazzard]
- Export
ExpandableStringKeyOftyping [Pagan Gazzard]
- Improve typings of
preparewhen used toGET[Pagan Gazzard]
- Use
OptionsToResponseto avoid most of thegetoverloads [Pagan Gazzard]
- Add support for nested $expand response types and $count expands [Pagan Gazzard]
- Select all non-expanded fields when there is no $select [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Correctly type that all properties are selected with a missing $select [Pagan Gazzard]
- Update @balena/lint to 9.x [Pagan Gazzard]
- Only try to pick headers for a StatusError if headers are passed in [Pagan Gazzard]
Update pinejs-client-core to 6.15.2 [Pagan Gazzard]
- Improve $orderby typings when not providing a model [Pagan Gazzard]
Update pinejs-client-core to add support for using model specific typings [Pagan Gazzard]
- Correctly type the
POSTresult as being fully deferred [Pagan Gazzard]
- Add support for using model specific typings [Pagan Gazzard]
- Deprecate passing
urlto helper functions [Pagan Gazzard]
- Type
upsertandgetOrCreateas not accepting aurl[Pagan Gazzard]
- Include comments in generated output so that jsdoc is available [Pagan Gazzard]
- Tests: improve typing of tests [Pagan Gazzard]
- Add
$filterto nested$counttypings [Pagan Gazzard]
- Tests: remove unnecessary/unintended returns [Pagan Gazzard]
- Fix using top level $count downstream [Pagan Gazzard]
- Avoid the overhead of loading
lodashon a status error [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Delete CODEOWNERS [dfunckt]
- Update dependencies [Thodoris Greasidis]
- Replace circleCI with flowzone [Thodoris Greasidis]
- Type $count/$any/$all as needing to be nested in a navigation property [Pagan Gazzard]
- Use readonly arrays for typings for better compatibility with
as const[Pagan Gazzard]
- Deprecate the generic
PinejsClienttyping in favor of usingthisfor.clonetyping [Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Respect the Retry-After header in request retries [Thodoris Greasidis]
- Update flowzone.yml [Kyle Harding]
- Specify node 10 as the minimum supported node engine in the package.json [Thodoris Greasidis]
- Replace balenaCI with flowzone [Thodoris Greasidis]
Update dependencies [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Remove circleci [Pagan Gazzard]
- Do not await the _request() result to allow enhanced promises downstream [Thodoris Greasidis]
- Remove circleci [Pagan Gazzard]
- Bump version of pinejs-client-core [Paul Jonathan Zoulin]
- Make use of nullish coalescing assignment where possible [Pagan Gazzard]
- Delete CODEOWNERS [Thodoris Greasidis]
Enable typescript strict mode [Pagan Gazzard]
- Enable strict tsconfig options by default [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Explicitly specify return types for all functions [Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Add 'getOrCreate' method supporting natural keys [Thodoris Greasidis]
- Add support for $format [Pagan Gazzard]
- Improve $orderby typing to allow
[{a: 'desc'}, {b: 'asc'}][Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Fix prepare $count typings [Pagan Gazzard]
- Improve typings for request/post/put/patch/delete [Pagan Gazzard]
Update pinejs-client-core to 6.6.1 [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Fix typing when id is specified to be
AnyObject | undefined[Pagan Gazzard]
- Deprecate
$expand: { 'a/$count': {...} }[Pagan Gazzard]- Deprecate
resource: 'a/$count'and update typings to reflect it [Pagan Gazzard]
- Add
options: { $count: { ... } }sugar for top level $count [Pagan Gazzard]- Add
$expand: { a: { $count: { ... } } }sugar for $count in expands [Pagan Gazzard]
- Improve return typing of
subscribemethod [Pagan Gazzard]
- Fix Poll.on typings [Pagan Gazzard]
- Improve return typing when id is passed to GET methods [Pagan Gazzard]
- Remove
PromiseResulttype, usePromise<PromiseResultTypes>instead [Pagan Gazzard]- Remove
PromiseObjtype, usePromise<{}>instead [Pagan Gazzard]
- Add
$filter: { a: { $count: 1 } }sugar for $count in filters [Pagan Gazzard]
- Remove redundant ParamsObj/SubscribeParamsObj types [Pagan Gazzard]
- Make use of
mapObjhelper in more places [Pagan Gazzard]- Use
Object.keysin preference tohasOwnPropertywhere applicable [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add support for using named ids [Pagan Gazzard]
- Drop unnecessary async from request() [Thodoris Greasidis]
- Increase default timeout to 59s [Pagan Gazzard]
- Empty commit to attempt republish [Pagan Gazzard]
- Switch from bluebird-lru-cache to lru-cache for caching [Pagan Gazzard]
- Update target to es2018 [Pagan Gazzard]
- Remove bluebird dependency [Pagan Gazzard]
- Convert to async/await [Pagan Gazzard]
Update to pinejs-client-core 6.x [Pagan Gazzard]
- Increase minimum es version to es2015 [Pagan Gazzard]
- Convert to async/await [Pagan Gazzard]
- Remove now unnecessary PinejsClientCoreFactory [Pagan Gazzard]
- Switch to using native promises [Pagan Gazzard]
- Drop support for deprecated request overrides [Pagan Gazzard]
- Drop support for deprecated
querymethod [Pagan Gazzard]- Drop support for deprecated string based requests [Pagan Gazzard]
- Use
;for expand options instead of&[Pagan Gazzard]
- Lazy load bluebird-lru-cache and lodash [Pagan Gazzard]
- Convert some lodash usage to native versions [Pagan Gazzard]
- Remove unused dependencies [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Generate optional builds for es2015/es2018 as well as the default es5 [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Make transformGetResult a method , to ease overriding the get method [Thodoris Greasidis]
- Add linting [Pagan Gazzard]
- Move require-npm4-to-publish to dev dependencies [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- update deps and specify minimum engine requirements [Will Boyce]
- 🐛: Fix missing
deprecated.getStringParamsfunction [Andreas Fitzek]
- Update to resin-lint 3.x [Pagan Gazzard]
- CircleCI: Remove deploy job as it's handled by balenaCI [Pagan Gazzard]
- Add the missing
methodon the post method [Thodoris Greasidis]
- Deprecate request overrides [Pagan Gazzard]
- Deprecate queries using a string url [Pagan Gazzard]
- Deprecate
queryin favor ofget[Pagan Gazzard]
- Allow resource/$count in $filter [Pagan Gazzard]
- Remove
defaultshelper in favour of??[Pagan Gazzard]
- Avoid allocations when destroying a poll [Pagan Gazzard]
- Improve
RawFiltertyping [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Switch most CODEOWNERS entries to a team [Pagan Gazzard]
- Add 'upsert' method supporting natural keys, requires Pinejs ^10.19.1 [Thodoris Greasidis]
- Remove unnecessary
stringtype that is handled by theParamstype [Pagan Gazzard]
- Use an .npmrc to prevent creating a package-lock on each install [Thodoris Greasidis]
- Add some type casting so that it compiles on TypeScript 3.5 [Thodoris Greasidis]
- Fix downstream declaration creation errors due to
Dictionary[Pagan Gazzard]
- Add a prepare method that prepares a query into a function [Pagan Gazzard]
- Add CODEOWNERS [Gergely Imreh]
- Add support for parameter aliases in resource ids [Pagan Gazzard]
- Deduplicate transformation of GET results [Pagan Gazzard]
- Simplify how we expose types, which means
subscribeis now exposed [Pagan Gazzard]
- Add automatic formatting via prettier [Pagan Gazzard]
- Remove node 4 build, add node 12 [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add upstream for pinejs-client-core [Pagan Gazzard]
- Update target to es2016, part of/fixing the typed-error bump [Pagan Gazzard]
- typed-error: Update to v3.1.0 [Will Boyce]
- Export the StatusError from module [Cameron Diver]
- Update to typescript 3 #3 [Pagan Gazzard]
- Export types via a declaration file to avoid issues with ts versions #3 [Pagan Gazzard]
- Export
PinejsClientCoreFactoryto make it easier to use those types #3 [Pagan Gazzard]
- Convert request to typescript #1 [Pagan Gazzard]
- Update pinejs-client-core to ^5.0.0 #1 [Pagan Gazzard]
- Switch to circleci and enable auto-publishing #2 [Pagan Gazzard]
- Fixed require statement
- Extracted request from pinejs-client-js to pinejs-client-request