|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +Release dates are in YYYY-MM-DD |
| 9 | + |
| 10 | +## [1.0.0] - 2025-01-05 |
| 11 | + |
| 12 | +Following are major changes from v0. For using >= v1.0.0 your codebase needs to be adopted. Check for the latest documentation [here](https://barfi.ai/docs) |
| 13 | + |
| 14 | +- `st_flow` is the new streamlit ui which replaces `st_barfi`. Refer to the new API to add interfaces and options [here](https://barfi.ai/docs/st_flow) |
| 15 | +- All objects are typed as dataclasses and not as `dict`. This applies to `Block`, `FlowSchema`, `SchemaManager`, `ComputeEngine` and the return from `st_flow` which is `StreamlitFlowResponse`. |
| 16 | +- `FlowSchema` is the object that now contains all the information about the schemasm the connections and blocks referred. |
| 17 | +- `barfi.flow.block` now contains all the `Block` module scripts. Refer to the new API to add interfaces and options [here](https://barfi.ai/docs/block) |
| 18 | +- `barfi.flow.schema` contains the `SchemaManager` which will be used to save, load, update, delete schemas.Refer to the new API to add interfaces and options [here](https://barfi.ai/docs/schema_manager) |
| 19 | +- `barfi.flow.compute` contains the `ComputeEngine` which will be used to execute the `FlowSchema`. Refer to the new API to add interfaces and options [here](https://barfi.ai/docs/compute_engine) |
| 20 | +- This version also introduces some types, and will henceforth the library will be typed. Refer to the types [here](https://barfi.ai/docs/types) |
| 21 | +- The UI Flow Editor has now been migrated to use React instead of Vue. And, makes use of ReactFlow as the rendering component for the flows. |
| 22 | + |
| 23 | +## [0.7.0] - 2022-08-30 |
| 24 | + |
| 25 | +- Add Block state to store data private to the block. Using block.get_state('key'), block.set_state('key'). |
| 26 | +- Block state also stores execution status and errors. Using block.get_state('info'), block.set_state('info'). Note: 'info' is a reserved key. |
| 27 | +- When a block fails on its compute function, its descendants are skipped and the rest of the blocks are computed. |
| 28 | +- Add delete schema function. (@zabrewer) |
| 29 | + |
| 30 | +## [0.6.1] - 2022-07-25 |
| 31 | + |
| 32 | +- Fix base_blocks_list passed to the compute engine. |
| 33 | + |
| 34 | +## [0.6.0] - 2022-07-19 |
| 35 | + |
| 36 | +- Add option to categories the Blocks with a category in a sub-menu in the context menu on right-click>add-node. |
| 37 | + |
| 38 | +## [0.5.0] - 2022-03-19 |
| 39 | + |
| 40 | +- Add Block option. |
| 41 | +- Add tests for Block option and update tests for interfaces. |
| 42 | +- Add get, set for option to be used inside compute_engine and update compute_engine to handle option value from frontend |
| 43 | + |
| 44 | +## [0.4.4] - 2022-03-16 |
| 45 | + |
| 46 | +- Change barfo.Block method references from `calculate` to `compute` |
| 47 | + |
| 48 | +## [0.4.3] - 2022-03-15 |
| 49 | + |
| 50 | +- Change the frontend BlockEditor.vue to make use of listeners to make the unique names of the Blocks. |
| 51 | + |
| 52 | +## [0.4.2] - 2022-02-27 |
| 53 | + |
| 54 | +- Change add_input and add_output for the Block. TO provide ease of linting and checks. |
| 55 | +- Change the structure of the compute engine. |
| 56 | +- Add unittest |
| 57 | +- Add documentation and structure to the docs to be deployed to readthedocs.org |
| 58 | + |
| 59 | +## [0.4.2] - 2022-02-27 |
| 60 | + |
| 61 | +- Change add_input and add_output for the Block. TO provide ease of linting and checks. |
| 62 | +- Change the structure of the compute engine. |
| 63 | +- Add unittest |
| 64 | +- Add documentation and structure to the docs to be deployed to readthedocs.org |
| 65 | + |
| 66 | +## [0.4.0] - 2022-02-27 |
| 67 | + |
| 68 | +- Implement compute engine checks |
| 69 | +- Change menu for computation, load, save of schema |
| 70 | + |
| 71 | +## [0.2.0] - 2022-02-13 |
| 72 | + |
| 73 | +- ComputeEnginge class, with execute method |
| 74 | +- Client has Menu to Save and List schemas into a db. |
| 75 | +- Functions for managing save/load schemas |
| 76 | + |
| 77 | +## [0.1.0] - 2022-02-12 |
| 78 | + |
| 79 | +- Initial release. |
| 80 | +- Contains Block-Builder class |
| 81 | +- Contains the Compute engine function |
| 82 | +- Contains the frontend-client to use as Streamlit component - st_barfi() |
0 commit comments