Skip to content

Commit d5d0682

Browse files
Version Packages (#200)
* Version Packages * chore: update export versions and test snapshots --------- Co-authored-by: oz-release-app[bot] <205211949+oz-release-app[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c4b3010 commit d5d0682

File tree

25 files changed

+316
-71
lines changed

25 files changed

+316
-71
lines changed

.changeset/bigint-field-type-implementation.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

packages/adapter-evm/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# @openzeppelin/transaction-form-adapter-evm
22

3+
## 0.13.0
4+
5+
### Minor Changes
6+
7+
- [#199](https://github.com/OpenZeppelin/ui-builder/pull/199) [`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2) Thanks [@pasevin](https://github.com/pasevin)! - Add BigInt field type for safe handling of large integers beyond JavaScript Number precision
8+
9+
**Breaking Behavior Changes:**
10+
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
11+
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
12+
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
13+
- BigInt values are stored and transmitted as strings to prevent precision loss
14+
15+
**New Features:**
16+
- Added new `BigIntField` component with built-in integer validation
17+
- Added `createBigIntTransform()` for proper string-based value handling
18+
- BigInt field now available in UI Builder field type dropdown under "Numeric" category
19+
20+
**Improvements:**
21+
- Fixes uint256 truncation issue (#194)
22+
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
23+
- Simplified field generation by removing redundant type-specific validation logic from adapters
24+
- Component-based validation ensures consistency across all blockchain ecosystems
25+
26+
**Technical Details:**
27+
- `BigIntField` uses string storage to handle arbitrary-precision integers
28+
- Integer-only validation via regex (`/^-?\d+$/`)
29+
- Compatible field types properly ordered with `bigint` as recommended type
30+
- Transform functions ensure safe conversion between UI and blockchain formats
31+
32+
### Patch Changes
33+
34+
- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
35+
- @openzeppelin/ui-builder-types@0.13.0
36+
- @openzeppelin/ui-builder-ui@0.13.0
37+
- @openzeppelin/ui-builder-utils@0.13.0
38+
- @openzeppelin/ui-builder-react-core@0.13.0
39+
340
## 0.12.0
441

542
### Minor Changes

packages/adapter-evm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openzeppelin/ui-builder-adapter-evm",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"private": false,
55
"description": "EVM Adapter for UI Builder",
66
"keywords": [

packages/adapter-midnight/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @openzeppelin/transaction-form-adapter-midnight
22

3+
## 0.13.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
8+
- @openzeppelin/ui-builder-types@0.13.0
9+
- @openzeppelin/ui-builder-ui@0.13.0
10+
- @openzeppelin/ui-builder-utils@0.13.0
11+
- @openzeppelin/ui-builder-react-core@0.13.0
12+
313
## 0.12.0
414

515
### Patch Changes

packages/adapter-midnight/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openzeppelin/ui-builder-adapter-midnight",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Midnight Adapter for UI Builder",
55
"keywords": [
66
"openzeppelin",

packages/adapter-solana/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @openzeppelin/transaction-form-adapter-solana
22

3+
## 0.13.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
8+
- @openzeppelin/ui-builder-types@0.13.0
9+
- @openzeppelin/ui-builder-utils@0.13.0
10+
311
## 0.12.0
412

513
### Minor Changes

packages/adapter-solana/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openzeppelin/ui-builder-adapter-solana",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Solana Adapter for UI Builder",
55
"keywords": [
66
"openzeppelin",

packages/adapter-stellar/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @openzeppelin/transaction-form-adapter-stellar
22

3+
## 0.13.0
4+
5+
### Minor Changes
6+
7+
- [#199](https://github.com/OpenZeppelin/ui-builder/pull/199) [`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2) Thanks [@pasevin](https://github.com/pasevin)! - Add BigInt field type for safe handling of large integers beyond JavaScript Number precision
8+
9+
**Breaking Behavior Changes:**
10+
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
11+
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
12+
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
13+
- BigInt values are stored and transmitted as strings to prevent precision loss
14+
15+
**New Features:**
16+
- Added new `BigIntField` component with built-in integer validation
17+
- Added `createBigIntTransform()` for proper string-based value handling
18+
- BigInt field now available in UI Builder field type dropdown under "Numeric" category
19+
20+
**Improvements:**
21+
- Fixes uint256 truncation issue (#194)
22+
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
23+
- Simplified field generation by removing redundant type-specific validation logic from adapters
24+
- Component-based validation ensures consistency across all blockchain ecosystems
25+
26+
**Technical Details:**
27+
- `BigIntField` uses string storage to handle arbitrary-precision integers
28+
- Integer-only validation via regex (`/^-?\d+$/`)
29+
- Compatible field types properly ordered with `bigint` as recommended type
30+
- Transform functions ensure safe conversion between UI and blockchain formats
31+
32+
### Patch Changes
33+
34+
- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
35+
- @openzeppelin/ui-builder-types@0.13.0
36+
- @openzeppelin/ui-builder-ui@0.13.0
37+
- @openzeppelin/ui-builder-utils@0.13.0
38+
339
## 0.12.0
440

541
### Minor Changes

packages/adapter-stellar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openzeppelin/ui-builder-adapter-stellar",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Stellar Adapter for UI Builder",
55
"keywords": [
66
"openzeppelin",

packages/builder/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# @openzeppelin/transaction-form-builder-core
22

3+
## 0.11.1
4+
5+
### Patch Changes
6+
7+
- [#199](https://github.com/OpenZeppelin/ui-builder/pull/199) [`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2) Thanks [@pasevin](https://github.com/pasevin)! - Add BigInt field type for safe handling of large integers beyond JavaScript Number precision
8+
9+
**Breaking Behavior Changes:**
10+
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
11+
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
12+
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
13+
- BigInt values are stored and transmitted as strings to prevent precision loss
14+
15+
**New Features:**
16+
- Added new `BigIntField` component with built-in integer validation
17+
- Added `createBigIntTransform()` for proper string-based value handling
18+
- BigInt field now available in UI Builder field type dropdown under "Numeric" category
19+
20+
**Improvements:**
21+
- Fixes uint256 truncation issue (#194)
22+
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
23+
- Simplified field generation by removing redundant type-specific validation logic from adapters
24+
- Component-based validation ensures consistency across all blockchain ecosystems
25+
26+
**Technical Details:**
27+
- `BigIntField` uses string storage to handle arbitrary-precision integers
28+
- Integer-only validation via regex (`/^-?\d+$/`)
29+
- Compatible field types properly ordered with `bigint` as recommended type
30+
- Transform functions ensure safe conversion between UI and blockchain formats
31+
32+
- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
33+
- @openzeppelin/ui-builder-types@0.13.0
34+
- @openzeppelin/ui-builder-ui@0.13.0
35+
- @openzeppelin/ui-builder-renderer@0.13.0
36+
- @openzeppelin/ui-builder-utils@0.13.0
37+
- @openzeppelin/ui-builder-adapter-evm@0.13.0
38+
- @openzeppelin/ui-builder-adapter-stellar@0.13.0
39+
- @openzeppelin/ui-builder-adapter-midnight@0.13.0
40+
- @openzeppelin/ui-builder-adapter-solana@0.13.0
41+
- @openzeppelin/ui-builder-react-core@0.13.0
42+
- @openzeppelin/ui-builder-storage@0.13.0
43+
344
## 0.11.0
445

546
### Minor Changes

0 commit comments

Comments
 (0)