Skip to content

gedis-v0.1.7.zip

Choose a tag to compare

@github-actions github-actions released this 16 Sep 14:32
· 166 commits to main since this release

closes #17 #18 #19 #20 #21 #22

This pull request introduces significant new functionality and improvements to the Gedis Godot addon, expanding its feature set, improving documentation, and refining its API for better usability and consistency. The changes include new commands for hashes, lists, sets, and sorted sets, enhancements to the documentation, and workflow automation for documentation deployment.

Feature Additions & API Enhancements

Hashes

  • Added support for multi-field operations: hmget, hmset, hincrby, and hincrbyfloat for efficient batch access and updates to hash fields.

Lists

  • Added advanced list commands: lmove, ltrim, and linsert for flexible list manipulation, including moving elements between lists, trimming lists to a specified range, and inserting elements relative to a pivot.

Sets

  • Added set operations: sunion, sinter, sdiff, and their corresponding store variants, as well as srandmember for random member selection, greatly improving set functionality and parity with Redis.

Sorted Sets

  • Overhauled sorted set API:
    • Changed zrange and zrevrange to use start/stop indices for consistency and flexibility.
    • Added commands: zscore, zrank, zrevrank, zcount, zincrby, zrangebyscore, zrevrangebyscore, zunionstore, and zinterstore for comprehensive sorted set management. [1] [2]

Documentation & Workflow

Documentation

  • Updated README.md to reflect new commands and improved descriptions for all data types.
  • Added a new CONTRIBUTION.md file with clear instructions for contributing, testing, and documentation requirements. [1] [2]

Automation

  • Added a GitHub Actions workflow (deploy-docs.yml) for automatic deployment of documentation to GitHub Pages.

Miscellaneous Improvements

Debugging & Consistency

  • Improved debugger output to include TTL and standardized type naming (e.g., using "zset" instead of "sorted_set"). [1] [2] [3]
  • Refactored initialization in core files for improved clarity and maintainability. [1] [2]
  • Renamed string increment function to incrby for consistency with Redis naming conventions.

Core Functionality

  • Added restore_key, rename, and move methods to core for key management and restoration.