Skip to content

Commit

Permalink
Upgrade guide for v0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Nov 1, 2023
1 parent 8a177b9 commit 6720a39
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/Website/docs/Upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@ title: Upgrade guide
subtitle: How to update a project for newer releases
---

## From v0.22 to v0.23

[See the 0.23 announcement.](https://fsbolero.io/blog/TODO-bolero-0-23-released)

* The signatures of the following server-side methods and their various overloads have changed:

* `IServiceCollection.AddBoleroHost`
* `IServiceCollection.AddBoleroRouting`
* `IEndpointRouteBuilder.MapFallbackToBolero`

The following changes are applied to them:

* Optional arguments are changed from F#-style to C#-style.
* Function arguments are changed from F#-style functions to C#-style `Func` or `Action`.

These changes are source-compatible for most use cases.

* Functions `on.stopPropagation` and `on.preventDefault` now take the event name without the `"on"` prefix.

## From v0.21 to v0.22

[See the 0.22 announcement.](https://fsbolero.io/blog/20230410-bolero-0-22-released)
Expand Down

0 comments on commit 6720a39

Please sign in to comment.