Skip to content

Commit 9225d20

Browse files
committed
docs: clean up changelog by removing preliminary unreleased features and fixes
Remove entries for numeric scale support, YAML formatting, value constraints, and bug fixes in numeric handling to reflect accurate pre-release state, preventing confusion in release notes.
1 parent 3088978 commit 9225d20

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

CHANGELOG.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,11 @@
44

55
### 🎯 Major Features
66

7-
#### 1. **Numeric Field Scale Support**
8-
Added comprehensive support for scale in numeric recipe value generation, ensuring accurate data generation for currency and number fields with fractional precision.
9-
10-
#### 2. **YAML Block Scalar Formatting**
11-
Format faker expressions as YAML block scalars in recipes, improving readability and maintainability of complex multi-line expressions.
12-
13-
#### 3. **Text and Numeric Value Constraints**
7+
#### 1. **Text and Numeric Value Constraints**
148
Added new methods for building text and numeric recipe values with constraints, enhancing control over generated data ranges and formats.
159

16-
### 🐛 Bug Fixes
17-
18-
#### 1. **Max Value Calculation Correction**
19-
Fixed incorrect max value calculations for numeric and currency fields to prevent overflow and ensure data integrity.
20-
21-
#### 2. **Precision-Based Left Digits Calculation**
22-
Corrected the calculation of left_digits for numeric and currency fields based on precision - scale, fixing value range generation.
23-
24-
#### 3. **JavaScript Number Overflow Prevention**
25-
Capped numeric precision at 15 to avoid JavaScript number overflow issues when processing large precision values.
26-
27-
#### 4. **Code Cleanup**
28-
Fixed missing closing braces and removed unnecessary comments in `SnowfakeryRecipeFakerService`.
29-
3010
### 🔧 Technical Details
3111

32-
**Files Modified**:
33-
- `src/treecipe/src/RecipeFakerService.ts/SnowfakeryRecipeFakerService/SnowfakeryRecipeFakerService.ts`
34-
- Additional related files in RecipeFakerService for numeric handling
35-
3612
**Code Example - Currency Field XML to FakerJS YAML**:
3713

3814
Given a custom object field XML markup with precision and scale:

0 commit comments

Comments
 (0)