Skip to content

Latest commit

 

History

History
74 lines (44 loc) · 2.33 KB

migration-notice.md

File metadata and controls

74 lines (44 loc) · 2.33 KB

Migration notice

CodePush SDK

CodePush SDK migrated to a new service. We recommend updating CodePush SDK to the latest version. Versions lower than 4.0.0 will not work in the near future.

Deprecated methods

  • getSessions
  • patchAccessKey
  • removeSession
  • getAccessKey

These methods are not supported in versions 4.0.0 and above.

Comparison

  • Server URL

    • versions 4.0.0 and above:

      https://api.appcenter.ms/v0.1

    • versions lower than 4.0.0:

      https://codepush-management.azurewebsites.net

      https://codepush.appcenter.ms/v0.1/legacy

  • Request's path

    For example the path of getDeployments method:

    • versions 4.0.0 and above:

      https://api.appcenter.ms/v0.1/apps/{owner_name}/{app_name}/deployments/

    • versions lower than 4.0.0:

      https://codepush-management.azurewebsites.net/apps/{app_name}/deployments/

  • Error handling

    Error messages differ. Status codes only differ when the application is not found for the owner:

    • versions 4.0.0 and above:

      {
          message: 'Not found. Correlation ID: *****',
          statusCode: 404
      }
    • versions lower than 4.0.0:

      {
          message: 'Internal Server Error',
          statusCode: 500
      }
  • Method signature

    Methods signature was not changed. All methods work the same as in previous versions.

CodePush CLI

The CodePush CLI 3.0.0 is the latest and last version for this CLI. We no longer update the CodePush CLI and recommend migrating to the App Center CLI (https://github.com/microsoft/appcenter-cli).

React-native-code-push

React-native-code-push versions lower than 5.7.0 will stop working in the near future.