Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API extentions. #229

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

API extentions. #229

wants to merge 54 commits into from

Commits on May 26, 2022

  1. API extentions.

    1. Cursor API to scan the key space
    2. Stream API
       * Read range from streams
       * Trim stream
    3. Server Events API to register to the following events:
       * Flush started/ended
       * Loading started/ended for AOF/RDB/Replication
       * Role changed (become primary/replica)
    4. Is primary API was added to Context object
    MeirShpilraien committed May 26, 2022
    Configuration menu
    Copy the full SHA
    325f4ca View commit details
    Browse the repository at this point in the history
  2. fix build of freebsd

    MeirShpilraien committed May 26, 2022
    Configuration menu
    Copy the full SHA
    d87a5f2 View commit details
    Browse the repository at this point in the history
  3. fix tests failures

    MeirShpilraien committed May 26, 2022
    Configuration menu
    Copy the full SHA
    9e0372f View commit details
    Browse the repository at this point in the history
  4. format fixes

    MeirShpilraien committed May 26, 2022
    Configuration menu
    Copy the full SHA
    fbbdbdc View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. Configuration menu
    Copy the full SHA
    f157503 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Omer Shadmi <[email protected]>
    MeirShpilraien and oshadmi authored Jun 19, 2022
    Configuration menu
    Copy the full SHA
    7d92069 View commit details
    Browse the repository at this point in the history
  3. review fixes

    MeirShpilraien committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    6d81a45 View commit details
    Browse the repository at this point in the history
  4. review fixes

    MeirShpilraien committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    b7f079f View commit details
    Browse the repository at this point in the history
  5. review fixes

    MeirShpilraien committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    1da738a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e04fed2 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

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

Commits on Jun 21, 2022

  1. Configuration menu
    Copy the full SHA
    4fa23e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af22d54 View commit details
    Browse the repository at this point in the history
  3. format fixes

    MeirShpilraien committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    db57a7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    795f01d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7786f5d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

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

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    58989a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c899ae View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    1fe6e5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b16438 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

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

Commits on Jul 21, 2022

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

Commits on Jul 25, 2022

  1. Configuration menu
    Copy the full SHA
    ad75618 View commit details
    Browse the repository at this point in the history
  2. format fixes

    MeirShpilraien committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    2771300 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    4aa18c5 View commit details
    Browse the repository at this point in the history
  2. format fixes

    MeirShpilraien committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    42dbce1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    094c4df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    244dae2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f2688c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

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

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    a0b60a9 View commit details
    Browse the repository at this point in the history
  2. fix tests

    MeirShpilraien committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    4d3654b View commit details
    Browse the repository at this point in the history
  3. format fixes

    MeirShpilraien committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c690db2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    68fac3a View commit details
    Browse the repository at this point in the history
  5. format fixes

    MeirShpilraien committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    f8e469b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2074bd View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

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

Commits on Nov 10, 2022

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

Commits on Jan 15, 2023

  1. format code

    gkorland authored Jan 15, 2023
    Configuration menu
    Copy the full SHA
    99ace67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cbb036f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

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

Commits on Feb 21, 2023

  1. Fix invalid use of the crate keyword in macro_rules. (#283)

    Within the macro_rules! the $crate should be used when it is required to
    refer to the current crate.
    This commit changes the referencing to the correct one.
    iddm authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    ac5e6ca View commit details
    Browse the repository at this point in the history
  2. Fix minor code issues. (#284)

    1. Fixes the warning of the unused result. Now the result is explicitly
       dropped and so the intention behind the code written is clear.
    2. Fixes the typo - "emmutable" to "immutable".
    iddm authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    14c5c92 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Allow for easier version compatibility checking.

    By deriving Ord and PartialOrd we can compare two versions easier.
    We need to be able to compare the versions to make sure the compatible
    version is used with the module.
    iddm committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    70dd1dd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #286 from vityafx/allow-for-easier-version-compati…

    …bility-checking
    
    Allow for easier version compatibility checking.
    iddm authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    10572ff View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Allow the crate to operate when the Redis API isn't available.

    Such situations occur when, for example, the crate which uses
    the redismodule-rs crate as a dependency is run for testing, so
    without Redis available. In this case, there is no allocator available
    as well and it will lead to a panic. To enable both the situations to
    work correctly under all circumstances, this change introduces a
    fallback mechanism back to the system allocator (default Rust allocator)
    which is always available.
    
    Note that the changes are zero-cost: the code before this changes used
    unwrap() which also had checks for the value being non-null and would
    panic at runtime if it was null, the current code does this check as
    well but instead of panicking reverts back to the system allocator.
    iddm committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    3c32669 View commit details
    Browse the repository at this point in the history
  2. Address clippy lints

    iddm committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    cf0473c View commit details
    Browse the repository at this point in the history
  3. Fix the comment typos and width.

    iddm committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    f873f8a View commit details
    Browse the repository at this point in the history
  4. Enable the unit and doc tests to work.

    The previous code either wouldn't compile or wouldn't run due to missing
    assets for the tests. This commit brings changes necessary to enable the
    cargo test to run properly again.
    iddm committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    8acffbe View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Revert to panicking when the redis allocator isn't available.

    Reverts the behaviour to panicking when the redis allocator isn't
    present. Changes the panic to avoid allocations using the specified
    allocator so that a meaningful message can be observed.
    iddm committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    03b52b9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #300 from RedisLabsModules/fallback-to-the-system-…

    …allocator-when-redis-isnt-available
    
    Allow the crate to operate when the Redis API isn't available.
    iddm authored Mar 29, 2023
    Configuration menu
    Copy the full SHA
    1e735bd View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Fix the backwards compatibility with old Rust.

    The backwards compatibility is broken with the old Rust due to fixing a
    mistake with imports. This commit uses the direct import for unix
    systems of the AsRawFd trait and should work on all unix systems.
    iddm committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    6a4487f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #301 from RedisLabsModules/use-unix-asrawfd

    Fix the backwards compatibility with old Rust.
    iddm authored Mar 31, 2023
    Configuration menu
    Copy the full SHA
    566ad27 View commit details
    Browse the repository at this point in the history