diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1e381e66..d25842f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,21 @@
+# v0.5.0 - 4 March 2023
+- Updates to `Option` type [#92](https://github.com/SandroMaglione/fpdart/pull/92) [⚠️ **BREAKING CHANGE**]
+ - Added `const factory` constructor for `None` (fixes [#95](https://github.com/SandroMaglione/fpdart/issues/95))
+ - Removed `Alt` and `Foldable` type classes, the following methods are not available anymore
+ - `foldLeft`
+ - `foldRight`
+ - `foldMap`
+ - `foldRightWithIndex`
+ - `foldLeftWithIndex`
+ - `length`
+ - `any`
+ - `all`
+ - `concatenate`
+ - `plus`
+ - `prepend`
+ - `append`
+- Updated examples and fixed lint warnings [#93](https://github.com/SandroMaglione/fpdart/pull/93) (thanks to [tim-smart](https://github.com/tim-smart) 🎉)
+
# v0.4.1 - 25 February 2023
- New methods for `Option` type (thanks to [tim-smart](https://github.com/tim-smart) 🎉)
- `flatMapNullable`
diff --git a/README.md b/README.md
index d6a65b44..3081d158 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
@@ -100,7 +100,7 @@ Check out also this series of articles about functional programming with `fpdart
```yaml
# pubspec.yaml
dependencies:
- fpdart: ^0.4.1 # Check out the latest version
+ fpdart: ^0.5.0 # Check out the latest version
```
## ✨ Examples
@@ -355,6 +355,7 @@ In general, **any contribution or feedback is welcome** (and encouraged!).
## 📃 Versioning
+- **v0.5.0** - 4 March 2023
- v0.4.1 - 25 February 2023
- **v0.4.0** - 16 December 2022
- **v0.3.0** - 11 October 2022
diff --git a/example/json_serializable/pubspec.lock b/example/json_serializable/pubspec.lock
index cf2f85ed..5e9f1fbb 100644
--- a/example/json_serializable/pubspec.lock
+++ b/example/json_serializable/pubspec.lock
@@ -183,7 +183,7 @@ packages:
path: "../.."
relative: true
source: path
- version: "0.4.1"
+ version: "0.5.0"
frontend_server_client:
dependency: transitive
description:
diff --git a/example/managing_imports/pubspec.lock b/example/managing_imports/pubspec.lock
index 6c13bd66..55aa8fd4 100644
--- a/example/managing_imports/pubspec.lock
+++ b/example/managing_imports/pubspec.lock
@@ -87,7 +87,7 @@ packages:
path: "../.."
relative: true
source: path
- version: "0.4.1"
+ version: "0.5.0"
frontend_server_client:
dependency: transitive
description:
diff --git a/example/open_meteo_api/pubspec.lock b/example/open_meteo_api/pubspec.lock
index 292fb69d..7c07b166 100644
--- a/example/open_meteo_api/pubspec.lock
+++ b/example/open_meteo_api/pubspec.lock
@@ -183,7 +183,7 @@ packages:
path: "../.."
relative: true
source: path
- version: "0.4.1"
+ version: "0.5.0"
frontend_server_client:
dependency: transitive
description:
diff --git a/example/pokeapi_functional/pubspec.lock b/example/pokeapi_functional/pubspec.lock
index 344e9c8a..80ed89b0 100644
--- a/example/pokeapi_functional/pubspec.lock
+++ b/example/pokeapi_functional/pubspec.lock
@@ -109,10 +109,10 @@ packages:
dependency: transitive
description:
name: characters
- sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
url: "https://pub.dev"
source: hosted
- version: "1.3.0"
+ version: "1.2.1"
checked_yaml:
dependency: transitive
description:
@@ -149,10 +149,10 @@ packages:
dependency: transitive
description:
name: collection
- sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
+ sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
url: "https://pub.dev"
source: hosted
- version: "1.17.1"
+ version: "1.17.0"
convert:
dependency: transitive
description:
@@ -233,7 +233,7 @@ packages:
path: "../.."
relative: true
source: path
- version: "0.4.1"
+ version: "0.5.0"
freezed:
dependency: "direct main"
description:
@@ -318,10 +318,10 @@ packages:
dependency: transitive
description:
name: js
- sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
+ sha256: "323b7c70073cccf6b9b8d8b334be418a3293cfb612a560dc2737160a37bf61bd"
url: "https://pub.dev"
source: hosted
- version: "0.6.7"
+ version: "0.6.6"
json_annotation:
dependency: transitive
description:
@@ -358,10 +358,10 @@ packages:
dependency: transitive
description:
name: meta
- sha256: "12307e7f0605ce3da64cf0db90e5fcab0869f3ca03f76be6bb2991ce0a55e82b"
+ sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
url: "https://pub.dev"
source: hosted
- version: "1.9.0"
+ version: "1.8.0"
mime:
dependency: transitive
description:
diff --git a/example/read_write_file/pubspec.lock b/example/read_write_file/pubspec.lock
index e91c889d..bffbf2b9 100644
--- a/example/read_write_file/pubspec.lock
+++ b/example/read_write_file/pubspec.lock
@@ -7,7 +7,7 @@ packages:
path: "../.."
relative: true
source: path
- version: "0.4.1"
+ version: "0.5.0"
lint:
dependency: "direct dev"
description:
diff --git a/pubspec.yaml b/pubspec.yaml
index 50076785..9bedd7ef 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: fpdart
-version: 0.4.1
+version: 0.5.0
homepage: https://www.sandromaglione.com/
repository: https://github.com/SandroMaglione/fpdart
description: Functional programming in Dart and Flutter. All the main functional programming types and patterns fully documented, tested, and with examples.