---
title: "github.com/thomvis/brightfutures 4.0.0 Breaking Changes"
description: "What each github.com/thomvis/brightfutures release removed, renamed or changed: 17 breaking changes in 7 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/thomvis/brightfutures
last_updated: 2026-12-04
---

# github.com/thomvis/brightfutures breaking changes

github.com/thomvis/brightfutures 4.0.0 is its newest release with breaking changes, 2 of them. The first: Removed NoError. Every breaking API change we have recorded in github.com/thomvis/brightfutures on Swift Package Index: 17 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.2.0`, released July 2, 2022. [Source repository](https://github.com/Thomvis/BrightFutures)

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 4 breaking changes in 3 versions.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 13 breaking changes in 6 versions.

## github.com/thomvis/brightfutures 4.0.0 breaking changes

github.com/thomvis/brightfutures 4.0.0: 2 breaking changes.

- **Removed** `NoError`  

BrightFutures no longer provides NoError. Use Result's NoError instead. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v4.0.0)
- **Behavior changed** `SequenceType.fold`  

After a certain number of items, fold performs an asynchronous call, so results of fold, traverse and sequence may arrive asynchronously. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v4.0.0)

## github.com/thomvis/brightfutures 4.0.0-beta.2 breaking changes

github.com/thomvis/brightfutures 4.0.0-beta.2: 1 breaking change.

- **Behavior changed** `SequenceType.fold`  

After a certain number of items, fold performs an asynchronous call, so results of fold, traverse and sequence may arrive asynchronously. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v4.0.0-beta.2)

## github.com/thomvis/brightfutures 4.0.0-beta.1 breaking changes

github.com/thomvis/brightfutures 4.0.0-beta.1: 1 breaking change.

- **Removed** `NoError`  

BrightFutures no longer provides NoError. Use Result's NoError instead and add import Result in files that use it. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v4.0.0-beta.1)

## github.com/thomvis/brightfutures 3.0.0 breaking changes

github.com/thomvis/brightfutures 3.0.0: 6 breaking changes.

- **Removed** `Box`  

Success values and failure errors are no longer wrapped in a Box, so code that unwrapped Box values must be updated. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0)
- **Behavior changed** `Future`  

Completion handlers no longer retain the future, so a future with no references is deallocated even if it has handlers. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0)
- **Signature changed** `flatten`  

flatten is now a method on the Future itself rather than a free function that takes a Future. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0)
- **Signature changed** `Future`  

The parameter name context: should be omitted when passing an execution context to functions on Future. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0)
- **Signature changed** `promoteError`  

promoteError is now a method on the Future itself rather than a free function that takes a Future. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0)
- **Signature changed** `promoteValue`  

promoteValue is now a method on the Future itself rather than a free function that takes a Future. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0)

## github.com/thomvis/brightfutures 3.0.0-beta.3 breaking changes

github.com/thomvis/brightfutures 3.0.0-beta.3: 2 breaking changes.

- **Removed** `Future.failed`  

Static methods such as Future.failed were replaced with initializers, so code calling the static methods must switch to initializers. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0-beta.3)
- **Signature changed** `flatten`  

Free function flatten(f) became a method, so callers must use f.flatten() instead. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0-beta.3)

## github.com/thomvis/brightfutures 3.0.0-beta.1 breaking changes

github.com/thomvis/brightfutures 3.0.0-beta.1: 1 breaking change.

- **Removed** `ErrorType`  

The homegrown ErrorType was removed in favor of Swift 2's native ErrorType. Code that referenced the old type must use the native one. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v3.0.0-beta.1)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/thomvis/brightfutures 2.0.0 breaking changes

github.com/thomvis/brightfutures 2.0.0: 4 breaking changes.

- **Removed** `Box`  

The homegrown Result and Box types were replaced with types from Rob Rix's library. Code relying on the old types must be updated. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v2.0.0)
- **Removed** `Result`  

The homegrown Result and Box types were replaced with types from Rob Rix's library. Code relying on the old types must be updated. [github.com](https://github.com/Thomvis/BrightFutures/releases/tag/v2.0.0)

And 2 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
