Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'ocr', 'scanner' and 'backup' features to isAvailable #988

Merged
merged 4 commits into from
Oct 23, 2023

Commits on Oct 20, 2023

  1. refactor: Support 'ocr' feature in isAvailable

    We decided to move from isFeatureAvailable() to isAvailable(featureName: string) to check if a feature is available.
    
    isOcrAvailable has not been released yet. So let's move it now before having to handle a breaking change.
    zatteo committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    24dd259 View commit details
    Browse the repository at this point in the history
  2. refactor: Support 'scanner' and 'backup' feature in isAvailable

    We decided to move from isFeatureAvailable() to
    isAvailable(featureName: string) to check if a feature is available.
    
    These feature have already been released in production. So I add the
    possibility here to check if they are present by calling
    isAvailable('scanner') or isAvailable('backup') but I do not remove
    isScannerAvailable method and backup_available injected variable.
    
    We will need to wait that the new isAvailable is released and
    distributed to all of our users before removing the deprecated
    methods.
    zatteo committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    acb94a0 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    8ec9db5 View commit details
    Browse the repository at this point in the history
  2. feat: Update localMethods type

    zatteo committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    c49b094 View commit details
    Browse the repository at this point in the history