mud

MUD is a framework for building ambitious onchain applications

MIT License

Downloads
318.4K
Stars
643
Committers
80

Bot releases are visible (Hide)

mud - @latticexyz/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 59054203: TS packages now generate their respective .d.ts type definition files for better compatibility when using MUD with moduleResolution set to bundler or node16 and fixes issues around missing type declarations for dependent packages.
  • Updated dependencies [933b54b5]
  • Updated dependencies [59054203]
  • Updated dependencies [1b5eb0d0]
  • Updated dependencies [5d737cf2]
  • Updated dependencies [4c1dcd81]
  • Updated dependencies [5df1f31b]
mud - @latticexyz/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • 1b5eb0d0: Added unique and groupBy array helpers to @latticexyz/common/utils.

    import { unique } from "@latticexyz/common/utils";
    
    unique([1, 2, 1, 4, 3, 2]);
    // [1, 2, 4, 3]
    
    import { groupBy } from "@latticexyz/common/utils";
    
    const records = [
      { type: "cat", name: "Bob" },
      { type: "cat", name: "Spot" },
      { type: "dog", name: "Rover" },
    ];
    Object.fromEntries(groupBy(records, (record) => record.type));
    // {
    //   "cat": [{ type: "cat", name: "Bob" }, { type: "cat", name: "Spot" }],
    //   "dog: [{ type: "dog", name: "Rover" }]
    // }
    
  • 4c1dcd81: - Added a Result<Ok, Err> type for more explicit and typesafe error handling (inspired by Rust).

  • 5df1f31b: Updated chunk types to use readonly arrays

Patch Changes

  • 933b54b5: The benchmark util now logs to stdout instead of stderr.
  • 59054203: TS packages now generate their respective .d.ts type definition files for better compatibility when using MUD with moduleResolution set to bundler or node16 and fixes issues around missing type declarations for dependent packages.
  • 5d737cf2: Updated the debug util to pipe to stdout and added an additional util to explicitly pipe to stderr when needed.
  • Updated dependencies [59054203]
mud - @latticexyz/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 59054203: TS packages now generate their respective .d.ts type definition files for better compatibility when using MUD with moduleResolution set to bundler or node16 and fixes issues around missing type declarations for dependent packages.
  • 5d737cf2: Updated the debug util to pipe to stdout and added an additional util to explicitly pipe to stderr when needed.
  • Updated dependencies [933b54b5]
  • Updated dependencies [59054203]
  • Updated dependencies [1b5eb0d0]
  • Updated dependencies [5d737cf2]
  • Updated dependencies [4c1dcd81]
  • Updated dependencies [5df1f31b]
mud - @latticexyz/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 59054203: TS packages now generate their respective .d.ts type definition files for better compatibility when using MUD with moduleResolution set to bundler or node16 and fixes issues around missing type declarations for dependent packages.
  • 5d737cf2: Updated the debug util to pipe to stdout and added an additional util to explicitly pipe to stderr when needed.
mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Minor Changes

  • fdbba6d8: Added a new delegation control called SystemboundDelegationControl that delegates control of a specific system for some maximum number of calls. It is almost identical to CallboundDelegationControl except the delegatee can call the system with any function and args.

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Major Changes

  • 5ecccfe7: Separated frontend server and indexer service for Postgres indexer. Now you can run the Postgres indexer with one writer and many readers.

    If you were previously using the postgres-indexer binary, you'll now need to run both postgres-indexer and postgres-frontend.

    For consistency, the Postgres database logs are now disabled by default. If you were using these, please let us know so we can add them back in with an environment variable flag.

Minor Changes

  • f318f2fe: Added STORE_ADDRESS environment variable to index only a specific MUD Store.

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

mud - [email protected]

Published by github-actions[bot] 12 months ago

Minor Changes

  • 1faf7f69: Added Zustand support to Dev Tools:

    const { syncToZustand } from "@latticexyz/store-sync";
    const { mount as mountDevTools } from "@latticexyz/dev-tools";
    
    const { useStore } = syncToZustand({ ... });
    
    mountDevTools({
      ...
      useStore,
    });
    

Patch Changes

  • aacffcb5: Pinned prettier-plugin-solidity version to 1.1.3
mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Major Changes

  • 1faf7f69: syncToZustand now uses tables argument to populate the Zustand store's tables key, rather than the on-chain table registration events. This means we'll no longer store data into Zustand you haven't opted into receiving (e.g. other namespaces).

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • b2d2aa71: Added an explicit package export for mud.config
  • bb91edaa: Fixed resolveUserTypes for static arrays.
    resolveUserTypes is used by deploy, which prevented deploying tables with static arrays.
  • Updated dependencies [aacffcb5]
  • Updated dependencies [bb91edaa]
mud - [email protected]

Published by github-actions[bot] 12 months ago

mud - [email protected]

Published by github-actions[bot] 12 months ago

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Minor Changes

  • bb91edaa: Added isSchemaAbiType helper function to check and narrow an unknown string to the SchemaAbiType type
mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes