KazaKago/StoreFlowable.swift breaking changes

swift

8 curated breaking changes across major versions of KazaKago/StoreFlowable.swift. Use this as a migration checklist before bumping dependencies.

8
changes
Breaking changes by transition
  • 3.2.0 \u2192 4.0.0breaking

    Migrate to async/await by Swift Concurrency from Combine framework.

  • 3.2.0 \u2192 4.0.0breaking

    Set up StoreFlowable more easily than before. See the README Basic Usage for details. **Full Changelog**: https://github.com/KazaKago/StoreFlowable.swift/compare/3.2.0...4.0.0

  • 2.0.0 \u2192 3.1.0breaking

    No need to `key` variable in `StoreFlowableFactory` class.

  • 2.0.0 \u2192 3.1.0breaking

    Need to add parameter in `StoreFlowableFactory` class methods. Before ```swift struct UserFlowableFactory : StoreFlowableFactory { typealias KEY = UserId typealias DATA = UserData init(userId: UserId) { key = userId } let key: UserId func loadDataFromCache() -> AnyPublisher<UserData?, Never> { userCache.load(userId: key) } ... } let userFlowable = UserFlowableFactory(userId: UserId(100)).create() userFlowable.publish() ``` After ```swift struct UserFlowableFactory : StoreFlowableFactory { typeal

  • 1.1.0 \u2192 2.0.0breaking

    Rename LoadingState from State.

  • 1.1.0 \u2192 2.0.0breaking

    Rename PaginationStoreFlowable from PaginatingStoreFlowable.

  • 1.1.0 \u2192 2.0.0breaking

    Changed the method to be implemented in StoreFlowableFactory.

  • 1.1.0 \u2192 2.0.0breaking

    Removed methods that were deprecated in 1.x.

API access

Get this data programmatically \u2014 free, no authentication.

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