Ryven PyPI Package and ryvencore #84
leon-thomm
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release brings mainly large architectural changes. Ryven is at this point more a platform than just an application. See also the new README for additional info about current state.
main changes
removing native macro support for now
While the alpha release of Ryven 3 had native support for macros (/subgraphs/whatever you might call them), I decided to remove them, for the following reasons:
So, I'm not really 'removing' possibilities here, but I think it makes more sense to focus on the nodes for the particular use case and design the system on that level accordingly. I might publish macros with configuration options as nodes package at some point, but it doesn't need to be part of Ryven itself.
translating your
v3.0-alpha
nodes and projectsTo bring your
v3.0-alpha
node packages tov3.1
from NENV import ...
/from NWENV import ...
tofrom ryven.NENV import ...
/from ryven.NWENV import ...
Node.set_state
fromdef set_state(self, data: dict):
todef set_state(self, data: dict, version):
version
fields with values like'v0.0.1'
to your nodes. theversion
parameter inset_state
will reflect the node version under which the loaded node was saved (None
if not set), so you can use it to provide backwards compatibility and translate older versions of nodes to new ones to ensure old projects can be loadedTo bring your
v3.0-alpha
projects tov3.1
This discussion was created from the release Ryven PyPI Package and ryvencore.
Beta Was this translation helpful? Give feedback.
All reactions