Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and meritmalling committed Feb 10, 2025
1 parent 49cb9e9 commit b16d043
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions changelog/platform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ true, preventing modification of readonly fields.
<Snippet file="chips/dataxp.mdx" />
<div style={{ float: "left", display: "table-column", paddingLeft: "30px", width: "calc(80% - 30px)" }}>

api@e28afe2
The provided diff includes the following changes:

The order of imports from the `@flatfile/api` module has been updated. The `RecordUpdates` and `Success` types are now imported in a different order.

The implementation of the `clearColumn` method has been refactored. Instead of using the `map` and `filter` array methods, it now uses the `reduce` method to generate the `recordsUpdates` array. The new implementation checks if the field value exists and if the field is not read-only before clearing it. This change likely improves performance and readability.
Expand All @@ -37,6 +34,7 @@ true, preventing modification of readonly fields.
Additionally, the code now handles read-only fields correctly. If a field is marked as read-only in the `RecordConfig`, its value will not be cleared.

These changes improve the functionality, performance, and messaging of the `clearColumn` logic without introducing any breaking changes to the external interface.

</div>
</div>
</div>
Expand Down

0 comments on commit b16d043

Please sign in to comment.