Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .changeset/bigint-field-type-implementation.md

This file was deleted.

37 changes: 37 additions & 0 deletions packages/adapter-evm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# @openzeppelin/transaction-form-adapter-evm

## 0.13.0

### Minor Changes

- [#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

**Breaking Behavior Changes:**
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
- BigInt values are stored and transmitted as strings to prevent precision loss

**New Features:**
- Added new `BigIntField` component with built-in integer validation
- Added `createBigIntTransform()` for proper string-based value handling
- BigInt field now available in UI Builder field type dropdown under "Numeric" category

**Improvements:**
- Fixes uint256 truncation issue (#194)
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
- Simplified field generation by removing redundant type-specific validation logic from adapters
- Component-based validation ensures consistency across all blockchain ecosystems

**Technical Details:**
- `BigIntField` uses string storage to handle arbitrary-precision integers
- Integer-only validation via regex (`/^-?\d+$/`)
- Compatible field types properly ordered with `bigint` as recommended type
- Transform functions ensure safe conversion between UI and blockchain formats

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-ui@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0
- @openzeppelin/ui-builder-react-core@0.13.0

## 0.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-evm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-adapter-evm",
"version": "0.12.0",
"version": "0.13.0",
"private": false,
"description": "EVM Adapter for UI Builder",
"keywords": [
Expand Down
10 changes: 10 additions & 0 deletions packages/adapter-midnight/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @openzeppelin/transaction-form-adapter-midnight

## 0.13.0

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-ui@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0
- @openzeppelin/ui-builder-react-core@0.13.0

## 0.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-midnight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-adapter-midnight",
"version": "0.12.0",
"version": "0.13.0",
"description": "Midnight Adapter for UI Builder",
"keywords": [
"openzeppelin",
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-solana/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @openzeppelin/transaction-form-adapter-solana

## 0.13.0

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0

## 0.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-solana/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-adapter-solana",
"version": "0.12.0",
"version": "0.13.0",
"description": "Solana Adapter for UI Builder",
"keywords": [
"openzeppelin",
Expand Down
36 changes: 36 additions & 0 deletions packages/adapter-stellar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @openzeppelin/transaction-form-adapter-stellar

## 0.13.0

### Minor Changes

- [#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

**Breaking Behavior Changes:**
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
- BigInt values are stored and transmitted as strings to prevent precision loss

**New Features:**
- Added new `BigIntField` component with built-in integer validation
- Added `createBigIntTransform()` for proper string-based value handling
- BigInt field now available in UI Builder field type dropdown under "Numeric" category

**Improvements:**
- Fixes uint256 truncation issue (#194)
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
- Simplified field generation by removing redundant type-specific validation logic from adapters
- Component-based validation ensures consistency across all blockchain ecosystems

**Technical Details:**
- `BigIntField` uses string storage to handle arbitrary-precision integers
- Integer-only validation via regex (`/^-?\d+$/`)
- Compatible field types properly ordered with `bigint` as recommended type
- Transform functions ensure safe conversion between UI and blockchain formats

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-ui@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0

## 0.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-stellar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-adapter-stellar",
"version": "0.12.0",
"version": "0.13.0",
"description": "Stellar Adapter for UI Builder",
"keywords": [
"openzeppelin",
Expand Down
41 changes: 41 additions & 0 deletions packages/builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# @openzeppelin/transaction-form-builder-core

## 0.11.1

### Patch Changes

- [#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

**Breaking Behavior Changes:**
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
- BigInt values are stored and transmitted as strings to prevent precision loss

**New Features:**
- Added new `BigIntField` component with built-in integer validation
- Added `createBigIntTransform()` for proper string-based value handling
- BigInt field now available in UI Builder field type dropdown under "Numeric" category

**Improvements:**
- Fixes uint256 truncation issue (#194)
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
- Simplified field generation by removing redundant type-specific validation logic from adapters
- Component-based validation ensures consistency across all blockchain ecosystems

**Technical Details:**
- `BigIntField` uses string storage to handle arbitrary-precision integers
- Integer-only validation via regex (`/^-?\d+$/`)
- Compatible field types properly ordered with `bigint` as recommended type
- Transform functions ensure safe conversion between UI and blockchain formats

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-ui@0.13.0
- @openzeppelin/ui-builder-renderer@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0
- @openzeppelin/ui-builder-adapter-evm@0.13.0
- @openzeppelin/ui-builder-adapter-stellar@0.13.0
- @openzeppelin/ui-builder-adapter-midnight@0.13.0
- @openzeppelin/ui-builder-adapter-solana@0.13.0
- @openzeppelin/ui-builder-react-core@0.13.0
- @openzeppelin/ui-builder-storage@0.13.0

## 0.11.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/builder/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@openzeppelin/ui-builder-app",
"private": true,
"version": "0.11.0",
"version": "0.11.1",
"type": "module",
"bin": {
"export-app": "src/export/cli/export-app.cjs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,12 @@ exports[`Export Snapshot Tests > EVM Export Snapshots > should match snapshot fo
exports[`Export Snapshot Tests > EVM Export Snapshots > should match snapshot for package.json structure > package-json-evm 1`] = `
{
"dependencies": {
"@openzeppelin/ui-builder-adapter-evm": "^0.12.0",
"@openzeppelin/ui-builder-react-core": "^0.12.0",
"@openzeppelin/ui-builder-renderer": "^0.12.0",
"@openzeppelin/ui-builder-types": "^0.12.0",
"@openzeppelin/ui-builder-ui": "^0.12.0",
"@openzeppelin/ui-builder-utils": "^0.12.0",
"@openzeppelin/ui-builder-adapter-evm": "^0.13.0",
"@openzeppelin/ui-builder-react-core": "^0.13.0",
"@openzeppelin/ui-builder-renderer": "^0.13.0",
"@openzeppelin/ui-builder-types": "^0.13.0",
"@openzeppelin/ui-builder-ui": "^0.13.0",
"@openzeppelin/ui-builder-utils": "^0.13.0",
"@tanstack/react-query": "^5.0.0",
"@wagmi/core": "^2.20.3",
"react": "^19.0.0",
Expand Down Expand Up @@ -323,12 +323,12 @@ exports[`Export Snapshot Tests > Solana Export Snapshots > should match snapshot
exports[`Export Snapshot Tests > Solana Export Snapshots > should match snapshot for package.json with Solana dependencies > package-json-solana 1`] = `
{
"dependencies": {
"@openzeppelin/ui-builder-adapter-evm": "^0.12.0",
"@openzeppelin/ui-builder-react-core": "^0.12.0",
"@openzeppelin/ui-builder-renderer": "^0.12.0",
"@openzeppelin/ui-builder-types": "^0.12.0",
"@openzeppelin/ui-builder-ui": "^0.12.0",
"@openzeppelin/ui-builder-utils": "^0.12.0",
"@openzeppelin/ui-builder-adapter-evm": "^0.13.0",
"@openzeppelin/ui-builder-react-core": "^0.13.0",
"@openzeppelin/ui-builder-renderer": "^0.13.0",
"@openzeppelin/ui-builder-types": "^0.13.0",
"@openzeppelin/ui-builder-ui": "^0.13.0",
"@openzeppelin/ui-builder-utils": "^0.13.0",
"@tanstack/react-query": "^5.0.0",
"@wagmi/core": "^2.20.3",
"react": "^19.0.0",
Expand Down
20 changes: 10 additions & 10 deletions packages/builder/src/export/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
*/

export const packageVersions = {
'@openzeppelin/ui-builder-adapter-evm': '0.12.0',
'@openzeppelin/ui-builder-adapter-midnight': '0.12.0',
'@openzeppelin/ui-builder-adapter-solana': '0.12.0',
'@openzeppelin/ui-builder-adapter-stellar': '0.12.0',
'@openzeppelin/ui-builder-react-core': '0.12.0',
'@openzeppelin/ui-builder-renderer': '0.12.0',
'@openzeppelin/ui-builder-storage': '0.12.0',
'@openzeppelin/ui-builder-types': '0.12.0',
'@openzeppelin/ui-builder-ui': '0.12.0',
'@openzeppelin/ui-builder-utils': '0.12.0',
'@openzeppelin/ui-builder-adapter-evm': '0.13.0',
'@openzeppelin/ui-builder-adapter-midnight': '0.13.0',
'@openzeppelin/ui-builder-adapter-solana': '0.13.0',
'@openzeppelin/ui-builder-adapter-stellar': '0.13.0',
'@openzeppelin/ui-builder-react-core': '0.13.0',
'@openzeppelin/ui-builder-renderer': '0.13.0',
'@openzeppelin/ui-builder-storage': '0.13.0',
'@openzeppelin/ui-builder-types': '0.13.0',
'@openzeppelin/ui-builder-ui': '0.13.0',
'@openzeppelin/ui-builder-utils': '0.13.0',
};
9 changes: 9 additions & 0 deletions packages/react-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @openzeppelin/transaction-form-react-core

## 0.13.0

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-ui@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0

## 0.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-react-core",
"version": "0.12.0",
"version": "0.13.0",
"private": false,
"description": "Core React context providers and hooks for the OpenZeppelin UI Builder.",
"type": "module",
Expand Down
36 changes: 36 additions & 0 deletions packages/renderer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @openzeppelin/transaction-form-renderer

## 0.13.0

### Minor Changes

- [#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

**Breaking Behavior Changes:**
- Large integer types (64-bit and above) now map to `bigint` field type instead of `number`
- **EVM**: `uint64`, `uint128`, `uint256`, `int64`, `int128`, `int256`
- **Stellar**: `U64`, `U128`, `U256`, `I64`, `I128`, `I256`
- BigInt values are stored and transmitted as strings to prevent precision loss

**New Features:**
- Added new `BigIntField` component with built-in integer validation
- Added `createBigIntTransform()` for proper string-based value handling
- BigInt field now available in UI Builder field type dropdown under "Numeric" category

**Improvements:**
- Fixes uint256 truncation issue (#194)
- Prevents precision loss for values exceeding `Number.MAX_SAFE_INTEGER` (2^53-1)
- Simplified field generation by removing redundant type-specific validation logic from adapters
- Component-based validation ensures consistency across all blockchain ecosystems

**Technical Details:**
- `BigIntField` uses string storage to handle arbitrary-precision integers
- Integer-only validation via regex (`/^-?\d+$/`)
- Compatible field types properly ordered with `bigint` as recommended type
- Transform functions ensure safe conversion between UI and blockchain formats

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-ui@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0

## 0.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-renderer",
"version": "0.12.0",
"version": "0.13.0",
"private": false,
"description": "A specialized library for rendering customizable transaction forms for blockchain applications.",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @openzeppelin/ui-builder-storage

## 0.13.0

### Patch Changes

- Updated dependencies [[`68c0aed`](https://github.com/OpenZeppelin/ui-builder/commit/68c0aed14f3597df8c52dc8667e420624399b8d2)]:
- @openzeppelin/ui-builder-types@0.13.0
- @openzeppelin/ui-builder-utils@0.13.0

## 0.12.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openzeppelin/ui-builder-storage",
"version": "0.12.0",
"version": "0.13.0",
"private": false,
"description": "Local storage services for the OpenZeppelin UI Builder ecosystem.",
"type": "module",
Expand Down
Loading
Loading