Skip to content

Commit

Permalink
release: v1.5.1 (#189)
Browse files Browse the repository at this point in the history
* release: v1.5.1

* chore: update scripts

* chore: update chat-ai-widget version to v1.5.1

---------

Co-authored-by: bang9 <[email protected]>
Co-authored-by: sendbird-sdk-deployment <[email protected]>
  • Loading branch information
3 people authored Apr 30, 2024
1 parent 7aa5e91 commit bcbd32e
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 18 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
uses: actions/checkout@v4
with:
persist-credentials: false
token: ${{ secrets.GITHUB_TOKEN }}
submodules: 'recursive'
fetch-depth: 0

- name: Install and Build 🔧
run: |
npm run install:deps
npm install
cp .env .env.production
echo "VITE_CHAT_AI_WIDGET_KEY=${{ secrets.chat_ai_widget_key }}" >> .env.production
npm run build:pages
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: 'recursive'
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
- name: Check if the release branch exists
run: |
set -x
Expand All @@ -46,7 +46,7 @@ jobs:
git config --global user.email "[email protected]"
- name: Install and Build
run: |
npm run install:deps
npm install
touch .env.production
echo "VITE_CHAT_AI_WIDGET_KEY=${{ secrets.chat_ai_widget_key }}" >> .env.production && \
npm run build:npm
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## [1.5.0] (April 30 2024)
## [1.5.1] (April 30 2024)
#### Chore:
- Reduced chat-ai-widget bundle size 402.12 kB -> 292.90 kB (gzip); 27.36%
- Removed `@sendbird/uikit-react` dependency from `package.json`.
- Linked the necessary code from `sendbird/uikit-react` github repository directly into `packages/uikit/` dir through a Git submodule.
- Updated our build process(Github workflow / Circleci config) to initialize and update the Git submodule, ensuring that the latest version of the code is always used.

## [Deprecated] [1.5.0]

## [1.4.7] (April 30 2024)
#### Feat:
- Added `serviceName` to chatbot configs
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/chat-ai-widget",
"version": "1.5.0",
"version": "1.5.1",
"description": "Sendbird Chat AI Widget,\n Detailed documentation can be found at https://github.com/sendbird/chat-ai-widget#readme",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
Expand All @@ -15,7 +15,7 @@
"url": "https://github.com/sendbird/chat-ai-widget.git"
},
"scripts": {
"install:deps": "npm install && rm -rf packages/uikit && git submodule update --init",
"install:deps": "git submodule update --init --recursive && npm install",
"dev": "vite",
"build:types": "rm -rf dist; rm -rf icons; rm -rf icons; tsc; cp -R src/icons icons; cp -R src/icons dist/icons ; cp -R src/css css; cp -R src/css dist/css",
"prebuild": "rm -rf ./dist && mv .env .env_temp || true",
Expand Down
2 changes: 1 addition & 1 deletion packages/self-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"format": "npm run prettier:fix && npm run lint:fix"
},
"dependencies": {
"@sendbird/chat-ai-widget": "^1.5.0",
"@sendbird/chat-ai-widget": "^1.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/uikit

0 comments on commit bcbd32e

Please sign in to comment.