Skip to content

Releases: kshutkin/slimlib

@slimlib/store@2.0.1

22 Feb 00:09
dd8329c

Choose a tag to compare

Patch Changes

@slimlib/smart-mock@1.0.1

22 Feb 00:09
dd8329c

Choose a tag to compare

Patch Changes

@slimlib/refine-partition@2.0.1

22 Feb 00:09
dd8329c

Choose a tag to compare

Patch Changes

@slimlib/list@2.0.1

22 Feb 00:09
dd8329c

Choose a tag to compare

Patch Changes

@slimlib/injector@2.0.1

22 Feb 00:09
dd8329c

Choose a tag to compare

Patch Changes

@slimlib/store@2.0.0

21 Feb 17:42

Choose a tag to compare

Major Changes

  • ac961c9: Complete rewrite with new reactive primitives API:

    • state() replaces createStore() for creating reactive proxies
    • effect() for reactive subscriptions (replaces callback-based subscriptions)
    • computed() for lazy, cached derived values
    • signal() for simple reactive values
    • flushEffects() for synchronous effect execution
    • setScheduler() for custom scheduling
    • untracked() to read values without tracking
    • Automatic batching of synchronous updates
    • Fine-grained dependency tracking
    • Liveliness memory management for computeds
    • Diamond problem solved (effects run once per batch)
    • ESM only, removed CJS and UMD builds

Minor Changes

  • c92a780: allow Set, Map and potentially other native containers to be proxied correctly

@slimlib/smart-mock@1.0.0

21 Feb 17:42

Choose a tag to compare

Major Changes

  • ac961c9: Increased minimum Node.js version from 15 to 20

@slimlib/refine-partition@2.0.0

21 Feb 17:42

Choose a tag to compare

Major Changes

  • ac961c9: - use new Set methods (intersection, difference)
    • require Node.js >= 22
    • ESM only (removed CJS and UMD)

@slimlib/list@2.0.0

21 Feb 17:42

Choose a tag to compare

Major Changes

@slimlib/injector@2.0.0

21 Feb 17:42

Choose a tag to compare

Major Changes

  • ac961c9: new build and new get parameters name implementation

Minor Changes

  • ac961c9: Changed from default export to named export. Import using { createInject } instead of the default import.

    Before:

    import createInject from "@slimlib/injector";

    After:

    import { createInject } from "@slimlib/injector";

    Added createInjectAnnotated function for minification-safe dependency injection using AngularJS-style array annotation.

    import { createInjectAnnotated } from "@slimlib/injector";
    
    const inject = createInjectAnnotated();
    
    inject([
      "$provide",
      ($provide) => {
        $provide("config", { url: "http://example.com" });
      },
    ]);
    
    inject([
      "config",
      (config) => {
        console.log(config.url);
      },
    ]);

Patch Changes

  • Updated dependencies [ac961c9]
  • Updated dependencies [ac961c9]
    • @slimlib/get-parameter-names@1.0.0