Skip to content

mobx-location-history

9.4.2

Patch Changes

  • 63404b5 Thanks @js2me! - Fixed QueryParams.createUrl query parameter merging. Values from data now override duplicate parameters in the provided path.

  • afa74fb Thanks @js2me! - Added typed query parameter presets for dates, enums, boolean arrays, and JSON arrays. Array presets now also have camelCase aliases such as numberArray.

    Deprecated createQueryParamFromPreset, queryParamPresets, and array preset names with [] in favor of the new APIs.

9.4.1

Patch Changes

9.4.0

Minor Changes

  • 551be71 Thanks @js2me! - improve QueryParams class add method delete() + update method update() (added delete option)

9.3.1

Patch Changes

9.3.0

Minor Changes

  • 8ca289a Thanks @js2me! - added toString() method for QueryParams (stringify query params)

  • 8ca289a Thanks @js2me! - add more documentation for QueryParams

  • 8ca289a Thanks @js2me! - improve createUrl method to pass custom path as second argument for QueryParams

Patch Changes

  • 8ca289a Thanks @js2me! - [deprecation] rename buildUrl -> createUrl for QueryParams

9.2.1

Patch Changes

9.2.0

Minor Changes

  • 79985ff Thanks @js2me! - update yummies to 7.x.x use applyObservable

Patch Changes

9.1.1

Patch Changes

9.1.0

Minor Changes

9.0.0

Major Changes

  • 36de827 Thanks @js2me! - buildSearchString and parseSearchString now works via qs package

Minor Changes

  • 46b7b66 Thanks @js2me! - mark abortSignal and abortContoller as deprecated in QueryParams

  • 36de827 Thanks @js2me! - added TData generic type to override type of data property in QueryParams and IQueryParams

Patch Changes

  • 36de827 Thanks @js2me! - [internal] unify bundle (vite) + unify docs build (vitepress + sborshik)

8.1.2

Patch Changes

  • 0d61990 Thanks @js2me! - refactored build (switch tsc -> zshy for more compatibility)

8.1.1

Patch Changes

  • a244fdf Thanks @js2me! - added unit tests for buildSearchString and parseSearchString

  • a244fdf Thanks @js2me! - buildSearchString writes nullish values

8.1.0

Minor Changes

  • 32f1ed9 Thanks @js2me! - added docs for parseSearchString buildSearchString

Patch Changes

8.0.2

Patch Changes

  • 724cd85 Thanks @js2me! - fixed typings in blockHistoryWhile operator

8.0.1

Patch Changes

  • e687f9e Thanks @js2me! - fixed blockHistoryWhile method with unsubscriptions

8.0.0

Major Changes

  • 0e006fb Thanks @js2me! - modified blockHistoryWhile input arguments (3 args -> 2 args, history passing in second arg, first arg is trueFn blocker)

    PREVIOUS:

    ts
    blockHistoryWhile(history, () => true, {
      blocker: () => {},
    });

    CURRENT:

    ts
    blockHistoryWhile(() => true, {
      history,
      blocker: () => {},
    });

Minor Changes

  • 0e006fb Thanks @js2me! - added lastBlockedTx for history to detect dynamically last blocked transition

7.3.0

Minor Changes

  • bd98ba1 Thanks @js2me! - added blockHistoryWhile utility function based on MobX reaction

7.2.0

Minor Changes

  • 35285f8 Thanks @js2me! - ci: added update npm and gh release automation

7.1.2

Patch Changes

  • fix logo size

7.1.1

Patch Changes

  • fix link for locationUrl in documentation

7.1.0

Minor Changes

  • added locationUrl computed.struct property

7.0.0

Major Changes

  • added documentation github website