Skip to content

Commit c0ad493

Browse files
build(blade): update version (#2526)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3c040f6 commit c0ad493

File tree

4 files changed

+20
-24
lines changed

4 files changed

+20
-24
lines changed

.changeset/moody-coats-clean.md

-18
This file was deleted.

.changeset/nervous-coats-mate.md

-5
This file was deleted.

packages/blade/CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @razorpay/blade
22

3+
## 12.8.2
4+
5+
### Patch Changes
6+
7+
- 3be3f0f9: fix(FileUpload): revert to not calling onChange on file remove
8+
9+
> [!NOTE]
10+
>
11+
> Check the below timeline if you're upgrading from 11.34.1+ version to this version
12+
13+
**Timeline of FileUpload changes**
14+
15+
- In 11.34.1: We did not call onChange on removing of file. Only onRemove was called
16+
- In 11:36.2: We added dispatchEvent call which started calling onChange on onRemove (since React treats `input type="file"` differently than `input type="text"` - [CodeSandbox Link](https://codesandbox.io/p/sandbox/friendly-ishizaka-yk7mm3))
17+
- In 12.4.0: We released a fix thinking onChange call was expected behaviour and we just updated the state value for it
18+
- **This version:** Reverts back to 11.34.1 behaviour. If you're upgrading to this version from 11.34.1 or previous versions, the behaviour will stay same. If you're upgrading from 11.34.1+ and use FileUpload component, its recommended to test out FileUpload instances.
19+
20+
- 3c040f66: feat: add icon only chip
21+
322
## 12.8.1
423

524
### Patch Changes

packages/blade/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@razorpay/blade",
33
"description": "The Design System that powers Razorpay",
4-
"version": "12.8.1",
4+
"version": "12.8.2",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18.12.1"

0 commit comments

Comments
 (0)