Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
37f091c
Add indexing json to the doc
emmanuelkeller Nov 17, 2021
b1c8cb4
Build ARM for bionic; test with Redis 6.0 (#556)
rafie Nov 28, 2021
28e3fea
Merge branch 'master' into emmanuelkeller-patch-1
emmanuelkeller Nov 30, 2021
5e4e695
Merge pull request #542 from RedisJSON/emmanuelkeller-patch-1
emmanuelkeller Nov 30, 2021
57e6a87
path.md copyedit suggestions
rrelledge Dec 2, 2021
8cf0cd4
indexing_JSON.md copyedit suggestions
rrelledge Dec 2, 2021
928e3d3
Merge pull request #560 from rrelledge/docs-copyedit
emmanuelkeller Dec 3, 2021
42e6f32
Update Cargo.toml (#552)
gkorland Dec 5, 2021
58d6fbf
Update freebsd.yml (#565)
gkorland Dec 8, 2021
b6a070d
initial ijson commit (#563)
gkorland Dec 9, 2021
3ec45da
JSON.SET full doc benchmark extensions (#568)
filipecosta90 Dec 10, 2021
91892dd
Bump mkdocs from 1.1.2 to 1.2.3 in /docs (#572)
dependabot[bot] Dec 12, 2021
73b5f30
update readies
gkorland Dec 19, 2021
0e99556
fix #465 Add docs fo JSON.CLEAR and JSON.TOGGLE (#474)
gkorland Dec 19, 2021
bc60d9a
Update module requirements to redis v6.0 (#583)
oshadmi Dec 19, 2021
1538bd2
CLang sanitizer support (#574)
rafie Dec 22, 2021
f97a676
update Cargo.lock (#585)
gkorland Dec 23, 2021
a02ebb1
Rectify file paths in `ram.md` doc (#578)
marsonya Dec 23, 2021
89f6675
unit tests for error.rs (#586)
gkorland Dec 23, 2021
2e6cbe4
fix args typo (#589)
gkorland Dec 24, 2021
b194618
Adding Redis OM libraries to client libraries list. (#571)
slorello89 Dec 26, 2021
60821e0
Fix `pass-100.json` test file path in performance.md (#575)
marsonya Dec 26, 2021
3be1d81
Changing client library to point to redis-py (#539)
chayim Dec 26, 2021
ed4c752
complete unit tests (#587)
gkorland Dec 27, 2021
8f28db0
add timeout=1 to all getmessages calls (#598)
gkorland Dec 27, 2021
1652a7e
Fixes for updated RedisJsonHdt (#573)
oshadmi Dec 27, 2021
40b4d2d
Copy edit suggestions for commands.md (#566)
rrelledge Dec 28, 2021
ca2ce91
Coverage support (#597)
rafie Dec 30, 2021
ce0cf43
Remove cache commands (#600)
gkorland Jan 2, 2022
9e149c7
avoid testSetGetComparePassJSONCaseFiles with slave (#602)
gkorland Jan 2, 2022
ad5d6f1
Enable JSON.CLEAR on numeric scalars (#605)
oshadmi Jan 5, 2022
bcd17dd
update readies to fix build issue with psutil (#603)
gkorland Jan 5, 2022
db06701
Add doc limitation (#558)
emmanuelkeller Jan 6, 2022
34d61de
simple clippy cleanups (#601)
gkorland Jan 6, 2022
13a668a
only a readies update (#606)
chayim Jan 6, 2022
526cd59
Return no updates when performing an NX set to an existing array elem…
EricRabil Jan 9, 2022
5aae46b
Add info func to redis_json_module_create macro (#610)
oshadmi Jan 10, 2022
5eb1aed
adapt docs to JSON 2.0 (#612)
gkorland Jan 12, 2022
de32406
clean clippy nursery (#613)
gkorland Jan 13, 2022
93884f5
Update Cargo.toml (#617)
gkorland Jan 16, 2022
df9b317
replace as cast with cast::<> (#615)
gkorland Jan 16, 2022
063335f
use nightly-2022-01-09 (#619)
gkorland Jan 16, 2022
ad595d2
Fixes for automation problems (#623)
rafie Jan 17, 2022
49e752b
Avoid crash on overflow in numincrby or nummultby (#591)
oshadmi Jan 17, 2022
cd2458d
Document adding a new child with JSON.SET (#622)
oshadmi Jan 17, 2022
f952d73
Update readies (getpy3/xenial) (#625)
rafie Jan 18, 2022
1ecca39
Handle "MEMORY USAGE" and JSON.DEBUG (#594)
gkorland Jan 20, 2022
368aee1
Update test_multi.py
gkorland Jan 21, 2022
763b846
Add test for JSON.SET add new imediate child
oshadmi Jan 22, 2022
9d6246c
Revert "Add test for JSON.SET add new imediate child"
oshadmi Jan 22, 2022
5da869f
Add test for JSON.SET add new direct/immediate child (#630)
oshadmi Jan 22, 2022
ea7699d
MOD-2394: Support JSON.CLEAR for string and bool (#632)
oshadmi Jan 28, 2022
52501ef
Indexed array explainer (#629)
slorello89 Jan 29, 2022
c9b5e89
Indexed array explainer (#629)
slorello89 Jan 29, 2022
32fbb3b
DOC update JSON.CLEAR on scalars (#634)
oshadmi Jan 29, 2022
01361b1
readies update to fix clang issue (#635)
chayim Jan 30, 2022
692ebac
oracle8 is the new centos8 (#638)
chayim Feb 1, 2022
a13e210
system-setup: tar only for Oracle Linux 8 (#639)
rafie Feb 1, 2022
131f779
Setup: Oracle Linux 8 blues (#640)
rafie Feb 2, 2022
f983b78
null-terminate JSON string in rdb_save (#643)
oshadmi Feb 3, 2022
72de787
MOD-2511: do not fail MGET on wrong key type (#644)
oshadmi Feb 3, 2022
12f8438
MOD-2511: do not fail MGET on wrong/unregistered key type (#646)
oshadmi Feb 3, 2022
a59b0ab
MOD-2082 Add intershard_tls_pass support (#637)
gkorland Feb 6, 2022
e5b9219
MOD-2484: add test with illegal chars in path (#648)
oshadmi Feb 8, 2022
0b8e9ed
New docker build and artifact upload (#641)
rafie Feb 8, 2022
054d666
Added node-redis as a client with RedisJSON support. (#628)
Feb 8, 2022
ab6ad4e
Test on Redis 7 (#650)
gkorland Feb 9, 2022
f8bce27
Update config.yml (#651)
gkorland Feb 9, 2022
60f8628
Revert 7.0-rc1 (#652)
gkorland Feb 10, 2022
6580412
Add rueidis to the client list of index.md (#653)
rueian Feb 10, 2022
191e8c6
Pin RLTest to 0.4.2 and update readies (#660)
oshadmi Feb 16, 2022
cc266e6
Multi Path Update (#659)
gkorland Feb 16, 2022
f08d086
Bump dep redismodule-rs to v1.0.0 (#663)
oshadmi Feb 22, 2022
e4ecc67
Merge remote-tracking branch 'origin/master' into omer_2.0_merge_from…
oshadmi Feb 23, 2022
8cd3634
Update doc on return value of JSON.TOGGLE (already in 2.0) (#666)
oshadmi Feb 23, 2022
0bf108c
New docker build and artifacts upload (#664)
rafie Feb 23, 2022
b63101f
Merge remote-tracking branch 'origin/master' into omer_2.0_merge_from…
oshadmi Feb 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
245 changes: 169 additions & 76 deletions .circleci/config.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ jobs:
. $HOME/.cargo/env
rustup target add i686-unknown-freebsd
cargo build --all --all-targets --verbose --target i686-unknown-freebsd
cargo test --features test --all --all-targets --verbose
59 changes: 30 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
cargo-features = ["edition2021"]

[package]
name = "redisjson"
version = "2.0.6"
authors = ["Gavrie Philipson <gavrie@redislabs.com>"]
version = "2.0.7"
authors = ["Gavrie Philipson <gavrie@redis.com>"]
edition = "2021"
description = "JSON data type for Redis"
repository = "https://github.com/RedisJSON/RedisJSON"
readme = "README.md"
license = "Redis Source Available License (RSAL)"
keywords = ["redis", "json", "plugin"]
categories = ["database-implementations"]

[lib]
crate-type = ["cdylib", "rlib"]
Expand All @@ -16,7 +24,7 @@ serde_json = "1.0"
serde = "1.0"
libc = "0.2"
jsonpath_lib = { git = "https://github.com/RedisJSON/jsonpath.git", branch = "generic_json_path" }
redis-module = { version="0.25", features = ["experimental-api"]}
redis-module = { version="1.0", features = ["experimental-api"]}
itertools = "0.10.1"
[features]
# Workaround to allow cfg(feature = "test") in redismodue-rs dependencies:
Expand Down
70 changes: 16 additions & 54 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,33 +1,12 @@
# BUILD redisfab/rejson:${VERSION}-${ARCH}-${OSNICK}

ARG REDIS_VER=6.2.5
ARG REDISEARCH_BRANCH=2.2

# OSNICK=focal|bionic|xenial|bullseye|centos8|centos7
ARG OSNICK=bullseye

# OS=debian:bullseye-slim|ubuntu:bionic|centos:7
ARG OS=debian:bullseye-slim

# ARCH=x64|arm64v8|arm32v7
ARG ARCH=x64

ARG PACK=0
ARG TEST=0

#----------------------------------------------------------------------------------------------
FROM redisfab/redis:${REDIS_VER}-${ARCH}-${OSNICK} AS redis
FROM ${OS} AS builder
FROM redisfab/redis:6.2.6-x64-bullseye AS redis
FROM debian:bullseye-slim AS builder

ARG OSNICK
ARG OS
ARG ARCH
ARG REDIS_VER
ARG PACK
ARG TEST
ARG REDISEARCH_BRANCH
RUN if [ -f /root/.profile ]; then sed -ie 's/mesg n/tty -s \&\& mesg -n/g' /root/.profile; fi
SHELL ["/bin/bash", "-l", "-c"]

RUN echo "Building for ${OSNICK} (${OS}) for ${ARCH} [with Redis ${REDIS_VER}]"
RUN echo "Building for bullseye (debian:bullseye-slim) for x64 [with Redis 6.2.6]"

WORKDIR /build
COPY --from=redis /usr/local/ /usr/local/
Expand All @@ -38,42 +17,25 @@ RUN ./deps/readies/bin/getupdates
RUN ./deps/readies/bin/getpy3
RUN ./sbin/system-setup.py

RUN bash -l -c make
RUN /usr/local/bin/redis-server --version

RUN mkdir -p bin/artifacts
RUN set -e ;\
if [ "$PACK" = "1" ]; then bash -l -c "make pack"; fi
RUN set -e ;\
if [ "$TEST" = "1" ]; then \
bash -l -c "TEST= make test" ;\
cd /build/tests/pytest/logs ;\
rm -f *.aof *.rdb ;\
tar -czf /build/bin/artifacts/pytest-logs-${ARCH}-${OSNICK}.tgz . ;\
fi
RUN set -e ;\
BRANCH=$REDISEARCH_BRANCH ./sbin/get-redisearch ;\
cp /build/bin/linux-${OSNICK}-${ARCH}/RediSearch/redisearch.so /build/bin/
RUN make build SHOW=1

#----------------------------------------------------------------------------------------------
FROM redisfab/redis:${REDIS_VER}-${ARCH}-${OSNICK}

ARG REDIS_VER
ARG OSNICK
ARG ARCH
FROM redisfab/redisearch:master-x64-bullseye AS search
FROM redisfab/redis:6.2.6-x64-bullseye

ENV LIBDIR /usr/lib/redis/modules
WORKDIR /data
RUN mkdir -p "$LIBDIR"

RUN mkdir -p /var/opt/redislabs/artifacts
RUN chown -R redis:redis /var/opt/redislabs
COPY --from=builder /build/bin/artifacts/ /var/opt/redislabs/artifacts
RUN mkdir -p "/usr/lib/redis/modules"

COPY --from=builder /build/bin/linux-x64-release/rejson.so* "/usr/lib/redis/modules/"
RUN true
COPY --from=builder /build/bin/linux-${ARCH}-release/rejson.so "$LIBDIR"
COPY --from=search /usr/lib/redis/modules/redisearch.so* "/usr/lib/redis/modules/"
RUN true
COPY --from=builder /build/bin/redisearch.so "$LIBDIR"

EXPOSE 6379
RUN chown -R redis:redis /usr/lib/redis/modules

CMD ["redis-server", \
"--loadmodule", "/usr/lib/redis/modules/rejson.so", \
"--loadmodule", "/usr/lib/redis/modules/redisearch.so"]
"--loadmodule", "/usr/lib/redis/modules/redisearch.so"]
Loading