vknabel/Finite breaking changes

swift

7 curated breaking changes across major versions of vknabel/Finite. Use this as a migration checklist before bumping dependencies.

7
changes
Breaking changes by transition
  • 3.1.1 \u2192 4.0.0breaking

    Previously passing `Transition.nilTransition` to `StateMachine.onTransitions(like:perform:)` did never trigger the `perform` handler and was therefore useless. Now it will always be triggered.

  • 2.0.0 \u2192 3.0.0breaking

    Dropped Swift 2.2 and 2.3 support - @vknabel

  • 1.1.0 \u2192 2.0.0breaking

    Renamed Project from `StateMachine` to `Finite` - @vknabel

  • 1.1.0 \u2192 2.0.0breaking

    Renamed `StateMachine.triggerTransition(to:)` to `StateMachine.transition(to:)` - @vknabel

  • 1.1.0 \u2192 2.0.0breaking

    `StateMachine.transition(to:)` throws `TransitionError` and rethrows - @vknabel

  • 1.1.0 \u2192 2.0.0breaking

    `Operation`s may now throw - @vknabel

  • 1.1.0 \u2192 2.0.0breaking

    Added `TransitionError` - @vknabel

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/swift/vknabel/Finite
vknabel/Finite breaking changes — Swift migration guide | DepScope