Skip to content

Releases: krish-adi/barfi

v 1.0.0

06 Jan 03:57
9c2c45d
Compare
Choose a tag to compare

Following are major changes from v0. For using >= v1.0.0 your codebase needs to be adopted. Check for the latest documentation here

  • st_flow is the new streamlit ui which replaces st_barfi. Refer to the new API to add interfaces and options here
  • 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.
  • FlowSchema is the object that now contains all the information about the schemasm the connections and blocks referred.
  • barfi.flow.block now contains all the Block module scripts. Refer to the new API to add interfaces and options here
  • 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
  • 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
  • This version also introduces some types, and will henceforth the library will be typed. Refer to the types here
  • 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.

v 0.7.0

30 Aug 21:51
Compare
Choose a tag to compare
  • Add Block state to store data private to the block. Using block.get_state('key'), block.set_state('key').
  • Block state also stores execution status and errors. Using block.get_state('info'), block.set_state('info'). Note: 'info' is a reserved key.
  • When a block fails on its compute function, its descendants are skipped and the rest of the blocks are computed.
  • Add delete schema function. (@zabrewer)

0.6.1

25 Jul 09:14
Compare
Choose a tag to compare
  • Add option to categories the Blocks with a category in a sub-menu in the context menu on right-click>add-node.
  • Fix compute_engine to take in categories.

0.6.0

19 Jul 21:23
Compare
Choose a tag to compare
  • Add option to categories the Blocks with a category in a sub-menu in the context menu on right-click>add-node.