Skip to content

feat: React Native SDK update for version 0.30.0#103

Closed
ChiragAgg5k wants to merge 1 commit intomainfrom
dev
Closed

feat: React Native SDK update for version 0.30.0#103
ChiragAgg5k wants to merge 1 commit intomainfrom
dev

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

@ChiragAgg5k ChiragAgg5k commented May 7, 2026

This PR contains updates to the SDK for version 0.30.0.

What's Changed

  • Added: Added setCookie() method to Client for forwarding incoming Cookie headers in server-side runtimes
  • Added: Added Fusionauth, Keycloak, and Kick OAuth providers to OAuthProvider enum
  • Updated: Updated X-Appwrite-Response-Format header to 1.9.4
  • Updated: Added postcss to dev dependencies

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 7, 2026

Greptile Summary

This PR updates the React Native SDK to version 0.30.0, adding a setCookie() method to Client for server-side cookie forwarding, three new OAuth providers (Fusionauth, Keycloak, Kick), a bump of X-Appwrite-Response-Format to 1.9.4, and a postcss override to pin the transitive dependency.

  • src/client.ts: New setCookie() setter follows the existing pattern exactly, storing the value in both this.headers['Cookie'] and this.config.cookie.
  • .github/workflows/publish.yml: Both Actions bumped to v6 — actions/setup-node@v6 is confirmed released, but actions/checkout@v6 does not appear to be a published version and may break the publish workflow on merge.
  • CHANGELOG.md: Entry for postcss describes it as a "dev dependency" but it was placed in overrides, not devDependencies.

Confidence Score: 3/5

The publish workflow references an unverified actions/checkout@v6 tag that could break every future release run.

All TypeScript source changes are clean and correct. The main risk is actions/checkout@v6 in the publish workflow — web search shows v5 as the latest released tag, so v6 may not resolve, silently breaking the NPM publish pipeline on the next release.

.github/workflows/publish.yml — the actions/checkout@v6 reference should be verified against the action's published releases before merging.

Important Files Changed

Filename Overview
.github/workflows/publish.yml Bumps actions/checkout to v6 and actions/setup-node to v6; setup-node@v6 is verified, but checkout@v6 does not appear to be a published release and could break the publish workflow.
CHANGELOG.md Adds 0.30.0 entry; the postcss entry incorrectly describes it as a dev dependency rather than a package override.
src/client.ts Adds setCookie() method and bumps SDK version/response-format header to 0.30.0 / 1.9.4; changes look correct and consistent with the existing setter pattern.
src/enums/o-auth-provider.ts Adds Fusionauth, Keycloak, and Kick OAuth providers in alphabetical order; straightforward and correct.
src/services/account.ts JSDoc provider lists updated at four sites to include the three new OAuth providers; no logic changes.
package.json Version bumped to 0.30.0 and postcss added to overrides to pin the transitive dependency; correct usage.
package-lock.json Lock file regenerated for version 0.30.0 with minor dep bumps; looks consistent.
README.md Updates API version badge from 1.9.2 to 1.9.4; trivial and correct.

Reviews (1): Last reviewed commit: "chore: update React Native SDK to 0.30.0" | Re-trigger Greptile


steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
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 Unverified actions/checkout version

Web search confirms actions/setup-node@v6 is current (v6.4.0, released Apr 2026), but actions/checkout appears to be at v5 as the latest stable release — v6 is not shown on the action's release page. If actions/checkout@v6 does not exist, this workflow step would fail on every triggered run. It is worth double-checking the correct version tag before merging.

Comment thread CHANGELOG.md
* Added: Added `setCookie()` method to `Client` for forwarding incoming `Cookie` headers in server-side runtimes
* Added: Added `Fusionauth`, `Keycloak`, and `Kick` OAuth providers to `OAuthProvider` enum
* Updated: Updated `X-Appwrite-Response-Format` header to `1.9.4`
* Updated: Added `postcss` to dev dependencies
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 Inaccurate changelog entry for postcss

The entry says "Added postcss to dev dependencies" but postcss was actually added to the overrides section in package.json, not to devDependencies. The overrides field forces npm to use a specific version of a transitive dependency — it doesn't install postcss as a first-class dev dependency. Readers checking the changelog and then inspecting package.json will find no postcss entry in devDependencies and may be confused.

@ChiragAgg5k
Copy link
Copy Markdown
Member Author

Closing — changes not substantial enough to warrant a release.

@ChiragAgg5k ChiragAgg5k closed this May 7, 2026
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