@sapia-ai/chatbot 2.33.1-beta.2277 → 2.33.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [2.33.1-beta.2277](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.33.1...v2.33.1-beta.2277) (2026-04-23)
1
+ ## [2.33.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.33.1...v2.33.2) (2026-04-30)
2
2
 
3
3
 
4
4
  ### Bug Fixes
@@ -6,6 +6,7 @@
6
6
  * **PlacesAutoComplete:** always show send button for normal mode ([82aba55](https://github.com/PredictiveHire/phapp-fi-widget/commit/82aba5527f57b2181c3303b39a143faaaab5dc72))
7
7
  * **PlacesAutoComplete:** enable send button for manual location input when no location is suggested ([ce6fb5e](https://github.com/PredictiveHire/phapp-fi-widget/commit/ce6fb5e31827d7652fde4f600cafb0345bade1c7))
8
8
  * **PlacesAutoComplete:** simplify send button logic for manual input ([b8b7c93](https://github.com/PredictiveHire/phapp-fi-widget/commit/b8b7c9399950d3cf2327cde1e4888a90aa57f239))
9
+ * release in main not allow to commit change log direct to main ([319a6f2](https://github.com/PredictiveHire/phapp-fi-widget/commit/319a6f2df1e75458db75e9a06377feb6fc3547c0))
9
10
 
10
11
 
11
12
 
@@ -44,8 +44,13 @@ git checkout -b release/YYYY.MM.DD
44
44
  - Create git tag (e.g., `v2.34.0`)
45
45
  - Publish to npm with `latest` tag
46
46
  - Create GitHub release with changelog
47
+ - Open a PR `chore/release-vX.Y.Z` with updated `package.json` and `CHANGELOG.md`
47
48
 
48
- ### 5. Sync Back to Develop
49
+ ### 5. Merge the Release PR
50
+
51
+ After the Buildkite release step completes, a PR titled `chore(release): X.Y.Z` will be opened automatically. Merge it to keep `package.json` and `CHANGELOG.md` on `main` in sync.
52
+
53
+ ### 6. Sync Back to Develop
49
54
 
50
55
  ```bash
51
56
  # Merge main back to develop to keep them in sync
@@ -120,7 +125,7 @@ npm install @sapia-ai/chatbot@2.33.0-beta.456
120
125
  | Git Tag | ❌ No | ✅ Yes |
121
126
  | GitHub Release | ❌ No | ✅ Yes |
122
127
  | Semantic Versioning | ❌ Manual | ✅ Automatic |
123
- | Modifies Repo | ❌ No | ✅ Yes (version bump) |
128
+ | Modifies Repo | ❌ No | ✅ Yes (opens PR with version bump) |
124
129
 
125
130
  ## Regular Release Process
126
131
 
@@ -196,6 +201,7 @@ Use [Conventional Commits](https://www.conventionalcommits.org/) format:
196
201
  4. **Clean Git History**: All release tags are on `main` branch
197
202
  5. **No Duplicate Releases**: Only `main` can trigger releases
198
203
  6. **Automatic Versioning**: Semantic-release handles version bumps based on commits
204
+ 7. **Protected Branch Compliance**: Semantic-release creates a PR for version/changelog updates rather than pushing directly to `main`, respecting branch protection rules
199
205
 
200
206
  ## Troubleshooting
201
207
 
@@ -203,6 +209,14 @@ Use [Conventional Commits](https://www.conventionalcommits.org/) format:
203
209
 
204
210
  This is expected behavior. Production releases only work from the `main` branch, not from PR contexts. Solution: Merge the PR first, then run the release. If you need to test before merging, use a beta release instead.
205
211
 
212
+ ### Release PR was not created after release
213
+
214
+ Check that:
215
+ - `GITHUB_TOKEN` is available in the Buildkite release step (mapped from `GITHUB_TOKEN_PREDICTIVEHIREBUILD`)
216
+ - The `.buildkite/create-release-pr.sh` script has execute permission
217
+ - No branch named `chore/release-vX.Y.Z` already exists (would cause a push conflict)
218
+ - Check Buildkite logs for the `@semantic-release/exec` step output
219
+
206
220
  ### Version didn't bump as expected
207
221
 
208
222
  Check your commit messages. Only `feat:` and `fix:` (and breaking changes) trigger version bumps. Use `git log` to review commits since last release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapia-ai/chatbot",
3
- "version": "2.33.1-beta.2277",
3
+ "version": "2.33.2",
4
4
  "description": "",
5
5
  "main": "predictivehire.js",
6
6
  "scripts": {
@@ -37,7 +37,10 @@
37
37
  "@commitlint/cli": "^17.1.2",
38
38
  "@commitlint/config-conventional": "^17.1.0",
39
39
  "@rollup/plugin-babel": "^6.0.3",
40
+ "@semantic-release/commit-analyzer": "^9.0.2",
41
+ "@semantic-release/exec": "^6.0.3",
40
42
  "@semantic-release/git": "^10.0.1",
43
+ "@semantic-release/release-notes-generator": "^10.0.3",
41
44
  "@testing-library/dom": "^8.11.1",
42
45
  "@testing-library/jest-dom": "^5.17.0",
43
46
  "@testing-library/react": "^12.1.2",
@@ -1,176 +0,0 @@
1
- {
2
- "name": "@sapia-ai/chatbot",
3
- "version": "2.33.1",
4
- "description": "",
5
- "main": "predictivehire.js",
6
- "scripts": {
7
- "start": "vite --host",
8
- "build": "pnpm build-chatbot && vite build",
9
- "serve": "vite preview",
10
- "test": "vitest",
11
- "test:coverage": "vitest run --coverage",
12
- "lint": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx ./src",
13
- "lint:fix": "eslint --fix .",
14
- "clean-chatbot": "rm -rf dist-chatbot",
15
- "build-chatbot": "pnpm clean-chatbot && vite build --config vite.chatbot.config.js && tsc -p tsconfig.build.json --emitDeclarationOnly --noEmit false",
16
- "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
17
- "version:get-bump": "conventional-recommended-bump -p angular",
18
- "version:auto": "pnpm version --no-commit-hooks --$(pnpm -s version:get-bump)",
19
- "prettier:lint": "pnpm prettier --config .prettierrc.yml --check './src/**/*.{ts,tsx}'",
20
- "prettier:fix": "pnpm prettier --config .prettierrc.yml --write './src/**/*.{ts,tsx}'",
21
- "prepare": "husky install",
22
- "dep:upgrade": "ncu -u && pnpm install",
23
- "semantic-release": "semantic-release"
24
- },
25
- "eslintConfig": {
26
- "extends": [
27
- "react-app",
28
- "react-app/jest"
29
- ]
30
- },
31
- "author": "",
32
- "license": "ISC",
33
- "devDependencies": {
34
- "@babel/plugin-transform-runtime": "^7.16.0",
35
- "@babel/preset-env": "^7.21.5",
36
- "@babel/preset-typescript": "^7.16.0",
37
- "@commitlint/cli": "^17.1.2",
38
- "@commitlint/config-conventional": "^17.1.0",
39
- "@rollup/plugin-babel": "^6.0.3",
40
- "@semantic-release/git": "^10.0.1",
41
- "@testing-library/dom": "^8.11.1",
42
- "@testing-library/jest-dom": "^5.17.0",
43
- "@testing-library/react": "^12.1.2",
44
- "@testing-library/react-hooks": "^7.0.2",
45
- "@testing-library/user-event": "^14.4.3",
46
- "@types/jest": "^27.0.2",
47
- "@types/markdown-draft-js": "^2.2.4",
48
- "@types/node": "^16.11.7",
49
- "@types/react": "^17.0.34",
50
- "@types/react-dom": "^17.0.11",
51
- "@types/react-draft-wysiwyg": "^1.13.3",
52
- "@types/react-loadable": "^5.5.6",
53
- "@types/react-places-autocomplete": "^7.2.9",
54
- "@types/recordrtc": "^5.6.8",
55
- "@types/testing-library__jest-dom": "^5.14.9",
56
- "@types/uuid": "^8.3.1",
57
- "@types/validator": "^13.6.6",
58
- "@types/video.js": "^7.3.27",
59
- "@typescript-eslint/eslint-plugin": "^5.3.1",
60
- "@typescript-eslint/parser": "^5.3.1",
61
- "@vitejs/plugin-react": "^3.1.0",
62
- "@vitest/coverage-c8": "^0.30.1",
63
- "@vitest/coverage-istanbul": "^0.34.6",
64
- "autoprefixer": "^10.4.14",
65
- "babel-plugin-import": "^1.13.3",
66
- "babel-plugin-transform-class-properties": "^6.24.1",
67
- "commitizen": "^4.2.4",
68
- "conventional-changelog-cli": "^2.1.1",
69
- "conventional-recommended-bump": "^6.1.0",
70
- "cpx": "^1.5.0",
71
- "customize-cra": "^1.0.0",
72
- "cz-conventional-changelog": "^3.3.0",
73
- "eslint": "^8.39.0",
74
- "eslint-config-prettier": "^8.3.0",
75
- "eslint-import-resolver-alias": "^1.1.2",
76
- "eslint-plugin-import": "^2.25.3",
77
- "eslint-plugin-node": "^11.1.0",
78
- "eslint-plugin-prettier": "^4.0.0",
79
- "eslint-plugin-promise": "^5.1.1",
80
- "eslint-plugin-react": "^7.27.0",
81
- "eslint-plugin-react-hooks": "^4.3.0",
82
- "eslint-plugin-simple-import-sort": "^7.0.0",
83
- "husky": "^7.0.4",
84
- "identity-obj-proxy": "^3.0.0",
85
- "jsdom": "^21.1.1",
86
- "mockdate": "^3.0.5",
87
- "npm-check-updates": "^12.0.2",
88
- "postcss": "^8.4.23",
89
- "prettier": "^2.4.1",
90
- "react": "^17.0.2",
91
- "react-dom": "^17.0.2",
92
- "react-test-renderer": "^17.0.2",
93
- "semantic-release": "^19.0.3",
94
- "tscpaths": "^0.0.9",
95
- "typescript": "^4.4.4",
96
- "typescript-plugin-css-modules": "^3.4.0",
97
- "vite": "^4.2.1",
98
- "vite-plugin-checker": "^0.6.1",
99
- "vite-plugin-css-injected-by-js": "^3.1.0",
100
- "vite-plugin-eslint": "^1.8.1",
101
- "vitest": "^0.30.1",
102
- "webpack-cli": "^4.9.1"
103
- },
104
- "dependencies": {
105
- "@ant-design/icons": "^4.7.0",
106
- "@types/marked": "^6.0.0",
107
- "@types/react-router-dom": "^5.3.2",
108
- "@types/turndown": "^5.0.5",
109
- "@vimeo/player": "^2.30.2",
110
- "ahooks": "^2.10.12",
111
- "antd": "4.17.0",
112
- "axios": "^1.6.0",
113
- "babel-loader": "8.1.0",
114
- "bowser": "^2.11.0",
115
- "classnames": "^2.3.1",
116
- "detect-browser": "^5.2.1",
117
- "emoji-regex": "^10.0.0",
118
- "i18next": "^22.4.10",
119
- "is-mobile": "^3.0.0",
120
- "less": "^4.1.2",
121
- "less-loader": "^5.0.0",
122
- "libphonenumber-js": "^1.10.39",
123
- "marked": "^15.0.11",
124
- "quill-emoji": "^0.2.0",
125
- "react-app-polyfill": "^2.0.0",
126
- "react-google-autocomplete": "^2.6.0",
127
- "react-loadable": "^5.5.0",
128
- "react-markdown": "^5.0.3",
129
- "react-places-autocomplete": "^7.3.0",
130
- "react-player": "^3.4.0",
131
- "react-quill": "^2.0.0",
132
- "react-router-dom": "^6.0.2",
133
- "recordrtc": "^5.6.2",
134
- "resize-observer-polyfill": "^1.5.1",
135
- "ts-ebml": "^2.0.2",
136
- "turndown": "^7.2.0",
137
- "url-loader": "^4.1.1",
138
- "uuid": "^8.3.2",
139
- "validator": "^13.7.0",
140
- "video.js": "^7.15.4",
141
- "videojs-record": "^4.5.0",
142
- "webrtc-adapter": "^9.0.3"
143
- },
144
- "peerDependencies": {
145
- "react": ">=16.8.0",
146
- "react-dom": ">=16.8.0"
147
- },
148
- "browserslist": {
149
- "production": [
150
- ">0.2%",
151
- "not dead",
152
- "not op_mini all"
153
- ],
154
- "development": [
155
- "last 1 chrome version",
156
- "last 1 firefox version",
157
- "last 1 safari version"
158
- ]
159
- },
160
- "config": {
161
- "commitizen": {
162
- "path": "./node_modules/cz-conventional-changelog"
163
- }
164
- },
165
- "repository": {
166
- "type": "git",
167
- "url": "git+https://github.com/PredictiveHire/phapp-fi-widget.git"
168
- },
169
- "publishConfig": {
170
- "access": "public"
171
- },
172
- "volta": {
173
- "node": "20.11.0",
174
- "pnpm": "9.3.0"
175
- }
176
- }