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

refactor: fromVersion -> currentVersion #8709

Merged
merged 2 commits into from
Feb 16, 2021
Merged

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented Feb 16, 2021

Changes:

Migrates fromVersion to currentVersion to better align with currentValue.

Context:

One more step to consolidate internal field naming.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please tick one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added unit tests, or
  • No new tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@rarkins rarkins requested a review from viceice February 16, 2021 09:11
@@ -87,6 +87,15 @@ export function getCache(): Cache {
cache = cache || Object.create({});
delete cache.init;
cache.scan = cache.scan || Object.create({});
for (const branch of cache.branches || []) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe time to start using cache versioning so that we know when to migrate it?

@rarkins
Copy link
Collaborator Author

rarkins commented Feb 16, 2021

newVersion / toVersion migration to come later - it's more complicated

@rarkins rarkins merged commit a8819c4 into master Feb 16, 2021
@rarkins rarkins deleted the refactor/current-version branch February 16, 2021 09:52
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 24.52.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants