Comparing version 1.34.7 to 1.35.0
@@ -0,4 +1,8 @@ | ||
# 1.35.0 | ||
- Added a flag to the formstate.save function to skip all validations | ||
# 1.34.7 | ||
- The changes in 1.34.6 for `flatAccessor` getter have been reverted because it was breaking validation in repeating | ||
- The changes in 1.34.6 for `flatAccessor` getter have been reverted because it was breaking validation in repeating | ||
form accessors. | ||
@@ -8,3 +12,3 @@ | ||
- The `flatAccessor` getter has been updated to use an iterative approach for retrieving all sub-accessors, | ||
- The `flatAccessor` getter has been updated to use an iterative approach for retrieving all sub-accessors, | ||
to prevent the risk of exceeding the maximum call stack limit. | ||
@@ -11,0 +15,0 @@ |
@@ -101,3 +101,3 @@ import { IAnyModelType, Instance } from "mobx-state-tree"; | ||
addPath(path: string): void; | ||
save(options?: ValidateOptions): Promise<boolean>; | ||
save(options?: ValidateOptions, skipValidations?: boolean): Promise<boolean>; | ||
resetDirtyState(): void; | ||
@@ -104,0 +104,0 @@ resetSaveStatus(): Promise<void>; |
{ | ||
"name": "mstform", | ||
"version": "1.34.7", | ||
"version": "1.35.0", | ||
"description": "mobx-state-tree powered forms", | ||
@@ -5,0 +5,0 @@ "main": "dist/mstform.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1322145