# Simply fork the Spinner package and change its Rainbow dependency to 4.0.0 newest major version, now get Spinner type func not found but those func's are definitely there

**URL:** <https://forums.swift.org/t/simply-fork-the-spinner-package-and-change-its-rainbow-dependency-to-4-0-0-newest-major-version-now-get-spinner-type-func-not-found-but-those-funcs-are-definitely-there/68080>\
**Category:** Using Swift\
**Created:** [October 26, 2023, 6:20am UTC](https://forums.swift.org/t/simply-fork-the-spinner-package-and-change-its-rainbow-dependency-to-4-0-0-newest-major-version-now-get-spinner-type-func-not-found-but-those-funcs-are-definitely-there/68080 "2023-10-26T06:20:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Diggory](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/diggory/32/4320_2.png) [@Diggory](https://forums.swift.org/u/Diggory)\
**Post date:** [October 26, 2023, 7:04am UTC](https://forums.swift.org/t/simply-fork-the-spinner-package-and-change-its-rainbow-dependency-to-4-0-0-newest-major-version-now-get-spinner-type-func-not-found-but-those-funcs-are-definitely-there/68080/2 "2023-10-26T07:04:05Z")

</div>

For context, this is a continuation of the [other thread here](https://forums.swift.org/t/what-s-the-right-way-to-create-a-command-line-tool-using-argumentparser-swift-package-or-xcode-create-mac-command-line-tool-project/68050/7)

To be fair, I never used the word 'simply'!

Major changes in version of packages mean that the API has breaking changes. See [Semantic Versioning](https://semver.org). You have changed from Spinner v1.x to v2.x

You can see from the release notes in Spinner v2 that `text` has has been changed to `message`.

> **[Release 2.0.0 · dominicegginton/spinner](https://github.com/dominicegginton/spinner/releases/tag/2.0.0)**
>
> Breaking Chnages
> 
> Spinner.pattern is now Spinner.animation
> Spinner.text is now Spinner.message
> Spinner.succeed() is now Spinner.success()
> Spinner.failure() is now Spinner.error()
> Spinner.informatio...

The `updateText()` function has therefore been removed from Spinner in v2

It looks as if after v2 there is instead a `message()` function to alter the message property:

> <https://github.com/dominicegginton/spinner/blob/2.0.0/Sources/Spinner/Spinner.swift#L136C17-L136C24>

Similarly - you also need to change `succeed()` to `success()` and `error()` to `failure()`

---

_[View the full topic](https://forums.swift.org/t/simply-fork-the-spinner-package-and-change-its-rainbow-dependency-to-4-0-0-newest-major-version-now-get-spinner-type-func-not-found-but-those-funcs-are-definitely-there/68080)._
