Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cozy/cozy-libs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cozy-device-helper@2.5.0
Choose a base ref
...
head repository: cozy/cozy-libs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cozy-device-helper@2.6.0
Choose a head ref

Commits on Oct 3, 2022

  1. fix: Expose sendNotification from cozy-client realtime plugin

    It is especially needed in harvest to send notification from harvest
    to the banks application to know when a job is waited for.
    
    And since the realtime plugin is supposed to expose the same api as
    CozyRealtime
    doubleface authored and doubleface committed Oct 3, 2022
    Copy the full SHA
    82500b4 View commit details
  2. [skip ci] Publish

     - cozy-harvest-lib@9.26.17
     - cozy-mespapiers-lib@8.0.3
     - cozy-realtime@4.2.8
     - cozy-playgrounds@1.21.13
    Cozy Bot committed Oct 3, 2022
    Copy the full SHA
    134db82 View commit details

Commits on Oct 4, 2022

  1. Copy the full SHA
    b3ef6f2 View commit details
  2. [skip ci] Publish

     - cozy-harvest-lib@9.26.18
     - cozy-intent@2.6.0
     - cozy-mespapiers-lib@8.0.4
    Cozy Bot committed Oct 4, 2022
    Copy the full SHA
    0da3638 View commit details
  3. fix: Wording of driver_license suggestion

    And add stranger driver license to suggestion list
    Merkur39 committed Oct 4, 2022
    Copy the full SHA
    e77afb5 View commit details
  4. [skip ci] Publish

     - cozy-mespapiers-lib@8.0.5
    Cozy Bot committed Oct 4, 2022
    Copy the full SHA
    243049b View commit details
  5. Copy the full SHA
    73c1137 View commit details
  6. [skip ci] Publish

     - cozy-app-publish@0.32.0
    Cozy Bot committed Oct 4, 2022
    Copy the full SHA
    e4e9fb1 View commit details
  7. feat: Allow to pass custom Properties to OAuthForm wrapper

    via OAuthFormWrapperCompProps and without unmounting/remounting
    OauthForm on each rerender
    
    This avoids the disparition of the BI webview in banks when a new job is
    expected
    doubleface authored and doubleface committed Oct 4, 2022
    Copy the full SHA
    c2461a3 View commit details
  8. [skip ci] Publish

     - cozy-harvest-lib@9.27.0
     - cozy-mespapiers-lib@8.0.6
    Cozy Bot committed Oct 4, 2022
    Copy the full SHA
    72899c2 View commit details

Commits on Oct 11, 2022

  1. fix: This.input is not defined

    Since a few versions, Cozy-UI's input
    has been converted to function with a
    forwardRef.
    
    It results that the ref callback can
    be called after the didMount() method
    so calling focus() on it crash the app.
    
    Since cozy-auth is only on "maintenance"
    mode, I just remove this focus stuff since
    almost all webviews will focus on the input
    if there is only one displayed.
    Crash-- committed Oct 11, 2022
    Copy the full SHA
    1ba6a4d View commit details
  2. [skip ci] Publish

     - cozy-authentication@2.10.10
     - cozy-playgrounds@1.21.14
    Cozy Bot committed Oct 11, 2022
    Copy the full SHA
    5339839 View commit details
  3. fix: Add explicit blocked popup message

    When an OAuth popup was blocked, we got "null is not an object" error in
    console.
    
    Now we will get "Popup was blocked by browser. Be sure to not call
    showPopup asynchronously" which may be more explicit
    doubleface authored and doubleface committed Oct 11, 2022
    Copy the full SHA
    5e6f93c View commit details
  4. [skip ci] Publish

     - cozy-harvest-lib@9.27.1
     - cozy-mespapiers-lib@8.0.7
    Cozy Bot committed Oct 11, 2022
    Copy the full SHA
    71bb9b7 View commit details

Commits on Oct 12, 2022

  1. fix(mespapiers): Redirections to homepage

    When upgrading the router, we changed the redirects on the homepage
    from `/paper` to `/`, for no special reason.
    But as a result, it was the redirection route on the application side
    that was triggered, and that caused a dismount/remount of the lib.
    Merkur39 committed Oct 12, 2022
    Copy the full SHA
    84ac23a View commit details
  2. fix(mespapiers): Default route for the lib

    BREAKING CHANGE: Since the router update, applications were no longer forced
    to use the `/paper` route to consume lib.
    This change was not intended.
    With this fix we get back the old expected behavior.
    Unlike adding the `/*` like this `/paper/*` required with the new router.
    ```
    <Route path="/paper/*" element={<PaperView />} />
    ``` 
    Merkur39 committed Oct 12, 2022
    Copy the full SHA
    2f4fdfc View commit details
  3. Copy the full SHA
    d5ba33e View commit details
  4. [skip ci] Publish

     - cozy-mespapiers-lib@9.0.0
    Cozy Bot committed Oct 12, 2022
    Copy the full SHA
    a0dc5f8 View commit details

Commits on Oct 19, 2022

  1. fix: Reapply useVaultClient hook call in LegacyTriggerManager

    This commit reapplies 8a6f02b that has
    been removed in 439e603 due to
    regression on cozy-bank app
    
    Today this regression cannot be reproduced anymore when we reapply the
    initial commit
    
    So we want to reapply it so we can upgrade cozy-keys-lib to latest
    version
    Ldoppea committed Oct 19, 2022
    Copy the full SHA
    bbfb20b View commit details
  2. [skip ci] Publish

     - cozy-harvest-lib@9.27.2
     - cozy-mespapiers-lib@9.0.1
    Cozy Bot committed Oct 19, 2022
    Copy the full SHA
    4709feb View commit details

Commits on Oct 24, 2022

  1. refactor: Turn OAuthForm into a functional component

      Use the same component life cycle as its wrapper component when
      composing with `withConnectionFlow()` and allow usage of hooks such as
      `useFlowState()`.
    taratatach authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    de276b3 View commit details
  2. refactor: Move trigger error card into KonnectorAccountTabs

      No need to duplicate the error management logic in both tabs.
    taratatach authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    6f2c143 View commit details
  3. refactor: Extract fetchExtraOAuthParams effect

      `OAuthForm` requires to fetch extra OAuth parameters to display the
      `OAuthWindow` and this was done in a `useEffect` call.
    
      However, we want to be able to display this window from other
      components so, instead of duplicating the fetch logic, we create a new
      `useOAuthExtraParams` hook that will be called in every component that
      needs it.
    
      This means that the part of the `OAuthForm`'s `useEffect` call that
      was triggering the OAuthWindow display will now be dependent on the
      existence of the required extra parameters.
    taratatach authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    2e03cdb View commit details
  4. refactor: ConnectionFlow requires a konnector

      In some places we can see that we expect an instantiated
      `ConnectionFlow` to have a `konnector` attribute which comes in most
      cases from a constructor argument.
    
      Since we'll be relying even more on the presence of that `konnector`,
      we make sure that all tests instantiating a `ConnectionFlow` do pass a
      `konnector` argument.
    taratatach authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    a326828 View commit details
  5. feat: Reconnection with BI webviews & webhooks

      When a banking connector fails with a LOGIN_ERROR status, we offer
      users to reconnect their connector via the BI webview.
      Once the user closes the webview, we trigger a connector launch to try
      the new credentials (we can still encounter an error) and fetch the
      new data.
      The user sees a synchronization is in progress within the connector's
      modal in Harvest.
    
      However, we want to use BI webhooks to receive data pushed from BI
      rather than pulling data when we trigger the connector and the current
      process cannot handle this because:
      - we won't trigger the connector ourselves (it will be triggered by a
        webhook call) so the user wouldn't see a synchronization is in
        progress
      - the user might not close the webview or the webhook call could be
        received before the webview is closed so we need to expect it ahead
        of time
    
      Since we don't have much control over the webview, we'll update the
      in-memory connection flow state to expect the connector trigger launch
      (via the BI webhook call). The update will be done once the user opens
      the webview by clicking the "Reconnect" button displayed in the
      connector error card.
      From the user perspective, this trigger launch expectation will be
      seen as a synchronization in progress.
      Once the connector trigger is launched, we'll remove this in-memory
      state and start watching for changes on the connector job.
    taratatach authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    591047b View commit details
  6. feat: Send realtime notifications when expecting a trigger

    This will allow the banks application to display an import in progress
    when needed
    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    b76da3d View commit details
  7. fix: Add useEffect dependencies to useOAuthExtraParams hook

    To avoid to a request to token cache on every render
    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    fb046e4 View commit details
  8. feat: Do not create trigger with full webhooks flag

    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    8ce5e78 View commit details
  9. fix: Do not depend only on konnector.slug for useEffect dependencies

    Used React.memo and use-deep-compare-effect for hooks to not have
    infinite rerenders. But the real cause for these rerenders comes from
    the home application which generates a new konnector object on each
    rerender.
    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    65869cf View commit details
  10. test: Add a cancelation test with busy and not busy state

    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    baf93d9 View commit details
  11. feat: Use BI manage url to update contract synchronization

    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    fad2994 View commit details
  12. docs: Add ts-check + some jsdocs

    doubleface authored and doubleface committed Oct 24, 2022
    Copy the full SHA
    4442fee View commit details
  13. [skip ci] Publish

     - cozy-harvest-lib@9.28.0
     - cozy-mespapiers-lib@9.0.2
    Cozy Bot committed Oct 24, 2022
    Copy the full SHA
    9135075 View commit details

Commits on Oct 27, 2022

  1. Copy the full SHA
    ddcb104 View commit details
  2. [skip ci] Publish

     - cozy-mespapiers-lib@9.0.3
    Cozy Bot committed Oct 27, 2022
    Copy the full SHA
    5856873 View commit details
  3. Copy the full SHA
    7022856 View commit details
  4. [skip ci] Publish

     - cozy-app-publish@0.32.1
    Cozy Bot committed Oct 27, 2022
    Copy the full SHA
    a105cd3 View commit details

Commits on Oct 28, 2022

  1. feat: Close Harvest when BI connection is removed in webview

    doubleface authored and doubleface committed Oct 28, 2022
    Copy the full SHA
    45d9e20 View commit details
  2. docs: Add ts-check

    doubleface authored and doubleface committed Oct 28, 2022
    Copy the full SHA
    66bd66a View commit details
  3. refactor: Allow to set cozy-realtime used by OAuth components

    This will allow unit tests to trigger realtime events which will be
    detected by OAuthWindow and BIContractActivationWindow
    doubleface authored and doubleface committed Oct 28, 2022
    Copy the full SHA
    8293717 View commit details
  4. test: Add unit test for the BI connection removal dialog

    doubleface authored and doubleface committed Oct 28, 2022
    Copy the full SHA
    9dab80f View commit details
  5. refactor: Object parameter for prepareOAuth

    Better to have named parameters with this number of
    parameters, plus this gets more consistent with getOAuthUrl.
    doubleface authored and doubleface committed Oct 28, 2022
    Copy the full SHA
    ef3a5a3 View commit details
  6. refactor: Extract extractOAuthDataFromUrl in OAuthWindow

    To have better ts type and less repetition of the same code
    doubleface authored and doubleface committed Oct 28, 2022
    Copy the full SHA
    b9274d5 View commit details
  7. [skip ci] Publish

     - cozy-harvest-lib@9.29.0
     - cozy-mespapiers-lib@9.0.4
    Cozy Bot committed Oct 28, 2022
    Copy the full SHA
    eb41f00 View commit details

Commits on Nov 3, 2022

  1. fix: Wrong locale on BI connection removal

    doubleface authored and doubleface committed Nov 3, 2022
    Copy the full SHA
    ed2f352 View commit details
  2. [skip ci] Publish

     - cozy-harvest-lib@9.29.1
     - cozy-mespapiers-lib@9.0.5
    Cozy Bot committed Nov 3, 2022
    Copy the full SHA
    123696e View commit details

Commits on Nov 8, 2022

  1. Copy the full SHA
    e1ba03e View commit details
  2. Copy the full SHA
    5770b83 View commit details
  3. Copy the full SHA
    be3098e View commit details
  4. [skip ci] Publish

     - cozy-mespapiers-lib@9.1.0
    Cozy Bot committed Nov 8, 2022
    Copy the full SHA
    885bcaf View commit details
Showing with 2,370 additions and 587 deletions.
  1. +19 −0 packages/cozy-app-publish/CHANGELOG.md
  2. +47 −5 packages/cozy-app-publish/README.md
  3. +1 −1 packages/cozy-app-publish/package.json
  4. +19 −0 packages/cozy-authentication/CHANGELOG.md
  5. +2 −2 packages/cozy-authentication/package.json
  6. +0 −2 packages/cozy-authentication/src/steps/SelectServer.jsx
  7. +11 −0 packages/cozy-device-helper/CHANGELOG.md
  8. +1 −1 packages/cozy-device-helper/package.json
  9. +1 −0 packages/cozy-device-helper/src/flagship.ts
  10. +112 −0 packages/cozy-harvest-lib/CHANGELOG.md
  11. +6 −5 packages/cozy-harvest-lib/package.json
  12. +1 −1 packages/cozy-harvest-lib/src/components/FlowProvider.jsx
  13. +3 −0 packages/cozy-harvest-lib/src/components/FlowProvider.spec.jsx
  14. +60 −8 ...st-lib/src/components/KonnectorConfiguration/ConfigurationTab/BIContractActivationWindow.spec.jsx
  15. +64 −7 ...harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/BiContractActivationWindow.jsx
  16. +8 −2 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/Contracts.jsx
  17. +9 −26 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/index.jsx
  18. +15 −35 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/index.spec.jsx
  19. +0 −16 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/DataTab.spec.jsx
  20. +1 −18 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/DataTab/index.jsx
  21. +72 −0 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/KonnectorAccountTabs.jsx
  22. +114 −2 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/KonnectorAccountTabs.spec.jsx
  23. +105 −121 packages/cozy-harvest-lib/src/components/OAuthForm.jsx
  24. +71 −52 packages/cozy-harvest-lib/src/components/OAuthForm.spec.js
  25. +55 −27 packages/cozy-harvest-lib/src/components/OAuthWindow.jsx
  26. +6 −0 packages/cozy-harvest-lib/src/components/Popup.jsx
  27. +2 −5 packages/cozy-harvest-lib/src/components/Routes.jsx
  28. +23 −12 packages/cozy-harvest-lib/src/components/TriggerManager.jsx
  29. +1 −1 packages/cozy-harvest-lib/src/components/TriggerManager.spec.jsx
  30. +8 −2 packages/cozy-harvest-lib/src/components/TwoFAModal.spec.jsx
  31. +25 −0 packages/cozy-harvest-lib/src/components/VaultUnlockProvider/index.jsx
  32. +121 −30 packages/cozy-harvest-lib/src/components/__snapshots__/OAuthForm.spec.js.snap
  33. +3 −5 packages/cozy-harvest-lib/src/components/cards/LaunchTriggerCard.jsx
  34. +70 −8 packages/cozy-harvest-lib/src/components/cards/LaunchTriggerCard.spec.jsx
  35. +43 −0 packages/cozy-harvest-lib/src/components/hooks/useOAuthExtraParams.js
  36. +48 −36 packages/cozy-harvest-lib/src/helpers/oauth.js
  37. +4 −1 packages/cozy-harvest-lib/src/helpers/oauth.spec.js
  38. +9 −1 packages/cozy-harvest-lib/src/konnector-policies.js
  39. +4 −0 packages/cozy-harvest-lib/src/locales/en.json
  40. +4 −0 packages/cozy-harvest-lib/src/locales/fr.json
  41. +47 −11 packages/cozy-harvest-lib/src/models/ConnectionFlow.js
  42. +162 −20 packages/cozy-harvest-lib/src/models/ConnectionFlow.spec.js
  43. +1 −0 packages/cozy-harvest-lib/src/models/flowEvents.js
  44. +11 −1 packages/cozy-harvest-lib/src/models/withConnectionFlow.spec.jsx
  45. +21 −8 packages/cozy-harvest-lib/src/services/biWebView.js
  46. +11 −7 packages/cozy-harvest-lib/src/services/biWebView.spec.js
  47. +2 −2 packages/cozy-harvest-lib/src/services/budget-insight.js
  48. +6 −3 packages/cozy-harvest-lib/src/services/jobUtils.js
  49. +12 −0 packages/cozy-harvest-lib/src/types.js
  50. +23 −0 packages/cozy-intent/CHANGELOG.md
  51. +1 −1 packages/cozy-intent/package.json
  52. +4 −1 packages/cozy-intent/src/api/models/methods.ts
  53. +179 −0 packages/cozy-mespapiers-lib/CHANGELOG.md
  54. +17 −10 packages/cozy-mespapiers-lib/README.md
  55. +8 −8 packages/cozy-mespapiers-lib/package.json
  56. BIN packages/cozy-mespapiers-lib/src/assets/images/IlluPassport.png
  57. BIN packages/cozy-mespapiers-lib/src/assets/images/IlluPassportDate.png
  58. BIN packages/cozy-mespapiers-lib/src/assets/images/IlluPassportNumber.png
  59. +2 −2 packages/cozy-mespapiers-lib/src/components/AppRouter.jsx
  60. +6 −0 packages/cozy-mespapiers-lib/src/components/CompositeHeader/CompositeHeaderImage.jsx
  61. +1 −1 packages/cozy-mespapiers-lib/src/components/ModelSteps/ContactList.jsx
  62. +1 −1 packages/cozy-mespapiers-lib/src/components/ModelSteps/Edit/ContactEditList.jsx
  63. +1 −1 packages/cozy-mespapiers-lib/src/components/ModelSteps/Edit/PageEdit/PageEditItems.jsx
  64. +1 −1 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectContent.jsx
  65. +1 −1 packages/cozy-mespapiers-lib/src/components/OnboardedGuardedRoute.jsx
  66. +1 −1 packages/cozy-mespapiers-lib/src/components/Papers/PaperGroup.jsx
  67. +1 −1 packages/cozy-mespapiers-lib/src/components/Papers/PapersListByContact.jsx
  68. +2 −2 packages/cozy-mespapiers-lib/src/components/Papers/PapersListWrapper.jsx
  69. +1 −1 packages/cozy-mespapiers-lib/src/components/Placeholders/FeaturedPlaceholdersList.jsx
  70. +1 −1 packages/cozy-mespapiers-lib/src/components/Placeholders/Placeholder.jsx
  71. +1 −1 ...es/cozy-mespapiers-lib/src/components/Placeholders/PlaceholderListModal/PlaceholderThemesList.jsx
  72. +2 −1 packages/cozy-mespapiers-lib/src/components/Placeholders/PlaceholderListModal/PlaceholdersList.jsx
  73. +1 −1 packages/cozy-mespapiers-lib/src/components/SearchResult/SearchResult.jsx
  74. +49 −0 packages/cozy-mespapiers-lib/src/constants/papersDefinitions.json
  75. +16 −1 packages/cozy-mespapiers-lib/src/locales/en.json
  76. +16 −1 packages/cozy-mespapiers-lib/src/locales/fr.json
  77. +19 −0 packages/cozy-realtime/CHANGELOG.md
  78. +2 −2 packages/cozy-realtime/package.json
  79. +8 −0 packages/cozy-realtime/src/RealtimePlugin.js
  80. +1 −0 packages/cozy-realtime/src/RealtimePlugin.spec.js
  81. +8 −0 packages/cozy-scanner/CHANGELOG.md
  82. +2 −2 packages/cozy-scanner/package.json
  83. +30 −0 packages/cozy-sharing/CHANGELOG.md
  84. +4 −4 packages/cozy-sharing/package.json
  85. +1 −1 packages/cozy-sharing/src/SharingProvider.jsx
  86. +16 −3 packages/cozy-sharing/src/components/EditableSharingModal.spec.jsx
  87. +9 −3 packages/cozy-sharing/src/components/ShareModal.jsx
  88. +7 −5 packages/cozy-sharing/src/fetchNextPermissions.js
  89. +40 −0 packages/playgrounds/CHANGELOG.md
  90. +5 −5 packages/playgrounds/package.json
  91. +441 −40 yarn.lock
19 changes: 19 additions & 0 deletions packages/cozy-app-publish/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.32.1](https://github.com/cozy/cozy-libs/compare/cozy-app-publish@0.32.0...cozy-app-publish@0.32.1) (2022-10-27)

**Note:** Version bump only for package cozy-app-publish





# 0.32.0 (2022-10-04)


### Features

* Prohibits putting only spaces in a document name ([5568408](https://github.com/cozy/cozy-libs/commit/55684088da1f6c086596e156825a5999c60421db))





# 0.31.0 (2022-07-05)


52 changes: 47 additions & 5 deletions packages/cozy-app-publish/README.md
Original file line number Diff line number Diff line change
@@ -42,6 +42,11 @@ yarn cozy-app-publish \
--build-commit $BUILD_COMMIT
```

Published version is inferred from the tag set on current commit or the version defined in the manifest `version` property:

- If the current commit has no tag associated, then this is a dev version in the form `<manifest_version>-dev.<commit_sha><date>`
- If the current commit has a beta tag `x.y.z-beta.n` or a stable tag `x.y.z`, then this is a beta or stable version and the tag value is used as the version

### Manual usage (not recommended)

First of all, don't forget to build the application:
@@ -60,6 +65,43 @@ yarn cozy-app-publish \
--manual-version 1.0.2-dev.042cef26d9d33ea604fe4364eaab569980b500c9
```

#### Publishing a beta version

Beta versions are only available through beta channel of the registry and are not automatically deployable on production instances. However a beta tester can
force deployment of beta versions of a given (installed) app from Cozy store. Ask your Cozy representative to explain you how to do this.

Let's say you plan to publish version `1.0.2` of your application and want to test it before publishing it to stable. Then you will publish a `1.0.2-beta.1` version,
test it, publish other beta versions if some adjustement are needed and when you're satisfied with the version you will publish a stable version.

To publish a beta version:

- Have the target stable version as the `version` in your manifest file (eg `1.0.2` in our example). The manifest file always reference stable version.
- Publish with `cozy-app-publish` using the beta version like `1.0.2-beta.1`

```
yarn cozy-app-publish \
--token $REGISTRY_TOKEN \
--build-url https://github.com/cozy/cozy-collect/archive/042cef26d9d33ea604fe4364eaab569980b500c9.tar.gz \
--manual-version 1.0.2-beta.1
```

#### Publishing a stable version

Instances auto-update app versions as soon as they are published as stable. Publishing a new stable version will make it available immediately to all instances
(existing and new ones) unless permission changes requiring user's validation.

To publish a stable version, simply use a version in the form `x.y.z` and it will be considered as stable.

Because manifest's `version` doesn't need to be changed between beta and stable, you don't need to rebuild the application and can publish the exact same app package
you built for beta publication

```
yarn cozy-app-publish \
--token $REGISTRY_TOKEN \
--build-url https://github.com/cozy/cozy-collect/archive/042cef26d9d33ea604fe4364eaab569980b500c9.tar.gz \
--manual-version 1.0.2
```

### Options

#### `--token <editor-token>` (required)
@@ -193,11 +235,11 @@ To print more logs when using tool (useful for debug).

#### Release workflow

- A new branch is created from the current state of `master`. Let's say we want to deploy version `1.0.0` of the app.
- Since we created a new branch, we have to bump the version of `master`, so we have to create a PR to bump to `1.1.0` everywhere is necessary
- The only type of commits allowed on this release branch are bug fixes.
- A new release branch is created from the current state of `master`. Let's say we want to deploy version `1.0.0` of the app, we will create `release/1.0.0`.
- Since we created a new branch, we have to bump the version of `master`, so we have to create a PR to bump to `1.1.0` everywhere it is necessary. This depends on the app, but most of the time it requires to change the `package.json` and `manifest.webapp` versions.
- The only type of commits allowed on this release branch are bug fixes, that should be made on the release branch.
- To release a stable or beta version, generally we use directly github and the release creation interface. In this interface, don't forget to fill in the changelog and to check "prelease" for a beta version. The title of the release must be the released version (ex.: `1.40.0-beta.1`)
- Every time one or more bugs are fixed and the version is considered for release, the latest commit is tagged with a prerelease version number, eg. `1.0.0-beta.1`, `1.0.0-beta.2`, etc…
- Every time bugs are fixed and the version is considered for release, the latest commit is tagged with a prerelease version number, eg. `1.0.0-beta.1`, `1.0.0-beta.2`, etc…
- Each of these prereleases is automatically uploaded on downcloud and deployed on instances that are on the `beta` channel.
- Once the branch is deemed ready for release, the last commit is tagged with the final version — `1.0.0` in our example. It is then, again, uploaded on downcloud, published on the registry and deployed on specific instances as needed.
- The release branch is merged back into `master` so that all the bugfixes aren't lost.
@@ -221,7 +263,7 @@ If you need to quickly fix a bug in production, then you have to:
- Publish
- Merge it on master

Exemple: You have to hot fix Drive. The current `stable` version of Drive is : 1.45.0. Master is on 1.47.0.
Example: You have to hot fix Drive. The current `stable` version of Drive is : 1.45.0. Master is on 1.47.0.

- Then you need to fetch release/1.45.0
- Create a branch from this release: git checkout -b release/1.45.1
2 changes: 1 addition & 1 deletion packages/cozy-app-publish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-app-publish",
"version": "0.31.0",
"version": "0.32.1",
"main": "src/index.js",
"author": "Cozy",
"license": "MIT",
19 changes: 19 additions & 0 deletions packages/cozy-authentication/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.10.11 (2022-11-14)

**Note:** Version bump only for package cozy-authentication





## [2.10.10](https://github.com/cozy/cozy-libs/compare/cozy-authentication@2.10.9...cozy-authentication@2.10.10) (2022-10-11)


### Bug Fixes

* This.input is not defined ([1ba6a4d](https://github.com/cozy/cozy-libs/commit/1ba6a4d97d898e0f43f7ca9bd53aba6aff1405af))





## [2.10.9](https://github.com/cozy/cozy-libs/compare/cozy-authentication@2.10.8...cozy-authentication@2.10.9) (2022-10-03)

**Note:** Version bump only for package cozy-authentication
4 changes: 2 additions & 2 deletions packages/cozy-authentication/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-authentication",
"version": "2.10.9",
"version": "2.10.11",
"description": "Component providing login to a Cozy",
"main": "dist/index.js",
"files": [
@@ -39,7 +39,7 @@
"react-router": "6.3.0"
},
"dependencies": {
"cozy-device-helper": "^2.5.0",
"cozy-device-helper": "^2.6.0",
"localforage": "1.7.3",
"prop-types": "15.7.2",
"snarkdown": "1.2.2",
2 changes: 0 additions & 2 deletions packages/cozy-authentication/src/steps/SelectServer.jsx
Original file line number Diff line number Diff line change
@@ -65,8 +65,6 @@ export class SelectServer extends Component {
'Cozy-Authentication needs a cozy/cordova-plugin-keyboard plugin to work better.'
)
}

this.input.focus()
}
// eslint-disable-next-line
componentWillReceiveProps(nextProps) {
11 changes: 11 additions & 0 deletions packages/cozy-device-helper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 2.6.0 (2022-11-14)


### Features

* **cozy-device-helper:** Add `biometry_authorisation_denied` interface ([d6eb024](https://github.com/cozy/cozy-libs/commit/d6eb02483bc368a7a14bc5a9df4c1256ad4725ed))





# [2.5.0](https://github.com/cozy/cozy-libs/compare/cozy-device-helper@2.4.1...cozy-device-helper@2.5.0) (2022-10-03)


2 changes: 1 addition & 1 deletion packages/cozy-device-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cozy-device-helper",
"description": "To know more information about the device platform",
"version": "2.5.0",
"version": "2.6.0",
"author": "Cozy",
"bugs": {
"url": "https://github.com/cozy/cozy-libs/issues"
1 change: 1 addition & 0 deletions packages/cozy-device-helper/src/flagship.ts
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ export type BiometryType = 'TouchID' | 'FaceID' | 'Biometrics'

export interface FlagshipMetadata {
biometry_available?: boolean
biometry_authorisation_denied?: boolean
biometry_type?: BiometryType
immersive?: boolean
navbarHeight?: number
112 changes: 112 additions & 0 deletions packages/cozy-harvest-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,118 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [9.29.3](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.29.2...cozy-harvest-lib@9.29.3) (2022-11-14)

**Note:** Version bump only for package cozy-harvest-lib





## [9.29.2](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.29.1...cozy-harvest-lib@9.29.2) (2022-11-14)


### Bug Fixes

* **cozy-harvest-lib:** Correctly instantiate `VaultUnlockProvider` ([f92da60](https://github.com/cozy/cozy-libs/commit/f92da602578142b5fdd4a072031010d1b2c8e015))
* **cozy-harvest-lib:** Re-enable skipped `ConfigurationTab` unit test ([b815eab](https://github.com/cozy/cozy-libs/commit/b815eabd692abc3d83eb0d558ae1afcfe2cb4b95))
* **cozy-harvest-lib:** Remove addCheckShouldUnlock from showUnlockForm ([691d47b](https://github.com/cozy/cozy-libs/commit/691d47b360ef83c50fdb576a9ef1b6bf916db009))





## [9.29.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.29.0...cozy-harvest-lib@9.29.1) (2022-11-03)


### Bug Fixes

* Wrong locale on BI connection removal ([ed2f352](https://github.com/cozy/cozy-libs/commit/ed2f352467da5f36ef1753de5578f156bb2a1ffb))





# [9.29.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.28.0...cozy-harvest-lib@9.29.0) (2022-10-28)


### Features

* Close Harvest when BI connection is removed in webview ([45d9e20](https://github.com/cozy/cozy-libs/commit/45d9e20042923b8cab14b8371ea9a596c9e4dea8))





# [9.28.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.27.2...cozy-harvest-lib@9.28.0) (2022-10-24)


### Bug Fixes

* Add useEffect dependencies to useOAuthExtraParams hook ([fb046e4](https://github.com/cozy/cozy-libs/commit/fb046e4034754075a65f5dd4ffd184ba6e180941))
* Do not depend only on konnector.slug for useEffect dependencies ([65869cf](https://github.com/cozy/cozy-libs/commit/65869cfd154a8e925c6b1ef6ee084883e4484cdf))


### Features

* Do not create trigger with full webhooks flag ([8ce5e78](https://github.com/cozy/cozy-libs/commit/8ce5e786e30e48fa46e0d31a912560740c5206a3))
* Reconnection with BI webviews & webhooks ([591047b](https://github.com/cozy/cozy-libs/commit/591047b0143dab480952d67787451ffeddb57632))
* Send realtime notifications when expecting a trigger ([b76da3d](https://github.com/cozy/cozy-libs/commit/b76da3d5ec184c6dcc4c2555f92aec6aa523b294))
* Use BI manage url to update contract synchronization ([fad2994](https://github.com/cozy/cozy-libs/commit/fad2994458e3c0c1f4ee1833855b60ea590fab49))





## [9.27.2](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.27.1...cozy-harvest-lib@9.27.2) (2022-10-19)


### Bug Fixes

* Reapply useVaultClient hook call in LegacyTriggerManager ([bbfb20b](https://github.com/cozy/cozy-libs/commit/bbfb20b559660d04f8a4e1c21ebc3c11cc2cc88b))





## [9.27.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.27.0...cozy-harvest-lib@9.27.1) (2022-10-11)


### Bug Fixes

* Add explicit blocked popup message ([5e6f93c](https://github.com/cozy/cozy-libs/commit/5e6f93cbe43cecc51089304ad3808fbc07793f8f))





# [9.27.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.26.18...cozy-harvest-lib@9.27.0) (2022-10-04)


### Features

* Allow to pass custom Properties to OAuthForm wrapper ([c2461a3](https://github.com/cozy/cozy-libs/commit/c2461a312fd75dff29452fc99ac968d40e040c83))





## [9.26.18](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.26.17...cozy-harvest-lib@9.26.18) (2022-10-04)

**Note:** Version bump only for package cozy-harvest-lib





## [9.26.17](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.26.16...cozy-harvest-lib@9.26.17) (2022-10-03)

**Note:** Version bump only for package cozy-harvest-lib





## [9.26.16](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.26.15...cozy-harvest-lib@9.26.16) (2022-10-03)

**Note:** Version bump only for package cozy-harvest-lib
11 changes: 6 additions & 5 deletions packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-harvest-lib",
"version": "9.26.16",
"version": "9.29.3",
"description": "Provides logic, modules and components for Cozy's harvest applications.",
"main": "dist/index.js",
"author": "Cozy",
@@ -38,6 +38,7 @@
"node-polyglot": "^2.4.0",
"react-final-form": "^3.7.0",
"react-markdown": "^4.2.2",
"use-deep-compare-effect": "^1.8.1",
"uuid": "^3.3.2"
},
"devDependencies": {
@@ -53,11 +54,11 @@
"babel-plugin-inline-react-svg": "1.1.2",
"babel-preset-cozy-app": "^2.0.4",
"cozy-client": "27.17.0",
"cozy-device-helper": "^2.5.0",
"cozy-device-helper": "^2.6.0",
"cozy-flags": "^2.10.2",
"cozy-intent": "^2.5.1",
"cozy-intent": "^2.7.0",
"cozy-keys-lib": "^4.1.9",
"cozy-realtime": "^4.2.7",
"cozy-realtime": "^4.2.9",
"cozy-ui": "60.6.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
@@ -83,7 +84,7 @@
"cozy-flags": ">=2.3.5",
"cozy-intent": ">=1.14.1",
"cozy-keys-lib": ">=4.1.9",
"cozy-realtime": ">=3.12.2",
"cozy-realtime": ">=4.2.8",
"cozy-ui": ">=60.6.0",
"leaflet": "^1.7.1",
"react-router": "3.2.6",
2 changes: 1 addition & 1 deletion packages/cozy-harvest-lib/src/components/FlowProvider.jsx
Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ export class FlowProvider extends Component {
// created, this is why a trigger like object is created here
const triggerLike = {
message: {
account: flow.account._id
account: flow?.account?._id
},
...flow.trigger
}
Original file line number Diff line number Diff line change
@@ -13,6 +13,9 @@ const client = {
on: jest.fn(),
stackClient: {
uri: 'https://cozy.tools:8080'
},
plugins: {
realtime: jest.fn()
}
}
const trigger = {
Loading