Skip to content
Snippets Groups Projects

fix(deps): update dependency cozy-client to v57

Open Renovate-Bot requested to merge renovate/major-cozy-client-packages into dev

This MR contains the following updates:

Package Type Update Change
cozy-client dependencies major 48.7.0 -> 57.7.1

Release Notes

cozy/cozy-client

v57.7.1

Compare Source

Bug Fixes
  • Ignore Twake prefix in getAppDisplayName (22e785c)

v57.7.0

Compare Source

Features
  • Add sortApplicationsList in apps model (eed4fad)
  • Use a shorter version of sortApplicationsList (ae7ae91)

57.6.1 (2025-04-03)

Bug Fixes
  • Add opsqlite as devDep (3656709)
  • Do not use transaction for read queries (e33547f)
  • Handle cozyPouchData for sqlite (8427309)
  • Move sqliteDb in a native code file (32881bf)
  • Pagination (619aa51)
  • PersistCozyData for new docs (baaca44)
  • SQL limit (3dc6ac8)

v57.6.0

Compare Source

Bug Fixes
  • Do not store existing documents (9966988)
  • Early return when there is no result (5c02d59)
  • Relationships normalization (2a967d3)
  • Simple query example (bd666b8)
Features
  • Add queryEngine platform option (3f40ebc)
  • Add SQLite QueryEngine (bbe89b3)
  • Change PouchDB databases naming (48217cd)
  • Do not include design doc in results (26cd93f)

v57.5.0

Compare Source

Features

v57.4.0

Compare Source

Features
  • Improve normalization performances (853b4a1)
  • Improve persistVirtualDocuments performances (884c4d9)

v57.3.0

Compare Source

Bug Fixes
  • Correctly handle document's store updates (96cef80)
Features
  • Improve merge performances (6573f3b)

v57.2.0

Compare Source

Features
  • Add ifMatch option to FileCollection methods (1e60e3c)

v57.1.0

Compare Source

Features
  • Improve store query performance for id queries (449c7cd)

v57.0.0

Compare Source

Features
  • Add a option to create a "shared drive" sharing (d78caee)
  • Add FileCollection.getSharedDrivesDirectoryOrCreate (c7a36cf)
  • Manage rules for shared drive sharing (542761e)
  • Remove deprecated SharingCollection.share method (fdafda8)
  • Remove sharingType argument from getSharingRules (7571509)
  • Rename getOrCreateSharedDrivesDirectory (92aa9e4)
BREAKING CHANGES
  • SharingCollection.share method has been removed. Use SharingCollection.create method.

v56.0.0

Compare Source

Features
  • Remove fsnative model and mobile cordova helpers (ed23fda)
BREAKING CHANGES
  • fsnative model has been removed. readMobileFile and doMobileUpload methods have been removed on file model. If you still have them in an app, you can safely remove the code.

v55.0.0

Compare Source

Bug Fixes
  • Always use response body as FetchError reason (d664bc0)
Features
  • Add option to always throw fetch errors (f05d997)
BREAKING CHANGES
  • The reason attribute of non-JSON fetch errors is no longer a string composed of the server response status and status text.

    We used to have 2 different kinds of values for the reason attribute of FetchError built in CozyStackClient:

    • a string representation of the response body sent by the server (which may contain details about what when wrong, especially for 400 status responses) for JSON requests
    • a string composed of the server response status and status text for non-JSON requests

    In the non-JSON request situation, we lose information by not using the server response body as the reason of the FetchError which prevents users of cozy-client from reacting appropriately when receiving such an error to their request. Therefore we homogenize our FetchError instances by always using the server response body to build the error reason.

    We need to add a new throwFetchErrors option to CozyStackClient.fetch to determine when to throw the error rather than emitting it as JSON requests expect the error to be thrown but we can't keep reading the response body from the JSON request method to build a new error to throw as it's already been read to build the emitted error. Besides, by doing so, we build the error only once, making sure we get the same kind no matter what type of request we make.

54.0.1 (2025-02-12)

Bug Fixes
  • Allow disabling file name sanitization (7b33a66)

v54.0.1

Compare Source

Bug Fixes
  • Allow disabling file name sanitization (7b33a66)

v54.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • The data-cozy-token injection is no longer supported for refreshToken.

We used to rely on DOMParser to extract the new token during a refreshToken procedure. However, DOMParser is a web API, which is not available in web workers, nor in node env. Therefore, we implement our own HTML parsing, relying on the data-cozy attribute in HTML. We tried using external libraries such as JSDom, fauxdom or linkedom, but got build issues with all those libs. It was somehow manageable, but required some additional config in consuming apps. As the HTML parsing is quite basic, we decided that it is not worth the effort, and we now do the parsing ourselves, making it available in web, workers, and node envs.

As a consequence, we do not support the data-cozy-token existence anymore, as it would require extra work and is seen as deprecated for several years now. If your app still somehow require it, you need to migrate the app template to rely on data-cozy like this:

53.2.1 (2025-02-05)

Bug Fixes
  • deps: Upgrade cozy-pouch-link's parcel (4773f13)

v53.2.0

Compare Source

Features
  • Add OAuth client last synced datetime update (0dcd553)

53.1.1 (2025-01-29)

Bug Fixes
  • Do not read pouch adapter name at login (b21118e)
  • Links' onLogin should be awaited (8a63504)

v53.1.1

Compare Source

Bug Fixes
  • Do not read pouch adapter name at login (b21118e)
  • Links' onLogin should be awaited (8a63504)

v53.1.0

Compare Source

Features
  • Add helpers for encrypted files (715b77a)

v53.0.0

Compare Source

Features
  • models/sharing: Add verbs param to getSharingLink function (6a47793)
  • models/sharing: Rename getSharingLink to makeSharingLink (d1f9557)
  • permissionColl: Improve add method (b2d2c73)
  • PermissionColl: Normalize params between create (1d7a4a2)
BREAKING CHANGES
  • models/sharing: Rename getSharingLink to makeSharingLink.

This function creates or updates a share link.

  • PermissionColl: By default, the name of the attribute returned via createSharingLink is no longer email but code. You can either adapt your code accordingly or simply add the option { codes: 'email' } when calling createSharingLink.

v52.2.0

Compare Source

Features

52.1.1 (2025-01-15)

Bug Fixes
  • konnectors: Avoid creating multiple konnector folders (14ec6c4)

v52.1.1

Compare Source

Bug Fixes
  • konnectors: Avoid creating multiple konnector folders (14ec6c4)

v52.1.0

Compare Source

Features
  • Add new qualification helpers (44688e2)

52.0.1 (2025-01-06)

Bug Fixes
  • models/paper: Change date format (d054820)

v52.0.1

Compare Source

Bug Fixes
  • models/paper: Change date format (d054820)

v52.0.0

Compare Source

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 for options. This is also the case if you instanciate a new CozyLink with a handler argument for request

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

Compare Source

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

Compare Source

Note: Version bump only for package cozy-client

v51.6.0

Compare Source

Features
  • Do not query /jobs/triggers with a partialFilter (bb380fa)

v51.5.0

Compare Source

Bug Fixes
  • Fn hasQualifications was returning true for null / undefined values (0b7a40a)
Features
  • Add "none" translation in document themes (ac082de)

v51.4.0

Compare Source

Features
  • Parallelize loadInstanceOptionsFromStacks queries (55dd291)

51.3.1 (2024-11-28)

Note: Version bump only for package cozy-client

v51.3.1

Compare Source

Note: Version bump only for package cozy-client

v51.3.0

Compare Source

Features

v51.2.0

Compare Source

Features
  • Remove react-inspector from dependencies (fac50f1)
  • Update lerna from 4.0.0 to 8.1.9 (eb3e14f)

v51.1.0

Compare Source

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

Compare Source

Bug Fixes
  • Add missing fields on CozyMetadata for io.cozy.files (2457269)

v51.0.0

Compare Source

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' to import CozyDevtools from 'cozy-devtools'

v50.4.0

Compare Source

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

Compare Source

Bug Fixes
  • Set correct type for limitBy() limit argument in DSL (658ec8c)

v50.2.0

Compare Source

Features

v50.1.0

Compare Source

Bug Fixes
Features

v50.0.0

Compare Source

Features
BREAKING CHANGES
  • useClientErrors has been removed. You must have cozy-ui >= 112.0.0 and import it from there import { useClientErrors } from 'cozy-ui/transpiled/react/hooks/useClientErrors'

v49.8.0

Compare Source

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

Compare Source

Bug Fixes
  • mango: Order alphabetically object inside arrays based on 1st key (0e86883)

v49.6.0

Compare Source

Features
  • Adding missing attributes inside FileDocument (f623c80)

v49.4.0

Compare Source

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

Compare Source

Note: Version bump only for package cozy-client

v49.3.0

Compare Source

Features
  • Add type for externalDataSource.creator (a3326b8)

v49.2.0

Compare Source

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

Compare Source

Bug Fixes
  • Revert some updates to file metadata types (b4c32a5)

v49.0.0

Compare Source

Bug Fixes
Features
Reverts
BREAKING CHANGES
  • cozy-client now requires cozy-intent >= 2.23.0 (used for offline support)

v48.25.0

Compare Source

Features
  • Update file metadata types (fb1bbf0)

48.24.1 (2024-09-19)

Bug Fixes

v48.24.1

Compare Source

Bug Fixes

v48.24.0

Compare Source

Bug Fixes
  • Remove ref to CozyClient as it breaks tests (circular dependency) (36a97e6)
Features
  • Expose real time dispatch changes function (783ff77)

v48.23.0

Compare Source

Features
  • Add announcements remote doctype for production (5dc3d8a)

v48.22.0

Compare Source

Features
  • Rename pôle emploi in France Travail (4eaaac7)

v48.21.0

Compare Source

Features
  • Change fidelity card label (4a966f7)
  • Remove library_card from qualification (64e8a45)

v48.20.0

Compare Source

Features
  • Rename other_activity_document label (f29b4ae)

v48.19.0

Compare Source

Features
  • Rename "numéro de la carte vitale" in "sécurité sociale" (26a12cf)

v48.18.0

Compare Source

Features
  • Add locales for new announcements remote-doctype (3899675)

v48.17.0

Compare Source

Features
  • Sort document when using executeFromStore option (fbd44b8)

v48.16.0

Compare Source

Features
  • NextcloudFilesCollection: Add spacing (3e49c5d)

v48.15.0

Compare Source

Features

48.14.1 (2024-08-21)

Note: Version bump only for package cozy-client

v48.13.1

Compare Source

Bug Fixes
  • Support executing queries from store (75d3228)

v48.13.0

Compare Source

Features
  • Support executing queries from store (49ac876)

48.12.1 (2024-07-31)

Bug Fixes
  • Update docs after merge (f32d2c2)
  • UseInstanceInfo isLoaded return was wrong (ab10975)

v48.12.1

Compare Source

Bug Fixes
  • Update docs after merge (f32d2c2)
  • UseInstanceInfo isLoaded return was wrong (ab10975)

v48.12.0

Compare Source

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

Compare Source

Bug Fixes
  • move: Trash the conflicting file instead of the destination folder (ae8e6da)

v48.11.1

Compare Source

Bug Fixes
  • resetQuery: Return null when the query is not found (0ff4cf0)

v48.11.0

Compare Source

Features
  • Add restore_path to NextcloudFile type (3d2f7f9)

v48.10.0

Compare Source

Features
  • Improve type of NextcloudFile (077e6f8)

v48.9.0

Compare Source

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

Compare Source

Features
  • models/paper: Add isForeignPaper helper (dc454e6)

Configuration

📅 Schedule: "on saturday" in timezone Europe/Paris.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Renovate-Bot

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading