Skip to content

remove @uppy/instagram #6257

Open
qxprakash wants to merge 5 commits intotransloadit:mainfrom
qxprakash:fix/5455-remove-instagram-deprecated
Open

remove @uppy/instagram #6257
qxprakash wants to merge 5 commits intotransloadit:mainfrom
qxprakash:fix/5455-remove-instagram-deprecated

Conversation

@qxprakash
Copy link
Copy Markdown
Collaborator

closes #5455 , this PR removes all Instagram support from both the client and Companion server.

Removed:

  • Instagram from @uppy/remote-sources (src, package.json, keywords)
  • Instagram export from uppy bundle (bundle.ts, index.ts, package.json)
  • Companion Instagram OAuth provider (provider/index.js, grant.js)
  • Companion standalone helper Instagram env vars (helper.js, env_example)
  • All Companion Instagram tests (providers.test.js, provider-manager.test.js, fixtures/index.js, mockserver.js)

The @uppy/instagram package directory is retained for a final deprecation release with a console warning before removal from the registry.

Meta shut down the Instagram Basic Display API on December 4, 2024,
permanently breaking @uppy/instagram. This removes all Instagram support
from both the client and Companion server.

Removed:
- Instagram from @uppy/remote-sources (src, package.json, keywords)
- Instagram export from uppy bundle (bundle.ts, index.ts, package.json)
- Companion Instagram OAuth provider (provider/index.js, grant.js)
- Companion standalone helper Instagram env vars (helper.js, env_example)
- All Companion Instagram tests (providers.test.js, provider-manager.test.js,
  fixtures/index.js, mockserver.js)

The @uppy/instagram package directory is retained for a final deprecation
release with a console warning before removal from the registry.

Closes transloadit#5455
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 4, 2026

⚠️ No Changeset found

Latest commit: 4b9e711

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 404243f8c6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

...defaults,
callback: '/instagram/callback',
},
facebook: {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Remove remaining Instagram assertions from Companion tests

This deletion removes the instagram Grant provider, but packages/@uppy/companion/test/provider-manager.test.js still dereferences grantConfig.instagram in multiple cases (secret-file, undefined-key, and oauthDomain redirect checks). After this change, those accesses become undefined/throw, so the Companion test suite will fail until those assertions and env setup are cleaned up consistently.

Useful? React with 👍 / 👎.

Facebook,
GoogleDrive,
Instagram,
OneDrive,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update RemoteSources invalid-plugin test expectation

Removing Instagram from availablePlugins changes the formatted error message for unknown sources, but packages/@uppy/remote-sources/src/index.test.ts still expects the old string that includes Instagram. That makes the invalid-plugin test fail deterministically even though runtime behavior is otherwise correct, so the test expectation should be updated with the new provider list.

Useful? React with 👍 / 👎.

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.

Instagram API Deprecation

1 participant