Skip to content

[refactor] upgrade-to-riverpod-v3#4

Open
GabrielSousa02 wants to merge 7 commits intomainfrom
refactor/upgrade-to-riverpod-v3
Open

[refactor] upgrade-to-riverpod-v3#4
GabrielSousa02 wants to merge 7 commits intomainfrom
refactor/upgrade-to-riverpod-v3

Conversation

@GabrielSousa02
Copy link
Collaborator

@GabrielSousa02 GabrielSousa02 commented Mar 23, 2026

What?

Upgraded Riverpod to v3

  • build: update riverpod to v3
  • feat: update code to use riverpod v3 APIs
  • buil: update iOS build files
  • test: update tests to pass with riverpod v3
  • dev: add fvmrc to lock flutter version for development

Why?

This was one of the obstacles to upgrade all app dependencies.

How?

Revised the APIs being used from the v2 code, and upgraded to v3 APIs

Testing?

Test suite upgraded and passing locally

Screenshots (optional)

Anything Else?

EDIT: There was an edge case detected with the _calculateMemoryUsage() function, where the final value would NOT be system agnostic, since it was including directories in the calculation. the commit 9a4162e , changed that.

This commit makes the total file size to be system agnostic.
Changing the function to calculate only when the etity is a FILE, this
will prevent misscalculations to happen by adding DIRs to the sum, once
a DIR size varies based on the OS.
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.

1 participant