Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Candidate 3.0.0 #40

Merged
merged 13 commits into from
May 10, 2024
Merged

Release Candidate 3.0.0 #40

merged 13 commits into from
May 10, 2024

Conversation

ns-vasilev
Copy link
Member

No description provided.

ns-vasilev and others added 13 commits February 20, 2024 08:55
* Update the documentation

* Update `README.md`

* Update `CHANGELOG.md`
* Implement switching to the main thread

* Update `CHANGELOG.md`
* Implement asynchronous transaction completion

* Update `CHANGELOG.md`

* Implement test cases
* Fix handling of cancelling operations

* Update `CHANGELOG.md`
* Create `FlareUI` library

* Implement both `SubscriptionsView` & `ProductsView`

* Implement a user interface for products

* Implement fetching & purchasing storekit product via `ProductView`

* Implement an appearing & disappearing animation

* Fix UI elements

* Implement displaying product's icon

* Implement updaing view with animation

* Remove the example app

* Add code comments

* Create a test target for `FlareUI` library

* Update `SwiftLint` action

* Implement `upload_test_coverage_report.yml`

* Update `workflows`

* Implement `build_and_test` action

* Implement test cases for `ProductView`

- Create the shared `FlareMock` package
- Implement snapshot tests
- Implement unit tests

* Implement test cases for `ProductsView`

* Implement store buttons

- Implement the `restore` button

* Implement various product styles

* Update the logic for generating `swiftgen` files

* Displaying an error alert when restoring purchases

* Displaying a subscription duration next to the price

* Implement the display of a placeholder icon

* Implement tests

* Update tests

* Implement passing parameters to a view

- Implement `onInAppPurchaseCompletion` to handle the completion of a purchase.
- Implement `inAppPurchaseOptions` to pass additional parameters for a purchase.

* Update the `FlareUITests` target's configuration

* Update `CHANGELOG.md`

* Create a test plan for snapshot testing

* Update the snapshot tests

* Implement the snapshot tests target

* Refactor the finish transaction logic

* Implement `compact` & `large` product style for iOS

* Make the `large` and `compact` product styles public

* Remove unnecessary test cases for specific platforms

* Implement passing assemblies using `environment`

* Fix displaying price for compact product style

* Make `ProductView` & `ProductsView` public

* Implement wrappers in `UIKit` for `ProductView` & `ProductsView`

* Implement UIKit wrappers for `tvOS` and `macOS`

* Add Russian localization

* Implement the passing of view styles to UIKit wrappers

* Implement scrolling for products

* Implement sorting for fetched products

* Implement the `loading` & `error` state for `SubscriptionsView`

* Implement customization of subscription item styles

* Update the footer view

* Implement passing tint colors

* Implement the creation of marketing content for the subscription view

* Implement settings background for subscription view

* Implement constast text

* Implement the formatting of a subscription price

* Implement bold button style

* Implement `Privacy Policy` & `Terms of Service` buttons

* Fix tests

* Temp commit

* Refactor `SubscriptionsWrapperView`

* Update `CardButtonSubscriptionStoreControlStyle`

* Implement `PoliciesButtonStyle`

* Update the `CardButtonSubscriptionStoreControlView` style

* Add `MARK`

* Implement auto-detection of active subscriptions

* Implement `SubscriptionStatusVerifierProvider`

* Fix building `Flare` for macOS

* Implement displaying a header for tvOS

* Implement the `SubscriptionsViewController` wrapper

* Implement `SubscriptionsPresenterTests`

* Fix typos

* Fixing the project build for Xcode 14

* Disable support for `watchOS`

* Implement snapshot tests

* Fix project building

* Fix tests
* Update `dependabot.yml`

* Update `CHANGELOG.md`
…6.0 (#32)

Bumps [github.com/pointfreeco/swift-snapshot-testing](https://github.com/pointfreeco/swift-snapshot-testing) from 1.15.3 to 1.16.0.
- [Release notes](https://github.com/pointfreeco/swift-snapshot-testing/releases)
- [Commits](pointfreeco/swift-snapshot-testing@1.15.3...1.16.0)

---
updated-dependencies:
- dependency-name: github.com/pointfreeco/swift-snapshot-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](actions/upload-pages-artifact@v1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 4.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](actions/deploy-pages@v1...v4)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Implement the `publish-pages.yml` action

* Update `publish_pages`

* Update `DocC Plugin`

* Generate docs

* Add code comments

* Update `publish_pages`

* Update worflows

* Delete useless files

* Update worflows

* Update worflows

* Update worflows

* Update worflows

* Update `CHANGELOG.md`

* Update worflows

* Update workflows

* Add documentation for `SubscriptionsView`

* Add documentation for `ProductView` & `ProductsView`

* Add documentation for `SubscriptionsViewController`

* Add documentation for `ProductViewController`

* Add documentation for `ProductsViewController`

* Make view controllers visible for macOS

* Add documentation

* Add `FlareUI.docc`

* Update docs

* Update `publish-pages.yml`

* Update docs

* Update `README.md`

* Fix warnings

* Add screenshots

* Fix build errors

* Fix typos
@ns-vasilev ns-vasilev self-assigned this May 10, 2024
@spacecode-github-bot
Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

Copy link

codecov bot commented May 10, 2024

Codecov Report

Attention: Patch coverage is 52.90079% with 1372 lines in your changes are missing coverage. Please review.

Project coverage is 61.11%. Comparing base (a120b99) to head (7c200dd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #40       +/-   ##
===========================================
- Coverage   79.32%   61.11%   -18.20%     
===========================================
  Files          50      220      +170     
  Lines        1726     4706     +2980     
===========================================
+ Hits         1369     2876     +1507     
- Misses        357     1830     +1473     
Files Coverage Δ
Sources/Flare/Classes/Common/Logger.swift 89.47% <100.00%> (+0.28%) ⬆️
Sources/Flare/Classes/DI/FlareDependencies.swift 100.00% <100.00%> (ø)
...ces/Flare/Classes/Helpers/Async/AsyncHandler.swift 100.00% <100.00%> (ø)
Sources/Flare/Classes/IFlare.swift 100.00% <ø> (ø)
...e/Classes/Providers/IAPProvider/IIAPProvider.swift 25.00% <ø> (ø)
...erDecorator/CachingProductsProviderDecorator.swift 96.30% <100.00%> (ø)
...es/Providers/ProductProvider/ProductProvider.swift 82.61% <100.00%> (ø)
...Providers/PurchaseProvider/IPurchaseProvider.swift 50.00% <ø> (ø)
.../Classes/Core/EnvironmentKey/AnyProductStyle.swift 100.00% <100.00%> (ø)
...e/EnvironmentKey/AnySubscriptionControlStyle.swift 100.00% <100.00%> (ø)
... and 175 more

... and 6 files with indirect coverage changes

@ns-vasilev ns-vasilev merged commit 34fa77b into main May 10, 2024
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants