Skip to content

Fix/binding parity improvements#28

Merged
Nic-dorman merged 2 commits intomaidsafe:mainfrom
Nic-dorman:fix/binding-parity-improvements
Feb 6, 2026
Merged

Fix/binding parity improvements#28
Nic-dorman merged 2 commits intomaidsafe:mainfrom
Nic-dorman:fix/binding-parity-improvements

Conversation

@Nic-dorman
Copy link
Contributor

No description provided.

Nic-dorman and others added 2 commits February 6, 2026 13:41
Dart bindings:
- Add new type files: archive, data_map_chunk, graph_entry, key_derivation,
  pointer, register, scratchpad, vault
- Extend Client with private data, chunk, pointer, scratchpad, register,
  graph entry, vault, and archive operations
- Add comprehensive tests for all new types
- Fix GraphEntryAddress and ScratchpadAddress cloneHandle() usage

Go bindings:
- Add DataStream type for streaming data operations
- Add stream.go with DataStreamPublic() and related methods

Lua bindings:
- Extend client.lua with pointer, scratchpad, register, graph entry,
  vault, and archive operations
- Add test_file_ops.lua for file operation tests

PHP bindings:
- Add new type files: Archive, DataMapChunk, GraphEntry, KeyDerivation,
  Pointer, Register, Scratchpad, Vault
- Extend Client with sync wrapper methods for network operations
- Add AsyncHelper for blocking operation support
- Add comprehensive tests for new functionality
- Update FFI header with new function declarations

Rust:
- Add blocking wrapper functions for async operations to support
  PHP and other sync-only FFI consumers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix blocking wrapper function signatures to use RustBuffer *out_result
  pattern for functions returning records (scratchpad, register, graph
  entry, vault, archive operations)
- Fix parseUploadResult to handle Arc<DataAddress> as 8-byte pointer
  instead of hex string
- Fix PublicArchive/PrivateArchive addFile to capture returned handle
  (Rust immutable pattern returns new Arc<Self>)
- Add 32-byte value helpers for register tests
- Fix duplicate test method name in GraphEntryVaultArchiveTest
- Update integration tests with proper assertions and skip markers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Nic-dorman Nic-dorman merged commit faa73b3 into maidsafe:main Feb 6, 2026
6 of 11 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