Skip to content

Releases: belgattitude/httpx

@httpx/[email protected]

15 Feb 20:14
fcbc698
Compare
Choose a tag to compare

Patch Changes

@httpx/[email protected]

13 Feb 08:37
76ce6d2
Compare
Choose a tag to compare

Minor Changes

@httpx/[email protected]

13 Feb 11:42
4da9c91
Compare
Choose a tag to compare

Patch Changes

@httpx/[email protected]

13 Feb 11:42
4da9c91
Compare
Choose a tag to compare

Minor Changes

@httpx/[email protected]

12 Feb 16:08
efb0312
Compare
Choose a tag to compare

Patch Changes

@httpx/[email protected]

12 Feb 16:08
efb0312
Compare
Choose a tag to compare

Minor Changes

  • #1892 68e7ebe Thanks @belgattitude! - Rename LRUCache into LruCache (Breaking)

    import { LruCache } from "@httpx/lru";
  • #1892 68e7ebe Thanks @belgattitude! - All TimeLruCache with support for ttl expiry

    import { TimeLruCache } from "@httpx/lru";
    
    const oneSecondInMillis = 1000;
    
    const lru = new TimeLruCache({
      maxSize: 10,
      defaultTTL: oneSecondInMillis,
      onEviction: () => {
        console.log("evicted");
      },
    });
  • #1892 68e7ebe Thanks @belgattitude! - TValue now extends SupportedValues (instead of unknown)

    type BaseCacheValueTypes =
      | string
      | number
      | bigint
      | boolean
      | null
      | unknown[]
      // objects or functions, but not promises
      | (object & { then?: void })
      | Record<string | number | symbol, unknown>;
    
    export type SupportedCacheValues =
      | Readonly<BaseCacheValueTypes>
      | BaseCacheValueTypes;

@httpx/[email protected]

11 Feb 20:04
bc64901
Compare
Choose a tag to compare

Minor Changes

@httpx/[email protected]

11 Feb 17:34
6eafaa8
Compare
Choose a tag to compare

Patch Changes

@httpx/[email protected]

04 Feb 16:12
4422cf3
Compare
Choose a tag to compare

Patch Changes

@httpx/[email protected]

04 Feb 16:12
4422cf3
Compare
Choose a tag to compare

Minor Changes

Patch Changes