8000 Comparing v2.0.2...v2.0.3 · trufnetwork/node · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trufnetwork/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: trufnetwork/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.3
Choose a head ref
  • 4 commits
  • 22 files changed
  • 2 contributors

Commits on Jun 13, 2025

  1. Configuration menu
    Copy the full SHA
    2f5d564 View commit details
    Browse the repository at this point in the history
  2. fix: batch creation creates correct metadata (#1000)

    * fix: update readonly_key metadata handling in SQL migration and add batch modification tests
    
    This commit modifies the SQL migration to correct the metadata key for read-only keys, ensuring consistency in the handling of 'readonly_key' and 'stream_owner'. Additionally, it introduces a new test to verify that read-only metadata cannot be modified in batch operations, enhancing the robustness of the metadata management system.
    
    * refactor: delegate stream creation to batch implementation
    
    This commit refactors the `create_stream` action to delegate the stream creation process to the `create_streams` batch implementation, enhancing consistency and simplifying the code. The previous permission checks and validations have been removed from `create_stream`, streamlining the action's logic.
    
    * fix: update error message for duplicate stream ID validation in tests
    
    This commit modifies the error message assertion in the `TestStreamIDValidation` test to check for "duplicate key value violates" instead of "already exists". This change ensures that the error message accurately reflects the underlying database constraint violation when attempting to create a duplicate stream ID for the same owner.
    
    * fix: prevent duplicate metadata row_id in create_streams
    
    The `create_streams` action was generating duplicate `row_id` values for metadata entries when multiple streams were created in quick succession within the same test context. This was due to the UUID v5 generation relying only on a base UUID derived from `@txid` and a sequential row number, which could lead to collisions across different stream creations if `@txid` was similar and the metadata keys generated in the same order.
    This commit modifies the `row_id` generation in `create_streams` to include the `stream_id` and `metadata_key` in the "name" portion of the UUID v5, ensuring a unique `row_id` for each distinct metadata entry across all streams created. This resolves the "duplicate key value violates unique constraint `metadata_pkey`" error observed in tests like `TestAUTH04_NestedComposePermissions`.
    
    ---------
    
    Co-authored-by: Michael Buntarman <michaelboentarman@gmail.com>
    outerlook and MicBun authored Jun 13, 2025
    Configuration menu
    Copy the full SHA
    ac47d71 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2025

  1. fix: deduplicate returned result on same results (#1005)

    * fix: deduplicate returned result on same results
    
    * test: fixed calculation on testComposedRecordNoDuplicates
    MicBun authored Jun 16, 2025
    Configuration menu
    Copy the full SHA
    439e8e6 View commit details
    Browse the repository at this point in the history
  2. chore: update kwil dependencies to latest versions (#1006)

    chore: update kwil-db and kwil-db/core dependencies to latest versions
    
    This commit updates the `github.com/kwilteam/kwil-db` and `github.com/kwilteam/kwil-db/core` dependencies to their latest versions, ensuring compatibility and access to the latest features and fixes. Additionally, it enhances the node upgrade guide with clearer instructions and optional backup recommendations for a smoother upgrade process.
    outerlook authored Jun 16, 2025
    Configuration menu
    Copy the full SHA
    caa4136 View commit details
    Browse the repository at this point in the history
Loading
0