Skip to content

chore: kickoff release - #4259

Merged
thisisabhash merged 3 commits into
releasefrom
main
Jul 30, 2026
Merged

chore: kickoff release#4259
thisisabhash merged 3 commits into
releasefrom
main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

kickoff release

dependabot Bot and others added 3 commits July 28, 2026 03:16
Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.20.5 to 1.20.6.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](expressjs/body-parser@1.20.5...1.20.6)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-version: 1.20.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [json](https://github.com/ruby/json) from 2.19.7 to 2.19.9.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.19.7...v2.19.9)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.19.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add connect client

* add unit tests to ci/cd

* fix unit tests

* update amplify outputs configuration parsing

* address review comments

* feat(connect): rework client to Option C API contract

Public surface is now identifyUser(userProfile:), registerDevice(token:),
and removeDevice(). All routes are SigV4-signed (Bearer token path removed;
the backend derives the caller identity from the request signature, so
userId is no longer sent). IdentifyUserOptions and OptOut are removed.
UserProfile now carries email, name, phone, customAttributes, and
location (city, country, postalCode, region). registerDevice resolves
deviceId, platform, appVersion, and channelType internally, with platform
derived from the target OS. Removes the now-unused AuthToken and
AuthTokenProvider protocols from AmplifyFoundation and updates unit and
integration tests to the new contract.

* chore(connect): declare UserDefaults required-reason API in privacy manifest

AmplifyConnectClient persists a device identifier in UserDefaults, so the
privacy manifest now declares NSPrivacyAccessedAPICategoryUserDefaults
with reason CA92.1, and the target is added to the required-reason API
list in the root README.

* fix(connect): declare collected data types in privacy manifest

The client can transmit email address, name, phone number, coarse
location (city, country, postal code, region), and a device identifier
(persistent device id and push token). Each is declared as linked to
identity, not used for tracking, collected for app functionality.
Adds a README note that apps should narrow their app-level privacy
declarations to the optional UserProfile fields they actually send.

* fix(connect): enforce https endpoints and validate input lengths

Endpoint hardening: configuration loading now rejects malformed or
non-https endpoint URLs, and the client re-validates before every
request so manually constructed configurations are covered. The SigV4
signing target (host, port, protocol) is derived from the endpoint URL
instead of hardcoding port 443, so the signature is always computed
over the same authority the request is sent to.

Input bounds: user profile fields (email, name, phone, location
fields), customAttributes keys and values, and the device token are
validated against the backend's 255-character attribute limit before
any network call, throwing the new ConnectError.validation case that
names the offending field.

Also removes the device identifier from log messages.

* fix(connect): count validation lengths in UTF-16 code units to match backend

* address review comments

* update files

* fix swiftformat issue

* fix removeDevice api

---------

Co-authored-by: Ekjot <43255916+ekjotmultani@users.noreply.github.com>
@github-actions
github-actions Bot requested a review from a team as a code owner July 30, 2026 18:54
@thisisabhash
thisisabhash merged commit 48f97ce into release Jul 30, 2026
228 of 233 checks passed
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