Skip to content

Conversation

@Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Jun 18, 2025

No description provided.

Shaptic added 3 commits June 18, 2025 13:21
* 1. Run the generator:

Change the commit hash to the right sha of stellar/stellar-xdr.
Add any new filenames (if needed: here Stellar-exporter.x for Galexie).
Run `make reset-xdr` from the project root.

* 2. Post-generation fixups to work around bugs or project-specific stuff:

* Move `xdr.Operation` into a hidden namespace to avoid conflicts with the
  SDK's `Operation`.
* Minimize the diff by running `sed -ie s/\"/\'/g types/{curr,next}.d.ts`
  (because the generator uses a different prettier config--this could
  probably be fixed in the generator itself, but this is easy enough
  for now).
* Add workarounds:
  - `type Hash = Opaque[];` is a necessary alias that doesn't get gen'd
  - `Hyper`, `UnsignedHyper`, and `ScSpecEventV0` need their signatures
    fixed because it should take a proper `Array` instead of a naked `[]`
    (enforced by `yarn lint`).
  - Some constants aren't generated correctly, ref. the linked issue

* 3. Accommodate XDR additions or renames:

* This accounts for any fields that encountered a rename as part
  of the new XDR version. In this case, `readBytes` was renamed to
  `diskReadBytes` because it's measured differently as a result of
  Core's state living in memory rather than on disk in most cases.
* It also accounts for the unused extension point actually having
  a name now, so `xdr.ExtensionPoint` needs to use the structure-
  specific `xdr.SorobanTransactionDataExt`, instead.

* Add docs to README for completeness
* Migrate to @noble/curves instead of sodium+nacl
@socket-security
Copy link

socket-security bot commented Jun 18, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedis-negative-zero@​2.0.3671008351100
Updatedjson-stable-stringify@​1.2.1 ⏵ 1.3.067 +110010053100
Updatedarray-includes@​3.1.8 ⏵ 3.1.96610010055100
Updated@​babel/​plugin-transform-dotall-regex@​7.25.9 ⏵ 7.27.11001006192100
Updated@​babel/​plugin-transform-regexp-modifiers@​7.26.0 ⏵ 7.27.11001006191100
Updated@​babel/​plugin-transform-unicode-regex@​7.25.9 ⏵ 7.27.11001006192100
Updated@​pkgr/​core@​0.2.0 ⏵ 0.2.71001006292100
Updated@​babel/​plugin-transform-unicode-sets-regex@​7.25.9 ⏵ 7.27.11001006292100
Updated@​babel/​plugin-transform-reserved-words@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​helper-annotate-as-pure@​7.25.9 ⏵ 7.27.31001006393100
Updated@​babel/​plugin-transform-class-properties@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-private-methods@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-named-capturing-groups-regex@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-optional-catch-binding@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-sticky-regex@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-duplicate-named-capturing-groups-regex@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-unicode-property-regex@​7.25.9 ⏵ 7.27.11001006392100
Updated@​babel/​plugin-transform-property-literals@​7.25.9 ⏵ 7.27.11001006492100
Updated@​babel/​plugin-transform-arrow-functions@​7.25.9 ⏵ 7.27.11001006492100
Updated@​babel/​plugin-transform-member-expression-literals@​7.25.9 ⏵ 7.27.11001006492100
Updated@​babel/​plugin-syntax-import-assertions@​7.26.0 ⏵ 7.27.11001006492100
Updated@​babel/​helper-skip-transparent-expression-wrappers@​7.25.9 ⏵ 7.27.11001006492100
Updated@​babel/​plugin-transform-literals@​7.25.9 ⏵ 7.27.11001006492100
Updated@​babel/​plugin-transform-numeric-separator@​7.25.9 ⏵ 7.27.11001006492100
Updated@​babel/​plugin-transform-json-strings@​7.25.9 ⏵ 7.27.11001006592100
Updated@​babel/​helper-optimise-call-expression@​7.25.9 ⏵ 7.27.11001006592100
Updated@​babel/​plugin-syntax-import-attributes@​7.26.0 ⏵ 7.27.11001006592100
Updated@​babel/​plugin-transform-dynamic-import@​7.25.9 ⏵ 7.27.11001006592100
Updated@​babel/​plugin-transform-function-name@​7.25.9 ⏵ 7.27.11001006692100
See 92 more rows in the dashboard

View full report

@github-actions
Copy link

github-actions bot commented Jun 18, 2025

Size Change: +147 kB (+4.46%)

Total Size: 3.44 MB

Filename Size Change
dist/stellar-base.js 2.54 MB +125 kB (+5.18%) 🔍
dist/stellar-base.min.js 897 kB +21.5 kB (+2.46%)

compressed-size-action

Copy link
Contributor

@sreuland sreuland left a comment

Choose a reason for hiding this comment

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

approved, I see other pr's still need to merge to protocol-23, but this is just release process flow, and you know when to merge.

* Upgrade packages, add changelog, bump version
* Bump node version, drop sodium-native refs
* Update jobs to latest and Node 20
* Update tag used for publishing
@Shaptic Shaptic merged commit 3f82e7e into master Jun 25, 2025
9 checks passed
@Shaptic Shaptic deleted the protocol-23 branch June 25, 2025 18:20
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.

2 participants