Zef v0.15.7 Release Notes

  • 💥 Breaking changes:

    • SimpleGQL: no longer takes the schema_file and graph as regular arguments, but as --schema-file and --data-tag instead.
    • Rename ZEFDB_CONFIG_PATH to ZEFDB_SESSION_PATH
    • 🖨 schema zefop renamed to blueprint

    🆕 New features:

    • SimpleGQL:

      • all main module arguments can be passed as environment variables, e.g. instead of --schema-file you can use SIMPLEGQL_SCHEMA_FILE. Commandline args take priority.
      • --init-hook option to run a hook on every startup
      • @dynamic(hook: "...") option for field resolvers
    • Tokens are cached in the session directory

    • Dictionary syntax for graph wishes: {ET.Something: {RT.A: 3, RT.B: 4}}

    • ⚡️ set_field operation for atomically updating "fields"

    🛠 Fixes:

    • 0️⃣ login auth flow was broken for the new default of statically built libzef.