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 imgur to v2 #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 7, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
imgur ^0.3.0 -> ^2.0.0 age adoption passing confidence

Release Notes

keneucker/imgur

v2.2.0

Compare Source

Features
  • createalbum: adds the createAlbum method for creating new albums (4834011)

v2.1.4

Compare Source

Bug Fixes
  • license: licensed under the GNU Affero GPL (e8aa619)
  • update,upload: removes the support for array payloads and resolves issues with updateImage (51db842)

v2.1.3

Compare Source

Bug Fixes
  • upload: removes the console log from the upload method (dec56dc)
  • utils: resolves issues with error return success values always being true (11482d0)

v2.1.2

Compare Source

Bug Fixes
  • version: updates the version number (ea14efb)

v2.1.0

Compare Source

Features
  • src: adds rapid api support using new fields: rapidApiKey and rapidApiHost (8258321)

v2.0.3

Compare Source

Bug Fixes
  • utils: resolves issues with the response of errored requests (1010a10)

v2.0.2

Compare Source

Bug Fixes
  • src: now supports the use of a refresh token to obtain an access token (6d99e6d)

v2.0.1

Compare Source

Bug Fixes
  • client: fixes the issue of formData.getHeader not being available in the browser (ad6a684)
  • example: adds an example for nodejs uploads (e000bc2)
  • example: adds example code for the browser and cleans up the compilation configuration (07911ce)
  • src: resolves issues with uploads in the browser (d0d2867)
  • utils: removes fix from previous PR, which is unnecessary (d168e73)

v2.0.0

Compare Source

Bug Fixes
  • dependencies: updates all packages (c1cc9b0)
  • src: now properly handling errors with axios requests (3d40d05)
chore
BREAKING CHANGES
  • imgur 2.0.0

v1.0.2

Compare Source

v1.0.1

Compare Source

Bug Fixes
  • build: updates scripts and some names (56443a3)

v1.0.0

Compare Source

Bug Fixes
  • removes references to next branch (adf12d9)
  • _imgurrequest: fix logical check for credits/search (bb1c8ba), closes #​59
  • authorize.ts: adds eslint ignore for an explicit any in the test mock for authorization (f4ec54b)
  • scripts: updates to scripts (9340c2e)
  • search: fix json response (333aadd)
  • searchgallery: make searchGallery method accessible from client (08dd33f)
  • src/image: resolves issues with uploads by adding form.getHeaders when sending formData w/axios (a3c5a53)
  • utils: resolves issue with url uploads (bbaa974)
  • fix authorization flow (7959f3c)
  • fix cli utility and incorrect references to .data (5862a76)
  • fix types (a8deffe)
Code Refactoring
  • src: replaces got with axios, package is now compatible with both the browser and nodejs (a239e38)
  • initial impl of ImgurClient class (1609940)
  • authorization: remove built-in authorization flow (f7610ff), closes #​115
Features
  • album: add getAlbum (00bb0bd)
  • add deleteImage (0488d7b)
  • add favoriteImage (251a970)
  • add getGallery() (35dcad6)
  • add getSubredditGallery() (c72abcb)
  • add searchGallery() (3f058ed)
  • add updateImage (5a767c7)
  • initial reimplementation of the upload method (eeba909)
  • favoriteimage: adds functionality to favorite an image (48ba7b0)
  • getgalleryinfo: added a new method getGalleryInfo for retrieving gallery information (2ad7f51)
  • getgalleryinfo: added tests and handler mocks for getGalleryInfo (c6ee364)
  • setaccesstoken: adding a new method setAccessToken to set the access token externally (a5ac3d2)
  • updateinfo: added the updateInfo method and included a new test file for this method (42e71f2)
  • updateinfo: addressing requested changes for #​112, added code for update operation (49dcf0f)
Reverts
  • Revert "refactor(authorization): remove built-in authorization flow" (6cd8643)

  • refactor!: remove globbing from uploadFile (f09f017)

BREAKING CHANGES
  • src: The package can no longer be used with string path variables pointing to local
    files. This moves a single line of code, using fs.createReadStream, out of the project and places
    that responsibility on the consumer. The package now supports streams in favor of the string
    filepath upload.
  • ImgurClient class replaces imgur object
  • authorization: Imgur no longer supports the Resource Owner Password Credentials Grant type,
    so the outdated (i.e., broken) code that requires your username and password has been removed.
    You must now manage the Authorization Code Grant type flow yourself to obtain an access token
    via server redirect/callback and then provide it to this module via setAccessToken
  • uploadFile no longer accepts a glob pattern. It now
    accepts either a single image path or an array of image paths. If you
    must glob, do it yourself and then pass in the array. This removes an
    unnecessary complexity from the most important method.

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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