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

Drop experimental timers #3838

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Drop experimental timers #3838

wants to merge 2 commits into from

Conversation

mstoykov
Copy link
Collaborator

What?

Drop k6/experimental/timers

Why?

We have stabilized the API and it is now available for k6/timers for some time. We would like to stop supporting the old import path.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

@mstoykov mstoykov added this to the v0.54.0 milestone Jul 11, 2024
@mstoykov mstoykov requested a review from a team as a code owner July 11, 2024 13:55
@mstoykov mstoykov requested review from olegbespalov and joanlopez and removed request for a team July 11, 2024 13:55
@mstoykov mstoykov changed the base branch from master to timersDeprecationWarningUpdate July 11, 2024 13:55
@mstoykov mstoykov added the breaking change for PRs that need to be mentioned in the breaking changes section of the release notes label Jul 11, 2024
joanlopez
joanlopez previously approved these changes Jul 11, 2024
Base automatically changed from timersDeprecationWarningUpdate to master July 11, 2024 14:31
@mstoykov mstoykov dismissed joanlopez’s stale review July 11, 2024 14:31

The base branch was changed.

" which will be removed after September 23rd, 2024(v0.54.0). Ensure your scripts are migrated by then."+
" There are no API changes, so this is a drop in replacement."),
"k6/experimental/timers": newRemovedModule(
"k6/experimental/timers has been graduated, please use k6/timers instead."),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Aren't timers globally available? 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm ... yeah I guess we can just recommend people to use that instead 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To be honest I mostly opened this so we don't forget to remove them again :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yep, I got that. I should write this in #3837 (comment) earlier, sorry for that 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change for PRs that need to be mentioned in the breaking changes section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants