Skip to content

Releases: open-southeners/flex-url

1.1.0

21 Nov 11:39
72d79f3
Compare
Choose a tag to compare

Added

  • strict parameter to has and find methods on queryParams
  • includes method on queryParams

Changed

  • Internal API on QueryParameter class
  • Some minor internal changes on QueryParameterChecker and FilterParameterChecker

Fixed

  • Reactivity compatibility with Vue. Please use reactive function

1.0.5

21 Nov 10:36
7e6b982
Compare
Choose a tag to compare

Added

  • replace method to query & filters parameters
  • toggle method to filters parameters
  • append method to filters parameters
  • Functional or & and methods in filters parameters

Changed

  • append using encoded value instead of QueryParameter.rawValue (added raw options)
  • append triggering error when no value when indexes were only needed

1.0.4

20 Nov 15:33
41cb18f
Compare
Choose a tag to compare

Added

  • Filters toggle method

Changed

  • Add return types everywhere

1.0.3

20 Nov 15:32
e0e7065
Compare
Choose a tag to compare

Changed

  • Package exports now class and function

1.0.2

20 Nov 12:28
d2d3afc
Compare
Choose a tag to compare

Fixed

  • Added Location type to flexUrl function (typo)

1.0.1

20 Nov 12:05
47c9f3d
Compare
Choose a tag to compare

Fixed

  • Safer URL parsing reusing URL

1.0.0

18 Nov 11:11
180c6d8
Compare
Choose a tag to compare

Added

  • Support to ESM

Changed

  • Full refactor! All methods has been replaced to a more clear API

Removed

  • Deprecate NodeJS v12 in favour of ESM (and required by Mocha 10 - package development)

0.8.0

16 Nov 08:10
388f7a6
Compare
Choose a tag to compare

Fixed

  • Prevent adding more AND filters when name and value are same as one of the presents

Added

  • Replacing filters with values method replaceFilter(key, oldValue, newValue) (useful when using multiple AND filters with same name)
  • Replace all filters with specified value method replaceAllFilters(key, value)