All notable changes to this project will be documented in this file.
- dependency updates
- dependency updates
- #218 allow passing additional config options. At the moment the only needed option is
swapResourceIdAndId
for SaaSapps
entity. If needed more options can be added in the future. This is just a type change and no core code changes were made. - dependency updates
- #216 correctly return all pages data instead of only data from the last page
- SaaS errors will now include the SaaS errors description from the response (if any)
QlikFormData
is now exported- ability to provide content type/mime when using
QlikFormData
module - tests are
vitest
based (mocha
andchai
are not used anymore)
Post
andPath
methods "accept"ReadStream
alongside withBuffer
QlikGenericRestClient
accepts optionalbasePath
parameter #172
- throw error when port is not provided in the config for GenericRestClient
- dependency updates
- fixed issue when data is returned under
data.data
property instead ofdata
- sometimes the SaaS requests will be returned with data object being repeated over and over again
- optional context parameter for Repository client -
hub
orqmc
. By default the calls will be made as if the user is accessing the data from QMC. Ifhub
is specified then the point of view will be the Hub. The context is passed to Qlik and is used in security rules application
- all dependencies are up-to-date
- Qlik SaaS OAuth authentication (machine-to-machine) workflow - authenticate with
client_id
andclient_secret
#102
- internal - do not include SaaS specific response codebase when calling QSEoW (and vice-versa) #95
- [add] error will be thrown if the response is with status 429 (rate limit reached). Ideally only applicable only to SaaS
- [fix] for some requests Qlik returns
null
but the request status was success. This was threated as an empty data response andundefined
was returned. Now if the data isnull
then the original response will be returned.
- [fix]
POST
request returns the raw http error (if any)
- [change] Allow configuration to be created without
authentication
property #83
- For TS usage each method will require return type to be specified. The type will be passed to
IHttpReturn
type and then will be used for the returneddata
property #81
- [fix] Return the response
data
object (if exists) in case of an error. Until now the thrown error object only contained the basic info -status
andmessage
. More info in #67
- [fix]
SaaS
- for some requestsnext
parameter isnull
- [fix] dependency updates
- [fix] dependency updates
- [fix] when request is failing even before its send then throw the actual error message. For example: self-signed certificates. The request was failing before response is received and the error was about the response object missing. Now if response is missing the thrown error will have
status
andstatusText
asundefined
andmessage
will be the actual error message. In the self-signed cert example the message will beunable to verify the first certificate
- [fix] probably wrong build was pushed?
- [fix] failing when the response is
null
#11
- dependencies updates
additionalHeaders
config option changed to acceptany
forvalue
- additional checks
host
property exists in the configauthentication
property exists in the config
- [fix] SaaS client correctly returns all items (if pagination is available) #8
- [fix] SaaS client handle empty next page urls (issue on Qlik side?)
- [fix] do not execute pagination logic if the response ok but is empty
- [fix]
Patch
method is executed correctly #9 - [change] documentation is using dark theme
- [add] SaaS config accepts api version (optional). Defaults to
1
#7 - [add]
QlikFormData
is exposed and can be used to passFormData
parameters (SaaS only probably) #6 - [add] more tests for SaaS
- [change]
BaseClient
is now anabstract
class - [change] all clients that extends
BaseClient
no longer implements the http methods (these are inherited fromBaseClient
)