Skip to content

Latest commit

 

History

History
193 lines (95 loc) · 7.3 KB

CHANGELOG.md

File metadata and controls

193 lines (95 loc) · 7.3 KB

6.0.3 (2024-05-27)

⚠ BREAKING CHANGES

  • fetchx removed, fetchr now resolves to the raw response if there is no content headers match.

Code Refactoring

6.0.2 (2024-02-03)

6.0.1 (2024-01-09)

⚠ BREAKING CHANGES

  • CHANGE: match function removed, prefer to use Result/Option instance methods match and match_async instead.
  • CHANGE: Box removed, not necessary in TS.

Code Refactoring

6.0.0 (2023-11-21)

⚠ BREAKING CHANGES

  • box: CHANGE: map signature/functionality replaced with map_mut. Use constructor with the result instead if new Box instances are needed after map.

Bug Fixes

  • box: replace map w/ map_mut (f3b106b)

5.1.0 (2023-11-18)

Features

  • create Box implementation (db7662c)

5.0.0 (2023-11-11)

⚠ BREAKING CHANGES

  • result,option: CHANGE: Result.ok fallback arg removed.

Features

  • result,option: add async support (609533e)

4.2.1 (2023-10-24)

4.2.0 (2023-10-21)

Features

  • result: create method ok (b501823)

4.1.5 (2023-10-17)

4.1.4 (2023-10-12)

4.1.3 (2023-10-10)

4.1.2 (2023-10-03)

4.1.1 (2023-09-25)

4.1.0 (2023-09-15)

Features

  • option: create method some (61ed5ec)

4.0.0 (2023-09-12)

⚠ BREAKING CHANGES

  • CHANGE: _then/_else methods removed, functionality combined with their value variants (e.g. and_then->and).
  • CHANGE: if_let removed, prefer to use match or x.and_then(v => /** do something with v */) instead.

Features

3.0.2 (2023-09-07)

3.0.1 (2023-08-26)

3.0.0 (2023-07-10)

⚠ BREAKING CHANGES

  • if_let: CHANGE: Result.if_let removed, result matching removed in if_let.

Features

  • if_let: rm matching over results (c984f77)

2.3.3 (2023-07-10)

2.3.2 (2023-05-28)

Bug Fixes

  • fetch: add error generics (67dd729)
  • fetch: handle formData/arrayBuffer content types (35dde1d)

2.3.1 (2023-05-28)

Bug Fixes

  • fetch: add generics for response data (b8e5ee2)
  • lib: missing fetchx export (151e529)

2.3.0 (2023-05-22)

Features

  • lib: create fetch wrapper (e68230f)

2.2.0 (2023-03-20)

Features

2.1.0 (2023-03-17)

Features

  • create standalone match function (20f7e49)
  • create type guards for Result & Option (63d05df)

2.0.0 (2023-03-15)

⚠ BREAKING CHANGES

  • CHANGE: Variant class exports replaced with wrapper functions.

Features

  • create constructor wrapper functions (b3b4845)

Bug Fixes

  • remove helper type exports (02c067e)

1.1.0 (2023-03-15)

Features

Bug Fixes

  • result: various doc/type fixes, remove clone (61c1da8)

1.0.2 (2023-03-14)

Bug Fixes

1.0.1 (2023-03-14)

Bug Fixes

  • result: mising generic U in and method for Result value type (2f132d0)
  • result: remove unchecked methods (7754237)

1.0.0 (2023-03-13)

Features

  • functions: create match (1555b58)
  • create Result class (4a2181a)
  • result: update impl separate classes (03af0ad)