rijkvanzanten
e3a7a7d887
v9.10.0
2022-05-03 13:05:54 -04:00
rijkvanzanten
ed780aceba
v9.9.1
2022-04-22 12:21:24 -04:00
rijkvanzanten
fb252ca4ce
v9.9.0
2022-04-15 14:26:54 -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
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
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
Nicola Krumschmidt
35ee3f4151
Add a few missing DefinitelyTyped dependencies ( #11381 )
2022-02-02 03:47:28 +01:00
rijkvanzanten
78a25fe953
v9.5.0
2022-01-24 15:53:29 -05:00
Rijk van Zanten
b3f43ff1a2
Upgrade dependencies ( #11118 )
...
* Update marked in app
* Upgrade marked in cli
* Update nested deps
2022-01-17 21:42:04 +00: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
Azri Kahar
9105c1e42c
fix directusctl packages ( #10623 )
2021-12-21 12:51:12 -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
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
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
rijkvanzanten
ba72d2cfd0
v9.0.1
2021-11-11 16:45:31 -05:00
renovate[bot]
ad3a503f25
Update NPM dependencies (non-major) ( #9585 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-09 11:18:41 -05:00
rijkvanzanten
c95add08ef
v9.0.0
2021-11-04 22:03:10 -04:00
José Varela
23f6baa4db
SDK: refactor constructors ( #9080 )
...
* refactor: more intuitive interfaces
* refactor: simpler refresh
before: on every request we were debouncing a refresh request
after: call refresh only once before now() + 'expires'
* refactor: prefix on base storage
* fixup! refactor: simpler refresh before: on every request we were debouncing a refresh request after: call refresh only once before now() + 'expires'
* refactor: simpler axios transport
before: handle auth headers
after: auth headers are handled on directus instance
* refactor: simpler usage of Directus constructor
* fixup! refactor: simpler refresh before: on every request we were debouncing a refresh request after: call refresh only once before now() + 'expires'
* refactor: fix tests based on previous changes
* refactor: better auth constructor
before: depends on SDK instance
after: depends on Transport and Storage instance
* accept staticToken from auth
* make transport and storage as optional on options
* fix type auth refresh
* simplify transport
* fix test for previous changes
* improve auth class
* revert some IAuth props because tests
* allow to force memory of localstorage on storage
* add tests for previous change
* document everything and simplify some things
* fix override headers on request
* better name typing
* fix private axios
* removed boolean from CLI auth.refresh()
* fix missing url in some examples
* soem grammar updates
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-11-04 13:30:30 -04:00
rijkvanzanten
37cf80e0fe
v9.0.0-rc.101
2021-11-03 19:29:41 -04:00
Nicola Krumschmidt
69d893123e
Add exports fields to all packages ( #9443 )
2021-11-03 18:59:45 -04:00
rijkvanzanten
7e1034d9d4
v9.0.0-rc.100
2021-10-29 14:40:05 -04:00
renovate[bot]
1d2f139bb6
Update dependency ts-node to v10.4.0 ( #9083 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-26 03:25:06 +00:00
renovate[bot]
cc4ca9ade8
Update dependency @types/js-yaml to v4.0.4 ( #9090 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-25 21:05:55 -04:00
rijkvanzanten
7c88f03884
v9.0.0-rc.99
2021-10-21 19:52:37 -04:00
renovate[bot]
f8587497d8
Update dependency ts-node to v10.3.1 ( #9025 )
...
* Update dependency ts-node to v10.3.1
* Update package-lock
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-21 15:10:39 -04:00
renovate[bot]
8c6a7b1b3e
Update jest monorepo to v27.3.1 ( #8967 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-20 09:23:55 -04:00
renovate[bot]
9d137af1a0
Update dependency nock to v13.1.4 ( #8961 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-20 18:03:20 +08:00
renovate[bot]
6e3a63df2b
Update jest monorepo to v27.3.0 ( #8918 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-18 15:33:32 +00:00
renovate[bot]
f3400bb54d
Update dependency ts-jest to v27.0.7 ( #8915 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-18 11:02:42 -04:00
rijkvanzanten
0dd0e1b1c1
v9.0.0-rc.98
2021-10-15 20:13:07 -04:00
rijkvanzanten
392d8bd1df
v9.0.0-rc.97
2021-10-14 21:47:50 -04:00
renovate[bot]
4fb2dcc9a9
Update dependency ts-jest to v27.0.6 ( #8803 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-14 16:53:18 -04:00
renovate[bot]
2429d30917
Update dependency typescript to v4.4.4 ( #8749 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-12 16:51:36 -04:00
renovate[bot]
b2ec182493
Update typescript-eslint monorepo to v5 (major) ( #8702 )
...
* Update typescript-eslint monorepo to v5
* Fix linter warnings
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-12 11:07:46 -04:00
renovate[bot]
86861ecb8d
Update dependency ts-node to v10.3.0 ( #8700 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-12 10:46:18 +08:00
Rijk van Zanten
fb36ded825
Remove deprecated code ( #8670 )
...
* Remove deprecated code
Just for you @aidenfoxx
* Fix type signature
2021-10-08 18:45:17 +00:00