fix(deps): update dependency cozy-client to v52
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cozy-client | dependencies | major | 48.7.0 -> 52.0.0 |
Release Notes
cozy/cozy-client
v52.0.0
Features
- Allow to enforce Stack link on request chain (6aac845)
BREAKING CHANGES
- CozyLink's request methods now takes an additional
options
argument that can be used to enforce usage of Stack link. Although.request()
is meant to be an internal API, if your code calls it, you'll want to introduce a new argument foroptions
. This is also the case if you instanciate a new CozyLink with a handler argument forrequest
Before:
// Initialization
new CozyLink((operation, result = '', forward) => {
return forward(operation, result + 'foo')
})
// Call
link.request(operation)
// Call with result and forward
link.request(operation, null, () => { /* do stuff */ })
After:
// Initialization
new CozyLink((operation, options, result = '', forward) => {
return forward(operation, options, result + 'foo')
})
// Call
link.request(operation, options)
// Call with result and forward
link.request(operation, options, null, () => { /* do stuff */ })
v51.7.0
Features
- Add PerformanceApi to CozyClient (3e42ea4)
- Add PerformanceApi to CozyClient's store (8da242d)
- Add PerformanceApi to CozyPouchLink (247db09)
- Add PerformanceApi to StackLink (9c4f3b1)
51.6.1 (2024-12-16)
Note: Version bump only for package cozy-client
v51.6.1
Note: Version bump only for package cozy-client
v51.6.0
Features
- Do not query /jobs/triggers with a partialFilter (bb380fa)
v51.5.0
Bug Fixes
- Fn hasQualifications was returning true for null / undefined values (0b7a40a)
Features
- Add "none" translation in document themes (ac082de)
v51.4.0
Features
- Parallelize
loadInstanceOptionsFromStacks
queries (55dd291)
51.3.1 (2024-11-28)
Note: Version bump only for package cozy-client
v51.3.1
Note: Version bump only for package cozy-client
v51.3.0
Features
- Remove unused package @material-ui/core (8c2b582)
v51.2.0
Features
v51.1.0
Features
- Add legal_notice_url to InstanceData (12271e1)
51.0.1 (2024-11-15)
Bug Fixes
- Add missing fields on CozyMetadata for io.cozy.files (2457269)
v51.0.1
Bug Fixes
- Add missing fields on CozyMetadata for io.cozy.files (2457269)
v51.0.0
Features
BREAKING CHANGES
- you no longer need cozy-ui as dep for cozy-client usage
- you must change the import of devtools from
import CozyDevtools from 'cozy-client/dist/devtools'
toimport CozyDevtools from 'cozy-devtools'
v50.4.0
Features
-
FileCollection: Add getAll(), and so Q(
io.cozy.files
).getByIds (8463cc4)
50.3.1 (2024-11-06)
Bug Fixes
- Set correct type for
limitBy()
limit argument in DSL (658ec8c)
v50.3.1
Bug Fixes
- Set correct type for
limitBy()
limit argument in DSL (658ec8c)
v50.2.0
Features
- Add setLinks method (d59842e)
v50.1.0
Bug Fixes
- Limit type (bcf9f58)
Features
v50.0.0
Features
- Remove useClientErrors (d7f6079)
BREAKING CHANGES
-
useClientErrors
has been removed. You must havecozy-ui >= 112.0.0
and import it from thereimport { useClientErrors } from 'cozy-ui/transpiled/react/hooks/useClientErrors'
v49.8.0
Features
- Handle timeout errors for mango queries (aa1018a)
49.7.1 (2024-10-17)
Bug Fixes
- mango: Order alphabetically object inside arrays based on 1st key (0e86883)
v49.7.1
Bug Fixes
- mango: Order alphabetically object inside arrays based on 1st key (0e86883)
v49.6.0
Features
- Adding missing attributes inside FileDocument (f623c80)
v49.4.0
Bug Fixes
- RealTimeQueries: Unsubscribing from the good functions (dbeaed7)
Features
- Spread attributes from JSON:API at document root (f9f0ffd)
- Use JSON:API normalizer instead custom ones inside collection (d86616d)
- Use normalization from exported modules instead static functions (259235d)
49.3.1 (2024-10-09)
Note: Version bump only for package cozy-client
v49.3.1
Note: Version bump only for package cozy-client
v49.3.0
Features
- Add type for externalDataSource.creator (a3326b8)
v49.2.0
Features
- Apply data enhancement to realtime results for specific doctypes (7984d6d)
49.1.1 (2024-10-04)
Bug Fixes
- Revert some updates to file metadata types (b4c32a5)
v49.1.1
Bug Fixes
- Revert some updates to file metadata types (b4c32a5)
v49.0.0
Bug Fixes
- Await for
persistVirtualDocuments
result before finishing request (0a4816c), closes #1486 - Check for Flagship's downloadFile method support before calling it (6f36af5), closes #1518
-
cozy-pouch-link: Merge partialFilter into selector on
find
query (102999b), closes /github.com/cozy/cozy-client/commit/7c69838d2962be8f59ada6806d65761dbfe47082#diff-41848dd46551544674c134f359a5d7cddea46dd1e47c21da6814e1d1d585173dR482-R489 - Don't use attributes on HasManyFiles (65a6058)
- Don't use attributes on loadInstanceOptionsFromStack (88633b3)
- Don't use attributes on models/applications (857cc87)
- Don't use attributes on models/instance (ccc197e)
- Don't use attributes on useCapabilities (3425899)
- Don't use attributes on useFetchShortctut (29b96af)
- pouch-link: Add relationships to jsonapi's normalizeDoc (bf6ecb8)
- pouch-link: Make CozyPouchLink use native partial indexes (8777f7e)
- Remove
attributes
andmeta
attributes before persisting docs (a0f2be6), closes /github.com/cozy/cozy-client/pull/1486#discussion_r1713788468
Features
- Add
downloadFile
method infile
model (9c3b2f2) - Add a warning when an indexedField is missing in query selector (29ca22c), closes /github.com/cozy/cozy-client/pull/1506#discussion_r1716484732
- Ensure storageEngine implements correct interface (b70fe5b), closes /github.com/cozy/cozy-client/pull/1483#discussion_r1626141973
- Force _rev for queries with .select fields (15f8dc4), closes #1517 #1486
- Handle queries that fetch Konnectors by channel (374782f), closes cozy/cozy-home#2186
- Implement FlagshipLink (cd9b46c)
- Improve CozyLink typing and add
reset()
method (d2ece7e) - pouch-link: Add links to jsonapi's normalizeDoc (c0fb776)
- pouch-link: Allow to ignore warmup (5e6b843)
- pouch-link: Apply new index naming algorithm on CozyPouchLink (63990b8), closes #1495
- pouch-link: Handle missing selector predicates for indexed values (bc0e444)
- pouch-link: Handle missing selector predicates for sorted values (0169bcb)
- pouch-link: Support empty selector for PouchDB (40ea4c1)
- Rename FlagshipLink to WebFlagshipLink (e06163c)
- Upgrade cozy-intent to
2.23.0
(16965b8), closes cozy/cozy-libs#2562
Reverts
- Remove
cozyFromPouch
guard (43be3e7), closes /github.com/cozy/cozy-client/pull/1486#discussion_r1713802232 - Remove
ignoreWarmup
option (930b9e7), closes /github.com/cozy/cozy-client/pull/1506#discussion_r1716561921
BREAKING CHANGES
- cozy-client now requires cozy-intent >= 2.23.0 (used for offline support)
v48.25.0
Features
- Update file metadata types (fb1bbf0)
48.24.1 (2024-09-19)
Bug Fixes
- Remove realtimes.d.ts (e79b85b)
v48.24.1
Bug Fixes
- Remove realtimes.d.ts (e79b85b)
v48.24.0
Bug Fixes
- Remove ref to CozyClient as it breaks tests (circular dependency) (36a97e6)
Features
- Expose real time dispatch changes function (783ff77)
v48.23.0
Features
- Add announcements remote doctype for production (5dc3d8a)
v48.22.0
Features
- Rename
pôle emploi
inFrance Travail
(4eaaac7)
v48.21.0
Features
v48.20.0
Features
- Rename other_activity_document label (f29b4ae)
v48.19.0
Features
- Rename "numéro de la carte vitale" in "sécurité sociale" (26a12cf)
v48.18.0
Features
- Add locales for new announcements remote-doctype (3899675)
v48.17.0
Features
- Sort document when using executeFromStore option (fbd44b8)
v48.16.0
Features
- NextcloudFilesCollection: Add spacing (3e49c5d)
v48.15.0
Features
- Add spacing (4121015)
48.14.1 (2024-08-21)
Note: Version bump only for package cozy-client
v48.13.1
Bug Fixes
- Support executing queries from store (75d3228)
v48.13.0
Features
- Support executing queries from store (49ac876)
48.12.1 (2024-07-31)
Bug Fixes
v48.12.1
Bug Fixes
v48.12.0
Bug Fixes
- FileCollection: Copy to a specific folder (b39a498)
Features
- Make helper function to copy file to either Cozy or Nextcloud (8bff5f7)
- NextcloudFilesCollection: Add copy (55a5f5c)
48.11.2 (2024-07-30)
Bug Fixes
- move: Trash the conflicting file instead of the destination folder (ae8e6da)
48.11.1 (2024-07-23)
Bug Fixes
- resetQuery: Return null when the query is not found (0ff4cf0)
v48.11.2
Bug Fixes
- move: Trash the conflicting file instead of the destination folder (ae8e6da)
v48.11.1
Bug Fixes
- resetQuery: Return null when the query is not found (0ff4cf0)
v48.11.0
Features
- Add restore_path to NextcloudFile type (3d2f7f9)
v48.10.0
Features
- Improve type of NextcloudFile (077e6f8)
v48.9.0
Features
- nextcloud: Access content inside nextcloud trash (c63112f)
- nextcloud: Add deletePermanently method (98f9c33)
- nextcloud: Add emptyTrash method (83da9e3)
- nextcloud: Add restore method (1468f19)
v48.8.0
Features
- models/paper: Add isForeignPaper helper (dc454e6)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate-Bot