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

Update dependency react-toastify to v9.1.3 #205

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 17, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-toastify 9.0.5 -> 9.1.3 age adoption passing confidence

Release Notes

fkhadra/react-toastify (react-toastify)

v9.1.3

Compare Source

Release note

  • Add support for RSC (next app router): #​951
  • Partially address Toast is undefined || Uncaught TypeError: Cannot read properties of undefined (reading 'content') #​858 #​952
  • Bump dependencies

v9.1.2

Compare Source

Release notes

Mainly bug fixes as I'm working on the next major release.

🕷Bugfixes

v9.1.1

Compare Source

v9.1.0

Compare Source

Release notes

🚀 Features

  • toast.promise let you type data for each state. This is useful when rendering something based on the response.

For example:

interface Success {
  username: string
}

interface Error {
  err: string
}

toast.promise<Success,Error>(myPromise, {
  success: {
    render({ data }) {
      return data.username;
    }
  },
  error: {
    render({ data }) {
      return data.err;
    }
  }
})
  • toast.update accepts a generic as well to specify the data type
interface TData {
  username: string
}

toast.update<TData>(id, {
  data: payload,
  render({ data }) {
    return `hello ${data.username}`
  }
})

🕷 Bugfixes

  • fix progress countdown stops on mobile #​580
  • prevent clash with ios native gesture #​397
  • fix toast when a word is too long #​864
  • fix missing types declarations in exports #​843
  • fix toast.done not dismissing toast #​853
  • fix cursor when close on click is false #​839

🚨 Deprecated API

Added deprecation notice for the API below. They will be removed in the next major release

API Why Alternative
onClick Not used that much, it's increasing the API surface for nothing Can easily be implemented in userland. Just render a react component and attach the handler to it. toast(<div onClick={doSomething}>hello</div>)
onOpen Does not play well with useEffect behavior in react18 (runs twice in dev mode) see #​741 A better approach is to use toast.onChange see https://fkhadra.github.io/react-toastify/listen-for-changes/
onClose Does not play well with useEffect behavior in react18 (runs twice in dev mode) see #​741 A better approach is to use toast.onChange see https://fkhadra.github.io/react-toastify/listen-for-changes/
toast.POSITION Reduce bundle size :) Thanks to typescript, we now have autocomplete
toast.TYPE Reduce bundle size :) Thanks to typescript, we now have autocomplete

⚙️ Chore

  • bump dependencies
  • refactor internal

v9.0.8

Compare Source

Release notes

🐞Bugfixes

  • fix draggable in strict mode #​752
  • fix sass import #​771
  • fix progress bar overflow for WebKit browser(safari, ios...) #​791
  • fix dismissed toasts while the container is unmounted still appear when the container is mounted #​811
  • fix AutoClose doesn't work on update #​810 #​782 #​720

Chore

  • master branch renamed to main 💖

v9.0.7

Compare Source

Release note

Bugfix

Chore

  • build artifacts are no longer minified. This was causing issues with some bundlers like vitejs #​797

v9.0.6

Compare Source

Release note

Bugfix

  • fix missing generic in useNotificationCenter typing #​796

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Jul 17, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lukeandjadi-com ❌ Failed (Inspect) May 28, 2023 9:36am

@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2022

🍹 preview on dev

Pulumi report
Previewing update (dev)

View Live: https://app.pulumi.com/LukeShay/lukeandjadi.com/dev/previews/eebd6eef-7c52-46ab-9e1a-67820e8b4a84


pulumi:pulumi:Stack lukeandjadi.com-dev running 
cloudflare:index:Record zoho  
cloudflare:index:Record checkly  
cloudflare:index:Record clerk-domain-key-two  
cloudflare:index:Record clerk-mail  
cloudflare:index:PageRule www-redirect  
cloudflare:index:Record vercel  
cloudflare:index:Record clerk-domain-key-one  
cloudflare:index:Record zoho-verification  
cloudflare:index:Record zoho2  
cloudflare:index:Record zoho3  
cloudflare:index:Record clerk-accounts  
cloudflare:index:Record zoho-spf  
cloudflare:index:Record clerk-frontend-api  
pulumi:pulumi:Stack lukeandjadi.com-dev  

Resources:
14 unchanged


@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2022

🍹 preview on prod

Pulumi report
Previewing update (prod)

View Live: https://app.pulumi.com/LukeShay/lukeandjadi.com/prod/previews/2ffc95c1-ca2f-44ca-a201-fc917c19c030


pulumi:pulumi:Stack lukeandjadi.com-prod running 
cloudflare:index:Record zoho3  [diff: ~provider]
cloudflare:index:Record clerk-mail  [diff: ~provider]
cloudflare:index:Record zoho-spf  [diff: ~provider]
cloudflare:index:Record clerk-accounts  [diff: ~provider]
cloudflare:index:PageRule www-redirect  [diff: ~actions,provider]
cloudflare:index:Record vercel  [diff: ~provider]
cloudflare:index:Record checkly  [diff: ~provider]
cloudflare:index:Record zoho  [diff: ~provider]
cloudflare:index:Record zoho2  [diff: ~provider]
cloudflare:index:Record clerk-frontend-api  [diff: ~provider]
cloudflare:index:Record zoho-verification  [diff: ~provider]
cloudflare:index:Record clerk-domain-key-two  [diff: ~provider]
cloudflare:index:Record clerk-domain-key-one  [diff: ~provider]
pulumi:pulumi:Stack lukeandjadi.com-prod  

Resources:
14 unchanged


@renovate renovate bot force-pushed the renovate/react-toastify-9.x branch from 7c80eaa to d5881cc Compare July 19, 2022 10:15
@renovate renovate bot changed the title Update dependency react-toastify to v9.0.6 Update dependency react-toastify to v9.0.7 Jul 19, 2022
@renovate renovate bot force-pushed the renovate/react-toastify-9.x branch from d5881cc to 18a08ec Compare August 7, 2022 09:33
@renovate renovate bot changed the title Update dependency react-toastify to v9.0.7 Update dependency react-toastify to v9.0.8 Aug 7, 2022
@renovate renovate bot force-pushed the renovate/react-toastify-9.x branch from 18a08ec to b1a6679 Compare November 20, 2022 09:44
@renovate renovate bot changed the title Update dependency react-toastify to v9.0.8 Update dependency react-toastify to v9.1.1 Nov 20, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2022

🍹 preview on lukeandjadi.com/dev

Pulumi report
Previewing update (dev)

View Live: https://app.pulumi.com/LukeShay/lukeandjadi.com/dev/previews/904bab7d-9913-4a2e-b63f-a765e2c64ad2


@ Previewing update....
pulumi:pulumi:Stack lukeandjadi.com-dev running 
@ Previewing update.....
cloudflare:index:Record clerk-domain-key-two  
cloudflare:index:Record clerk-domain-key-one  
cloudflare:index:Record clerk-mail  
cloudflare:index:PageRule www-redirect  
cloudflare:index:Record vercel  
cloudflare:index:Record checkly  
cloudflare:index:Record zoho  
cloudflare:index:Record zoho2  
cloudflare:index:Record zoho3  
cloudflare:index:Record zoho-verification  
cloudflare:index:Record zoho-spf  
cloudflare:index:Record clerk-accounts  
cloudflare:index:Record clerk-frontend-api  
pulumi:pulumi:Stack lukeandjadi.com-dev  

Resources:
14 unchanged

@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2022

🍹 preview on lukeandjadi.com/prod

Pulumi report
Previewing update (prod)

View Live: https://app.pulumi.com/LukeShay/lukeandjadi.com/prod/previews/329b728f-f739-4f95-8952-915e80439ba7

@ Previewing update....

@ Previewing update....
pulumi:pulumi:Stack lukeandjadi.com-prod running 
@ Previewing update.....
cloudflare:index:Record vercel  [diff: ~provider]
cloudflare:index:Record clerk-accounts  [diff: ~provider]
cloudflare:index:Record checkly  [diff: ~provider]
cloudflare:index:Record clerk-frontend-api  [diff: ~provider]
cloudflare:index:Record zoho  [diff: ~provider]
cloudflare:index:Record clerk-domain-key-one  [diff: ~provider]
cloudflare:index:Record zoho2  [diff: ~provider]
cloudflare:index:Record clerk-domain-key-two  [diff: ~provider]
cloudflare:index:Record zoho3  [diff: ~provider]
cloudflare:index:Record clerk-mail  [diff: ~provider]
cloudflare:index:Record zoho-verification  [diff: ~provider]
cloudflare:index:PageRule www-redirect  [diff: ~actions,provider]
cloudflare:index:Record zoho-spf  [diff: ~provider]
pulumi:pulumi:Stack lukeandjadi.com-prod  

Resources:
14 unchanged

@renovate renovate bot changed the title Update dependency react-toastify to v9.1.1 Update dependency react-toastify to v9.1.2 Mar 21, 2023
@renovate renovate bot force-pushed the renovate/react-toastify-9.x branch from b1a6679 to 1052af6 Compare March 21, 2023 21:14
@renovate renovate bot changed the title Update dependency react-toastify to v9.1.2 Update dependency react-toastify to v9.1.3 May 28, 2023
@renovate renovate bot force-pushed the renovate/react-toastify-9.x branch from 1052af6 to 9793d86 Compare May 28, 2023 09:34
@lukeshay lukeshay closed this Jan 2, 2025
Copy link
Contributor Author

renovate bot commented Jan 2, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (9.1.3). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/react-toastify-9.x branch January 2, 2025 15:36
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