rijkvanzanten
fd55233b11
v9.13.0
2022-06-28 15:52:31 -04:00
rijkvanzanten
bce19abf6f
v9.12.2
2022-06-09 17:12:27 -04:00
rijkvanzanten
cd58611aa7
v9.12.1
2022-06-03 17:52:57 -04:00
rijkvanzanten
85af808f70
v9.12.0
2022-06-02 18:26:52 -04:00
Nicola Krumschmidt
3ce0bbd0da
Remove npmrc files which prevent lockfile creation in workspaces ( #13444 )
...
* Remove npmrc files which prevent lockfile creation in workspaces
Since `v8.5.0` npm will detect that it is running inside a workspace and issue commands at the root package.
* Require a minimum npm version of 8.5.0
2022-05-25 15:15:45 -04:00
rijkvanzanten
7e9812d04a
v9.11.1
2022-05-24 17:50:37 -04:00
rijkvanzanten
f52da51925
v9.11.0
2022-05-19 13:09:50 -04:00
Will Foxall
46df8dc844
Improve type definitions for o2m item queries involving deep, filter or sort ( #13214 )
...
* DeepQueryMany takes type from property by key
* filter, sort & deep resolve (ID|T)[] arrays to T
* Simplified Sort definition to use SingleItem alias
2022-05-10 16:11:33 -04:00
Rijk van Zanten
c6682194be
Reset refresh promise after catch ( #13189 )
...
Fixes #13181
2022-05-09 11:46:01 -04:00
rijkvanzanten
e3a7a7d887
v9.10.0
2022-05-03 13:05:54 -04:00
Azri Kahar
b028ee4a34
Prevent token refreshing when using auth.static() ( #13007 )
2022-04-26 08:30:02 -04:00
Azri Kahar
23e8c26c87
Prevent SDK from returning meta property ( #13008 )
2022-04-26 08:29:33 -04:00
rijkvanzanten
ed780aceba
v9.9.1
2022-04-22 12:21:24 -04:00
Azri Kahar
8ec5506299
Remove underscore prefix for aggregate operations ( #12955 )
2022-04-22 09:06:05 -04:00
rijkvanzanten
fb252ca4ce
v9.9.0
2022-04-15 14:26:54 -04:00
Lukas Breitstadt
09d9b4b323
Await when token is refreshing & reinstate msRefreshBeforeExpires flag ( #12649 )
2022-04-12 07:52:33 -04:00
Azri Kahar
835d7e425d
add missing query parameters in SDK ( #12632 )
...
* add missing query parameters in SDK
* add @directus/shared as dependency
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2022-04-08 11:43:17 -04:00
Azri Kahar
2f0921ffa9
Prevent empty string as id in SDK ( #12595 )
...
* Prevent empty string as id in SDK
* test
2022-04-06 10:42:29 -04:00
Azri Kahar
d023b36838
Add import file method to SDK ( #12575 )
2022-04-05 10:39:29 -04:00
rijkvanzanten
2a6db01c42
v9.8.0
2022-04-01 14:41:08 -04:00
Jake Cattrall
d24dacd075
Use date (epoch) compare workflow instead of timer to refresh token in SDK ( #12399 )
...
* use date compare workflow instead of timer
* convert milliseconds to seconds
* add missing references to auth_expired_at key
* correct calculation and presume getTime returns milliseconds
* resolve issue with static tokens
* prevents token refresh before everything else is initialized
* remove timer based authentication tests
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2022-04-01 09:31:11 -04:00
Jürg Hunziker
a7f79a1761
[SDK] Add further request options to items functions ( #12503 )
...
* add possibility to set further options to the request
* fix options type
* add typings to interface
* add test if headers are passed thourght
* create reusable options param
* set higher priority to options param
2022-03-31 14:06:52 -04:00
CommanderRoot
d81adcd674
refactor: replace deprecated String.prototype.substr() ( #12344 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 13:36:18 -04:00
rijkvanzanten
7b15947276
v9.7.1
2022-03-23 14:50:51 -04:00
rijkvanzanten
c1da41d671
v9.7.0
2022-03-18 16:34:35 -04:00
rijkvanzanten
eba2576227
v9.6.0
2022-03-04 20:25:43 -05:00
rijkvanzanten
47a5da78fb
v9.5.2
2022-02-18 11:45:07 -05:00
Abdón Rodríguez Davila
3de9bc1ada
Update rollup-plugin-styles to v4 ( #11689 )
...
* Update rollup-plugin-styles to v4
* Update Rollup packages
2022-02-18 11:25:50 -05:00
José Varela
de5b34d87b
SDK: split readMany into itself and readByQuery ( #11204 )
...
* split readMany into self and readByQuery
* add tests
* run tests only on `test` folder
* fix docs
* fix in `cli`
2022-02-16 09:52:42 -05:00
rijkvanzanten
c0c412d30b
v9.5.1
2022-02-03 20:41:49 -05:00
rijkvanzanten
78a25fe953
v9.5.0
2022-01-24 15:53:29 -05:00
Will Foxall
5cf57b4e2d
Added the 4 "_starts/ends_with" filter defs ( #11162 )
2022-01-19 13:05:14 -05:00
rijkvanzanten
65bfe68b0c
v9.4.3
2022-01-07 16:11:24 -05:00
rijkvanzanten
1a5a9180ee
v9.4.2
2021-12-30 21:11:32 -05:00
rijkvanzanten
4991ba858b
v9.4.1
2021-12-28 20:17:21 -05:00
rijkvanzanten
a47b9cec0f
v9.4.0
2021-12-23 22:46:18 -05:00
rijkvanzanten
4b444baf5b
v9.3.0
2021-12-16 18:48:10 -05:00
rijkvanzanten
546d525175
v9.2.2
2021-12-10 15:53:08 -05:00
rijkvanzanten
1d4e9c425c
v9.2.1
2021-12-06 14:31:01 -05:00
rijkvanzanten
776c105aac
v9.2.0
2021-12-03 16:16:38 -05:00
Nicola Krumschmidt
a3cbbfd237
Apply the cleaned up build config to the sdk ( #10230 )
2021-12-02 17:01:10 -05:00
NilsBaumgartner1994
fd93b850e0
Update BaseStorage ( #9985 )
...
* Update BaseStorage
remove dublicate strings into variables
* Apply suggestions from code review
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
* Use enum types in keys
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-12-01 20:20:27 +00:00
José Varela
de978798a4
SDK: Fix bundles ( #10053 )
...
* Fix bundles
The problem was coming from rollup building only for browsers.
The solution is to specify build for browsers and Node.js.
This configuration is inherited from format-title package,
but with the slight difference that exports .mjs files
* fix types folder
2021-12-01 14:23:25 -05:00
José Varela
2fa2a75b60
SDK: Fix type arrays on filter ( #10133 )
...
* support arrays as types for _in, _nin, etc.
* improve type definition on filters
2021-12-01 14:04:55 -05:00
rijkvanzanten
9bf033c18d
v9.1.2
2021-11-25 12:36:24 -05:00
rijkvanzanten
5d3a630fe6
v9.1.1
2021-11-24 21:09:22 -05:00
rijkvanzanten
7a1c534b36
v9.1.0
2021-11-24 17:56:26 -05:00
Oreille
f920196c18
Add logical operators to the SDK's Filter type ( #9965 )
...
* Add logical filter operator to the Filter type
* Removed unnecessary ?
* Reverted import from `@directus/shared`
* Handle many-to-many field filters
2021-11-22 13:05:22 -05:00
Joe Innes
ff002443f0
SDK: Start auth refresh job when constructor is initialised ( #9777 )
...
* Refresh auth when SDK is initialised
If autorefresh is enabled, then this will cause the SDK to refresh tokens whenever it's loaded. This fixes bug #9639 (discussion #9720 )
* start autoRefreshJob on constructor and on refresh
* preserve refresh_token before clear it on refresh
Co-authored-by: Jose Varela <joselcvarela@gmail.com >
2021-11-22 11:11:09 -05:00
renovate[bot]
241dc13c65
Update NPM dependencies (non-major) ( #9968 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-22 10:05:40 -05:00