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: redis/node-redis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: redis@5.6.0
Choose a base ref
...
head repository: redis/node-redis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: redis@5.6.1
Choose a head ref
  • 13 commits
  • 57 files changed
  • 5 contributors

Commits on Jul 10, 2025

  1. Configuration menu
    Copy the full SHA
    987515c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2025

  1. fix(search): adjust field types for ft.search (#3018)

    In ft.search SORTBY, SUMMARIZE and HIGHLIGHT all take
    string arguments and do not need @ or $ as a prefix.
    In fact, if you put @ or $ there, redis returns error like this:
    
    [SimpleError: Property `@age` not loaded nor in schema]
    
    fixes #3017
    nkaradzhov authored Jul 17, 2025
    Configuration menu
    Copy the full SHA
    c21dd92 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2025

  1. fix(client): make socket.host not required (#3024)

    Underlying node tls.ConnectionOptions does not require host,
    so we shouldnt as well. Further, if `url` is provided in
    the upper level config, it takes precedence, which could be misleading:
    
    createClient({
      url: 'rediss://user:secret@localhost:6379/0',
      socket: {
        tls: true,
        host: 'somehost' <-- this gets overwritten to `localhost`
      }
    });
    
    fixes #3023
    nkaradzhov authored Jul 21, 2025
    Configuration menu
    Copy the full SHA
    539fe52 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2025

  1. Configuration menu
    Copy the full SHA
    ddd2cc5 View commit details
    Browse the repository at this point in the history
  2. docs: Update doctests (#3020)

    * move all doctests from emb-examples branch
    
    * fix readme
    
    * add package-lock.json
    
    * --wip-- [skip ci]
    
    * fix: replace client.quit() with client.close() as quit is deprecated
    
    - doctests/cmds-hash.js
    - doctests/cmds-list.js
    - doctests/cmds-servermgmt.js
    - doctests/cmds-set.js
    
    * fix: replace client.quit() with client.close() as quit is deprecated
    
    - doctests/cmds-sorted-set.js
    - doctests/cmds-string.js
    - doctests/dt-bitfield.js
    - doctests/dt-bitmap.js
    
    * fix: replace client.quit() with client.close() as quit is deprecated
    
    - dt-bloom.js: replace client.quit() with client.close()
    - dt-cms.js: replace client.quit() with client.close()
    - dt-cuckoo.js: replace client.quit() with client.close() and update expected output comments to reflect v5 boolean returns
    - dt-geo.js: replace client.quit() with client.close()
    
    * fix(doctests): correct pfAdd return values and replace quit with close
    
    - Fix dt-hll.js: pfAdd returns 1 instead of true in comments and assertions
    - Fix dt-hash.js and dt-hll.js: replace deprecated client.quit() with client.close()
    
    * fix(doctests): correct API usage and return values in json and list examples
    
    - Fix dt-json.js: use options object for json.type, json.strLen, json.del, json.arrPop, json.objLen, json.objKeys
    - Fix dt-json.js: correct json.del return value from [1] to 1
    - Fix dt-list.js: correct client initialization, return values (null, OK, 1), and error type
    - Replace deprecated client.quit() with client.close() in both files
    
    * fix(doctests): update dt-set.js and dt-ss.js for v5 compliance
    
    - Updated boolean return values to numbers for SISMEMBER and SMISMEMBER commands
    - Fixed client lifecycle to use client.close() instead of client.quit()
    - Removed unnecessary await from createClient()
    - Added order-independent assertions for set operations
    - Removed debug statement
    
    * fix(doctests): update deprecated methods and imports for v5 compliance
    
    - Fix dt-string.js: remove await from client creation and replace client.quit() with client.close()
    - Fix dt-tdigest.js: replace deprecated client.quit() with client.close()
    - Fix dt-topk.js: replace client.quit() with client.close() and fix output comment from [1, 0] to [true, false]
    - Fix query-agg.js: update @redis/search imports to use new constant names and replace client.disconnect() with client.close()
    
    * fix(doctests): update imports and replace deprecated disconnect with close
    
    - Replace SchemaFieldTypes/VectorAlgorithms with SCHEMA_FIELD_TYPE/SCHEMA_VECTOR_FIELD_ALGORITHM
    - Replace client.disconnect() with client.close() for consistent deprecation handling
    - Update query-combined.js, query-em.js, query-ft.js, and query-geo.js
    
    * fix(doctests): update imports and replace deprecated methods in remaining files
    
    - Update imports to use SCHEMA_FIELD_TYPE and SCHEMA_VECTOR_FIELD_ALGORITHM constants
    - Replace deprecated disconnect() and quit() methods with close()
    - Fix assertion in search-quickstart.js to use correct bicycle ID
    
    * fix(doctests): update cmds-generic.js and cmds-cnxmgmt.js for v5 compliance
    
    - Replace deprecated client.quit() with client.close()
    - Update sScanIterator to use collection-yielding behavior (value -> values)
    - Fix HSCAN API changes: tuples renamed to entries
    - Fix cursor type issues: use string '0' instead of number 0 for hScan
    - Fix infinite loop in scan cleanup by using do-while pattern
    
    * fix(doctests): update dt-streams.js object shapes and parameters for v5 compliance
    
    - Update stream result objects from tuple format to proper object format with id/message properties
    - Change xRead/xReadGroup results from nested arrays to objects with name/messages structure
    - Update xAutoClaim results to use nextId, messages, and deletedMessages properties
    - Add missing properties to xInfo* results (max-deleted-entry-id, entries-added, recorded-first-entry-id, entries-read, lag, inactive)
    - Modernize parameter names (count -> COUNT, block -> BLOCK, etc.)
    - Update MAXLEN/APPROXIMATE options to new TRIM object structure
    - Fix error message format for XADD duplicate ID error
    - Update boolean return values (True -> OK)
    
    ---------
    
    Co-authored-by: Nikolay Karadzhov <nkaradzhov89@gmail.com>
    PavelPashov and nkaradzhov authored Jul 23, 2025
    Configuration menu
    Copy the full SHA
    0541b32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ae14bb View commit details
    Browse the repository at this point in the history
  4. Release client@5.6.1

    actions-user committed Jul 23, 2025
    Configuration menu
    Copy the full SHA
    1c26637 View commit details
    Browse the repository at this point in the history
  5. Release bloom@5.6.1

    actions-user committed Jul 23, 2025
    Configuration menu
    Copy the full SHA
    945b77a View commit details
    Browse the repository at this point in the history
  6. Release json@5.6.1

    actions-user committed Jul 23, 2025
    Configuration menu
    Copy the full SHA
    fc5ff18 View commit details
    Browse the repository at this point in the history
  7. Release search@5.6.1

    actions-user committed Jul 23, 2025
    Configuration menu
    Copy the full SHA
    726e2c7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3c4defd View commit details
    Browse the repository at this point in the history
  9. Release entraid@5.6.1

    actions-user committed Jul 23, 2025
    Configuration menu
    Copy the full SHA
    3365920 View commit details
    Browse the repository at this point in the history
  10. Release redis@5.6.1

    actions-user committed Jul 23, 2025
    Configuration menu
    Copy the full SHA
    e96db0d View commit details
    Browse the repository at this point in the history
Loading