Skip to content

Commit

Permalink
Prepare release 0.0.5 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch authored Apr 12, 2024
1 parent 48fa039 commit 1dcee5f
Show file tree
Hide file tree
Showing 19 changed files with 85 additions and 23 deletions.
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.4",
"@sinch/sdk-core": "^0.0.5",
"@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.4",
"@sinch/sdk-core": "^0.0.5",
"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.0",
"@nestjs/core": "^10.3.0",
"@nestjs/platform-express": "^10.3.0",
"@sinch/sdk-core": "^0.0.4",
"@sinch/sdk-core": "^0.0.5",
"dotenv": "^16.3.1",
"raw-body": "^2.5.2",
"reflect-metadata": "^0.1.13",
Expand Down
12 changes: 12 additions & 0 deletions packages/conversation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Conversation`
- [Feature] Update SDK with latest version of the API
- Support `channel_specific_message` property in the `AppMessage` interface and the WhatsApp flow messages
- Support `channel_specific_message` and `product_response_message` properties in the `ContactMessage` interface and the WhatsApp interactive NFM reply
- [Bugfix][Breaking] remove `AppMessageMessage` interface and reconciliate the model in the `AppMessage` interface
- [Feature] Support hostname override
- [Feature] Support request and response plugins override
- [Feature][Breaking] Change the usage of `Region` to the more specific `ConversationRegion`
- [Feature] `ttl` property in `SendMessageRequest` interface: enhance developer experience by allowing to input directly a number or a string representing a number. the SDK will take care of rhe formatting expected by the backend

## Version 0.0.4
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.4`

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.4",
"version": "0.0.5",
"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.4"
"@sinch/sdk-client": "^0.0.5"
},
"devDependencies": {},
"publishConfig": {
Expand Down
9 changes: 9 additions & 0 deletions packages/fax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Fax`
- [Bugfix] Fix pagination
- [Bugfix] Fix content format sent when using `multipart/form-data`: boolean is not allowed
- [Feature] Support hostname override
- [Feature] Support request and response plugins override
- [Feature] Support regions in the URL

## Version 0.0.4
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.4`

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.4",
"version": "0.0.5",
"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.4"
"@sinch/sdk-client": "^0.0.5"
},
"devDependencies": {},
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Numbers`
- [Feature] Support hostname override
- [Feature] Support request and response plugins override

## Version 0.0.4
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.4`

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.4",
"version": "0.0.5",
"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.4"
"@sinch/sdk-client": "^0.0.5"
},
"devDependencies": {},
"publishConfig": {
Expand Down
8 changes: 8 additions & 0 deletions packages/sdk-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Version 0.0.5
- [Tech] Break circular dependencies
- [Tech][Breaking] Rename `basepath` with `hostname` in the `ApiClientOptions` interface
- [Feature] Support hostname override: new properties added in the `SinchClientParameters` interface
- [Feature] Support request and response plugins override: new properties added in the `SinchClientParameters` interface
- [Feature] Create new functions to build the `ApiClientOptions` for each kind of authentication: `buildOAuth2ApiClientOptions`, `buildApplicationSignedApiClientOptions`, `buildFlexibleOAuth2OrApiTokenApiClientOptions`
- [Feature][Breaking] Remove the enum `Region` and create flexible enums for API regions: `ConversationRegion`, `FaxRegion`, `SmsRegion` and `VoiceRegion`

## Version 0.0.4
- [Bugfix] Embed `form-data` dependency

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.4",
"version": "0.0.5",
"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 0.0.5
- Update dependency `@sinch/numbers` to version `0.0.5`
- Update dependency `@sinch/sms` to version `0.0.5`
- Update dependency `@sinch/verification` to version `0.0.5`
- Update dependency `@sinch/voice` to version `0.0.5`
- Update dependency `@sinch/conversation` to version `0.0.5`
- Update dependency `@sinch/fax` to version `0.0.5`

## Version 0.0.4
- Update dependency `@sinch/numbers` to version `0.0.4`
- Update dependency `@sinch/sms` to version `0.0.4`
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.4",
"version": "0.0.5",
"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.4",
"@sinch/fax": "^0.0.4",
"@sinch/numbers": "^0.0.4",
"@sinch/sms": "^0.0.4",
"@sinch/verification": "^0.0.4",
"@sinch/voice": "^0.0.4"
"@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"
},
"devDependencies": {},
"publishConfig": {
Expand Down
7 changes: 7 additions & 0 deletions packages/sms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Sms`
- [Feature] Support hostname override
- [Feature] Support request and response plugins override
- [Feature][Breaking] Change the usage of `Region` to the more specific `SmsRegion`

## Version 0.0.4
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.4`

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.4",
"version": "0.0.5",
"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.4"
"@sinch/sdk-client": "^0.0.5"
},
"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 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Verification`
- [Feature] Support hostname override
- [Feature] Support request and response plugins override

## Version 0.0.4
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.4`

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.4",
"version": "0.0.5",
"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.4"
"@sinch/sdk-client": "^0.0.5"
},
"devDependencies": {},
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/voice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 0.0.5
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.5`
- [Tech][Breaking] Export all model interfaces under the namespace `Voice`
- [Feature] Support hostname override
- [Feature] Support request and response plugins override

## Version 0.0.4
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.4`

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.4",
"version": "0.0.5",
"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.4"
"@sinch/sdk-client": "^0.0.5"
},
"devDependencies": {},
"publishConfig": {
Expand Down

0 comments on commit 1dcee5f

Please sign in to comment.