Added
- Blocks : GetModelAttribute block which will replace ModelAttribute in a few releases
- Blocks : Display blocks are now more configurable (Custom selector)
- DessiaObjegitct : Add type to load_from_file method arguments
- Displays : Displays can now be defined with decorators
- Document generator : New module to write in docx file
- Document generator : New class Table
- Files : Functions to init StringFile and BinaryFile from local path
- Files : .doc & .docx files typings
- MarkdownWriter : New functions (table_of_contents, header)
- Schemas refactor : Support of Ellipsed tuple (Tuple[T, ...])
- Schemas refactor : More Error Checks
- Schemas refactor : JSON export to method schemas for low-code implementations
- Schemas refactor : Default value to method types
- Schemas refactor : Standalone in db property
- Schemas refactor : Support for Display View Types
- Schemas refactor : Mutualize Display View Types and Attribute Types
- Typings : AttributeType, ClassAttributeType and View Types
- Workflow : Tasks display
Changed
- Blocks : Add the possibility to have TypedValue in SetModelAttribute
- Blocks : ! Display blocks definition have changed to adapt to new View Decorator paradigm
- Dataset : Default color of points from blue to grey to make the difference between selected points and the other ones
- DessiaObject : Rename load_from_file and load_from_stream to from_json and from_json_stream
- Export : Export all 3d formats in zip file
- Workflow : WorkflowRun now has smart display by default computation
- Documentation is disabled when at least one block is displayed by default, enabled otherwise
- Workflow always shows Documentation and its Display by default
- Workflow : Memorize display pipes from init
Fixed
- Dataset : Allow to specify attributes of subojects for creating dataset matrix ('subobject/attr')
- Exports : Add trailing line at the end of JSON export
- Schemas refactor : Allow incomplete schemas
- Schemas refactor : Old jsonschema with magic Method Type serialized value
- Schemas refactor : Sequence schema uses args_schemas instead of unique items_schemas
- Workflow : Propagate progress_callback to blocks
- Workflow Blocks : New display selectors are now correctly deserialized
Refactored
- Tests : Change tests. Unittests are in 'tests' folder. Other tests in scripts
- DessiaObject : Check Platform is now verbose and split into several functions
- Document generator : Refactor document_generator module
- Schemas : Whole jsonschema generation process. It now uses Oriented Object algorithms. Most of jsonschema module is now deprecated
- Schemas : Remove Any support in schemas
- Schemas : Use of Schemas to serialize typings
- Schemas : Change serialize_typing function name to serialize_annotation
- Workflow : to_dict method do not use pointers anymore
- Workflow : Remove some attributes from serialization
Removed
- Serialization : Remove warning for dict_to_object if class is not inheriting from SerializableObject
Chore
- Fix Spelling (x2)
- Pylint : Fix iterator error
- Object : Add Backward Compatibality over method_dict to cover old frontend calls
- Workflow : Add Backward Compatibility over ModelMethod, ClassMethod, GetModelAttribute & SetModelAttribute blocks
Build
- CI : Upload coverage is now optional