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

tus: remove autoRetry option #2938

Merged
merged 1 commit into from
Jun 17, 2021
Merged

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Jun 16, 2021

No description provided.

}).toThrowError(/The `autoRetry` option was deprecated and has been removed/)
})

it('Throws errors if autoRetry option is `undefined`', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

It’s probably not hurting, but not sure we need tests for a deprecation warning, since we’ll remove it in the future :) Not a problem, just thinking out loud about how we should approach this in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My thinking was having tests would help with the code review, I agree such tests doesn't bring a lot of value. Do you want me to remove them?

Copy link
Member

Choose a reason for hiding this comment

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

We can keep them since they are already made but perhaps choose not to make tests like this again for deprecation warnings in the future

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep, agreed!

@arturi arturi merged commit 62a722b into transloadit:2.0 Jun 17, 2021
@aduh95 aduh95 deleted the tux-auto-retry-byebye branch June 17, 2021 12:14
Murderlon added a commit that referenced this pull request Jul 8, 2021
* 2.0:
  tus: remove `autoRetry` option (#2938)
  dashboard: set default trigger: null (#2942)
  locales: remove es_GL that was kept for backwards-compat (#2943)
  xhr: change default name depending on whether `bundle` is set (#2933)
  Upgrade Preact to latest (#2926)
  temporarily add cheerio-select-tmp to devDependencies to fix tests
  #2920 fixed standalone server to initiate itself on explicit function… (#2924)
  Update BACKLOG.md
  Google drive shortcuts (#2917)
  Update BACKLOG.md
  Allowed HTML Attributes to be passed via props (#2891)
  Expose drag-drop events (#2914)
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.

3 participants