Skip to content

Commit

Permalink
DEVEXP-394: Prepare release v1.0.0 (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Apr 19, 2024
1 parent bf55f02 commit 1ef01f8
Show file tree
Hide file tree
Showing 27 changed files with 58 additions and 48 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ Once logged-in you'll find different sets of credentials to access to the variou

For more information on the Sinch APIs on which this SDK is based, refer to the official [developer documentation portal](developers.sinch.com).

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Prerequisites

Before being able to execute the commands described below, you will need to install Node.js. We recommend to [install the current or the LTS version](https://nodejs.org/en).
Expand Down
2 changes: 1 addition & 1 deletion examples/integrated-flows-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"verification:app": "yarn compile && node dist/verification/app.js"
},
"dependencies": {
"@sinch/sdk-core": "^0.0.5",
"@sinch/sdk-core": "^1.0.0",
"@types/node": "^20.8.7",
"dotenv": "^16.3.1",
"inquirer": "^9.2.14",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"voice:conferences:kickAll": "ts-node src/voice/conferences/kickAll.ts"
},
"dependencies": {
"@sinch/sdk-core": "^0.0.5",
"@sinch/sdk-core": "^1.0.0",
"dotenv": "^16.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/platform-express": "^10.3.7",
"@sinch/sdk-core": "^0.0.5",
"@sinch/sdk-core": "^1.0.0",
"dotenv": "^16.3.1",
"raw-body": "^2.5.2",
"reflect-metadata": "^0.1.13",
Expand Down
6 changes: 6 additions & 0 deletions packages/conversation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 1.0.0
- [Tech] Update dependency `@sinch/sdk-client` to `1.0.0`
- [Feature][Breaking TS] Refactor `OmniMessage` interface to `OmniMessageOverride` to highlight its override nature
- [Feature][Breaking TS] Refactor the `section` array elements interface of a "List Message": the new interfaces are now called `ChoiceItemWrapper` and `ProductItemWrapper` and contain a `ChoiceItem` and a `ProductItem` in their respective properties `choice` and `product`
- [Feature] Add helpers to build `ChoiceItemWrapper` and `ProductItemWrapper` objects.

## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Conversation`
Expand Down
3 changes: 0 additions & 3 deletions packages/conversation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

This package contains the Sinch Conversation SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Installation

We recommend to use this SDK as part of the `@sinch/sdk-core` package as it will take care about the authentication plugins to use.
Expand Down
4 changes: 2 additions & 2 deletions packages/conversation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/conversation",
"version": "0.0.5",
"version": "1.0.0",
"description": "Sinch Conversation API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.5"
"@sinch/sdk-client": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/fax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.0.0
- [Tech] Update dependency `@sinch/sdk-client` to `1.0.0`

## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Fax`
Expand Down
4 changes: 2 additions & 2 deletions packages/fax/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/fax",
"version": "0.0.5",
"version": "1.0.0",
"description": "Sinch Fax API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests && rimraf tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.5"
"@sinch/sdk-client": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.0.0
- [Tech] Update dependency `@sinch/sdk-client` to `1.0.0`

## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Numbers`
Expand Down
3 changes: 0 additions & 3 deletions packages/numbers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

This package contains the Sinch Numbers SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Installation

We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
Expand Down
4 changes: 2 additions & 2 deletions packages/numbers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/numbers",
"version": "0.0.5",
"version": "1.0.0",
"description": "Sinch Numbers API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests && rimraf tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.5"
"@sinch/sdk-client": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.0.0
- No change

## Version 0.0.5
- [Tech] Break circular dependencies
- [Tech][Breaking] Rename `basepath` with `hostname` in the `ApiClientOptions` interface
Expand Down
3 changes: 0 additions & 3 deletions packages/sdk-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ There are 5 folders in this package:
- response plugins will modify the response, e.g.: response content is checked and transformed into an exception if the content is empty.
- `utils`: it contains some utility methods that are used by the API SDKs, such as the methods to validate headers are valid in a callback event request, or a method to convert text to hexadecimal for a UDH header

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Architecture
![High level architecture](./documentation/High-level-architecture.png)

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sdk-client",
"version": "0.0.5",
"version": "1.0.0",
"description": "Core services related to interacting with Sinch API",
"homepage": "",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Version 1.0.0
- Update dependency `@sinch/numbers` to version `1.0.0`
- Update dependency `@sinch/sms` to version `1.0.0`
- Update dependency `@sinch/verification` to version `1.0.0`
- Update dependency `@sinch/voice` to version `1.0.0`
- Update dependency `@sinch/conversation` to version `1.0.0`
- Update dependency `@sinch/fax` to version `1.0.0`

## Version 0.0.5
- Update dependency `@sinch/numbers` to version `0.0.5`
- Update dependency `@sinch/sms` to version `0.0.5`
Expand Down
3 changes: 0 additions & 3 deletions packages/sdk-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

This package contains the Sinch Client SDK for Node.js. To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Installation

### With NPM
Expand Down
14 changes: 7 additions & 7 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sdk-core",
"version": "0.0.5",
"version": "1.0.0",
"description": "Node.js client for the Sinch API platform",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -29,12 +29,12 @@
"compile": "tsc --build --verbose"
},
"dependencies": {
"@sinch/conversation": "^0.0.5",
"@sinch/fax": "^0.0.5",
"@sinch/numbers": "^0.0.5",
"@sinch/sms": "^0.0.5",
"@sinch/verification": "^0.0.5",
"@sinch/voice": "^0.0.5"
"@sinch/conversation": "^1.0.0",
"@sinch/fax": "^1.0.0",
"@sinch/numbers": "^1.0.0",
"@sinch/sms": "^1.0.0",
"@sinch/verification": "^1.0.0",
"@sinch/voice": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/sms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.0.0
- [Tech] Update dependency `@sinch/sdk-client` to `1.0.0`

## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Sms`
Expand Down
3 changes: 0 additions & 3 deletions packages/sms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

This package contains the Sinch SMS SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Installation

We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
Expand Down
4 changes: 2 additions & 2 deletions packages/sms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sms",
"version": "0.0.5",
"version": "1.0.0",
"description": "Sinch SMS API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.5"
"@sinch/sdk-client": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/verification/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 1.0.0
- [Tech] Update dependency `@sinch/sdk-client` to `1.0.0`
- [Feature] Update SDK from the latest specification
- Add `smsOptions` and `calloutOptions` to the respective Start Verification operations
- Update response interfaces for Report Verification operations

## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Verification`
Expand Down
3 changes: 0 additions & 3 deletions packages/verification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

This package contains the Sinch Verification SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**
## Installation

We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
Expand Down
4 changes: 2 additions & 2 deletions packages/verification/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/verification",
"version": "0.0.5",
"version": "1.0.0",
"description": "Sinch Verification API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.5"
"@sinch/sdk-client": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/voice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.0.0
- [Tech] Update dependency `@sinch/sdk-client` to `1.0.0`

## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Voice`
Expand Down
4 changes: 0 additions & 4 deletions packages/voice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

This package contains the Sinch Voice SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.

> <span style="color:red; font-weight:bold">Warning:</span>
> **This SDK is currently available to selected developers for preview use only. It is being provided for the purpose of collecting feedback, and should not be used in production environments.**

## Installation

We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
Expand Down
4 changes: 2 additions & 2 deletions packages/voice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/voice",
"version": "0.0.5",
"version": "1.0.0",
"description": "Sinch Voice API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.5"
"@sinch/sdk-client": "^1.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down

0 comments on commit 1ef01f8

Please sign in to comment.