diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 58f0cabc7..e15ad2d6c 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -20,7 +20,7 @@ jobs: uses: actions/github-script@v7 with: script: | - const permission = await github.repos.getCollaboratorPermissionLevel({ + const permission = await github.rest.repos.getCollaboratorPermissionLevel({ owner: context.repo.owner, repo: context.repo.repo, username: context.actor @@ -32,7 +32,7 @@ jobs: if (currentBranch !== `release/${{ github.event.inputs.version }}`) { core.setFailed(`Current branch ${currentBranch} does not match release/${{ github.event.inputs.version }}`); } - const pullRequests = await github.pulls.list({ + const pullRequests = await github.rest.pulls.list({ owner: context.repo.owner, repo: context.repo.repo, state: 'open', @@ -54,8 +54,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - lerna version ${{ github.event.inputs.version }} --yes - lerna publish from-git --yes + yarn lerna version ${{ github.event.inputs.version }} --yes + yarn lerna publish from-git --yes - name: 'approve a pull request' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e99f763e..779a5f9f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +### Bug Fixes + +- handle image/jpg mime type to determine image compress properly ([37f346d](https://github.com/sendbird/sendbird-uikit-react-native/commit/37f346d2483245c4653cde098537b50c974b4241)) +- when frozen or muted, input should be disabled ([712ae97](https://github.com/sendbird/sendbird-uikit-react-native/commit/712ae97bdff6f4ed3d77562d6a2537d40d85e059)) + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) ### Features diff --git a/CHANGELOG_DRAFT.md b/CHANGELOG_DRAFT.md index f84917d2e..0b8c9b698 100644 --- a/CHANGELOG_DRAFT.md +++ b/CHANGELOG_DRAFT.md @@ -1,3 +1,5 @@ -## v3.5.2 +## v3.5.3 -- Added the `inputDisabled` prop to the Input component of the `GroupChannel` and `OpenChannel` modules as a public interface. +- Fixed the issue where `frozen` and `muted` were not considered as the highest priority in determining the disabled status of the input. +- Removed `defaultProps` from the Image component. +- Added handling to process `image/jpg` mime type when deciding whether to apply image compression. diff --git a/docs-validation/CHANGELOG.md b/docs-validation/CHANGELOG.md index d4d9573a5..1ed80152a 100644 --- a/docs-validation/CHANGELOG.md +++ b/docs-validation/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +**Note:** Version bump only for package @sendbird/docs-validation + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) **Note:** Version bump only for package @sendbird/docs-validation diff --git a/docs-validation/package.json b/docs-validation/package.json index b60fd20d3..b4f3b41d6 100644 --- a/docs-validation/package.json +++ b/docs-validation/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/docs-validation", - "version": "3.5.2", + "version": "3.5.3", "private": true, "scripts": { "test": "tsc --project tsconfig.build.json", diff --git a/lerna.json b/lerna.json index 33d23372d..3ac7c382a 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": ["packages/*", "sample", "docs-validation"], "npmClient": "yarn", "useWorkspaces": true, - "version": "3.5.2", + "version": "3.5.3", "command": { "publish": { "conventionalCommits": true, diff --git a/packages/uikit-chat-hooks/CHANGELOG.md b/packages/uikit-chat-hooks/CHANGELOG.md index 16526283a..72543a764 100644 --- a/packages/uikit-chat-hooks/CHANGELOG.md +++ b/packages/uikit-chat-hooks/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +**Note:** Version bump only for package @sendbird/uikit-chat-hooks + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) **Note:** Version bump only for package @sendbird/uikit-chat-hooks diff --git a/packages/uikit-chat-hooks/package.json b/packages/uikit-chat-hooks/package.json index aa3ae08ff..8ba32dfe0 100644 --- a/packages/uikit-chat-hooks/package.json +++ b/packages/uikit-chat-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-chat-hooks", - "version": "3.5.2", + "version": "3.5.3", "description": "A set of React hooks for integrating Sendbird chat functionality into your React app.", "keywords": [ "sendbird", @@ -45,10 +45,10 @@ "access": "public" }, "dependencies": { - "@sendbird/uikit-utils": "3.5.2" + "@sendbird/uikit-utils": "3.5.3" }, "devDependencies": { - "@sendbird/uikit-testing-tools": "3.5.2", + "@sendbird/uikit-testing-tools": "3.5.3", "@types/react": "*", "react": "17.0.2", "react-native-builder-bob": "^0.18.0", diff --git a/packages/uikit-react-native-foundation/CHANGELOG.md b/packages/uikit-react-native-foundation/CHANGELOG.md index a6df28072..2fefefe81 100644 --- a/packages/uikit-react-native-foundation/CHANGELOG.md +++ b/packages/uikit-react-native-foundation/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +**Note:** Version bump only for package @sendbird/uikit-react-native-foundation + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) **Note:** Version bump only for package @sendbird/uikit-react-native-foundation diff --git a/packages/uikit-react-native-foundation/package.json b/packages/uikit-react-native-foundation/package.json index e6a53ed2f..739c652b4 100644 --- a/packages/uikit-react-native-foundation/package.json +++ b/packages/uikit-react-native-foundation/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-react-native-foundation", - "version": "3.5.2", + "version": "3.5.3", "description": "A foundational UI kit for building chat-enabled React Native apps.", "keywords": [ "sendbird", @@ -48,7 +48,7 @@ "access": "public" }, "dependencies": { - "@sendbird/uikit-utils": "3.5.2" + "@sendbird/uikit-utils": "3.5.3" }, "devDependencies": { "@types/react": "*", diff --git a/packages/uikit-react-native/CHANGELOG.md b/packages/uikit-react-native/CHANGELOG.md index 183255711..8385f849e 100644 --- a/packages/uikit-react-native/CHANGELOG.md +++ b/packages/uikit-react-native/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +### Bug Fixes + +- when frozen or muted, input should be disabled ([712ae97](https://github.com/sendbird/sendbird-uikit-react-native/commit/712ae97bdff6f4ed3d77562d6a2537d40d85e059)) + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) ### Features diff --git a/packages/uikit-react-native/package.json b/packages/uikit-react-native/package.json index aa6fe7c0a..76fa1e4bd 100644 --- a/packages/uikit-react-native/package.json +++ b/packages/uikit-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-react-native", - "version": "3.5.2", + "version": "3.5.3", "description": "Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.", "keywords": [ "sendbird", @@ -60,10 +60,10 @@ }, "dependencies": { "@openspacelabs/react-native-zoomable-view": "^2.1.5", - "@sendbird/uikit-chat-hooks": "3.5.2", - "@sendbird/uikit-react-native-foundation": "3.5.2", + "@sendbird/uikit-chat-hooks": "3.5.3", + "@sendbird/uikit-react-native-foundation": "3.5.3", "@sendbird/uikit-tools": "0.0.1-alpha.66", - "@sendbird/uikit-utils": "3.5.2" + "@sendbird/uikit-utils": "3.5.3" }, "devDependencies": { "@bam.tech/react-native-image-resizer": "^3.0.4", diff --git a/packages/uikit-testing-tools/CHANGELOG.md b/packages/uikit-testing-tools/CHANGELOG.md index 221fcb4b4..f7c046f1f 100644 --- a/packages/uikit-testing-tools/CHANGELOG.md +++ b/packages/uikit-testing-tools/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +**Note:** Version bump only for package @sendbird/uikit-testing-tools + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) **Note:** Version bump only for package @sendbird/uikit-testing-tools diff --git a/packages/uikit-testing-tools/package.json b/packages/uikit-testing-tools/package.json index 6f15e9211..b6dc45026 100644 --- a/packages/uikit-testing-tools/package.json +++ b/packages/uikit-testing-tools/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-testing-tools", - "version": "3.5.2", + "version": "3.5.3", "private": true, "description": "UIKit testing tools", "keywords": [ @@ -40,7 +40,7 @@ }, "devDependencies": { "@sendbird/chat": "^4.10.7", - "@sendbird/uikit-utils": "3.5.2", + "@sendbird/uikit-utils": "3.5.3", "@types/jest": "^29.4.0", "@types/react": "*", "@types/react-native": "*", diff --git a/packages/uikit-utils/CHANGELOG.md b/packages/uikit-utils/CHANGELOG.md index 8b38e37da..dd0d7f1b3 100644 --- a/packages/uikit-utils/CHANGELOG.md +++ b/packages/uikit-utils/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +### Bug Fixes + +- handle image/jpg mime type to determine image compress properly ([37f346d](https://github.com/sendbird/sendbird-uikit-react-native/commit/37f346d2483245c4653cde098537b50c974b4241)) + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) **Note:** Version bump only for package @sendbird/uikit-utils diff --git a/packages/uikit-utils/package.json b/packages/uikit-utils/package.json index 48c054e6f..f5e16ce4e 100644 --- a/packages/uikit-utils/package.json +++ b/packages/uikit-utils/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-utils", - "version": "3.5.2", + "version": "3.5.3", "description": "A collection of utility functions and constants for building chat UI components with Sendbird UIKit.", "keywords": [ "sendbird", diff --git a/sample/CHANGELOG.md b/sample/CHANGELOG.md index 2ae3b3d2e..b7a80cce3 100644 --- a/sample/CHANGELOG.md +++ b/sample/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.5.3](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.2...v3.5.3) (2024-05-28) + +### Bug Fixes + +- when frozen or muted, input should be disabled ([712ae97](https://github.com/sendbird/sendbird-uikit-react-native/commit/712ae97bdff6f4ed3d77562d6a2537d40d85e059)) + ## [3.5.2](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.5.1...v3.5.2) (2024-04-23) **Note:** Version bump only for package @sendbird/uikit-sample-cli diff --git a/sample/package.json b/sample/package.json index d9e218287..217549091 100644 --- a/sample/package.json +++ b/sample/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-sample-cli", - "version": "3.5.2", + "version": "3.5.3", "private": true, "scripts": { "android": "concurrently 'yarn start' 'react-native run-android'",