Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions src/content/docs/commons/supported-languages-buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import RubyIcon from '../../../assets/ruby.svg';

<LinkButton href="/getting-started/quickstart?lang=ruby">
<RubyIcon />

Ruby
</LinkButton>
</ButtonGroup>
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ Valkey GLIDE provides a `Script` class that wraps Valkey's [Lua](https://www.lua
Console.WriteLine(result); // Hello, Valkey!
```
</TabItem>

</Tabs>

## Handling Inputs with KEYS and ARGV
Expand Down Expand Up @@ -223,7 +222,6 @@ Valkey provides `KEYS` and `ARGV` to handle input parameters:
var result = await client.ScriptInvokeAsync(script, options);
```
</TabItem>

</Tabs>

#### Why Use KEYS and ARGV
Expand Down Expand Up @@ -319,7 +317,6 @@ values directly into the script would create unique scripts each time, preventin
var result = await client.ScriptInvokeAsync(goodScript, options);
```
</TabItem>

</Tabs>

:::tip[Large Data]
Expand Down Expand Up @@ -372,7 +369,6 @@ GLIDE then automatically caches scripts with each `invoke_script()` call.
Console.WriteLine($"Script hash: {script.Hash}"); // SHA1 hash of the script
```
</TabItem>

</Tabs>

Scripts with identical code produce identical hashes, enabling efficient caching and reuse.
Expand Down Expand Up @@ -419,7 +415,6 @@ Scripts with identical code produce identical hashes, enabling efficient caching
System.Diagnostics.Debug.Assert(script1.Hash == script2.Hash); // Same hash
```
</TabItem>

</Tabs>

:::caution[Script hashing is content-sensitive]
Expand Down Expand Up @@ -561,7 +556,6 @@ When executing a script in cluster mode, all `KEYS` must belong to the same shar
.WithArgs("John"));
```
</TabItem>

</Tabs>

### Explicit Routing
Expand Down Expand Up @@ -685,7 +679,6 @@ Adding a hash tag `{}` in the key allow you to specify the specific slot.
var keys = new[] { "user:{1000}:name", "user:{1000}:email" };
```
</TabItem>

</Tabs>

To lean more about hash tags, see the [documentation](https://valkey.io/topics/cluster-spec/#hash-tags).
Expand Down Expand Up @@ -797,7 +790,6 @@ To use Lua scripts within an atomic batch (MULTI/EXEC transaction), you must use
Console.WriteLine($"GET result: {results[1]}"); // script-value
```
</TabItem>

</Tabs>

## What's Next
Expand Down
10 changes: 5 additions & 5 deletions src/content/docs/how-to/security/tls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -679,12 +679,12 @@ Use `WithMutualTLS(cert, key)` (Go) or `useMutualTls(byte[], byte[])` (Java) whe
func ConnectClusterWithMutualTLSBytes() error {
// Load certificate and key bytes from a secret store (not from source).
clientCert := []byte(`-----BEGIN CERTIFICATE-----
MIIDXTCCAkWgAwIBAgIJAKL0UG+mRKmzMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
...
-----END CERTIFICATE-----`)
MIIDXTCCAkWgAwIBAgIJAKL0UG+mRKmzMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
...
-----END CERTIFICATE-----`)
clientKey := []byte(`-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC7...
-----END PRIVATE KEY-----`)
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC7...
-----END PRIVATE KEY-----`)

// Create TLS configuration with in-memory client cert and key.
// The cert and key are loaded once at connection time (static, no reload).
Expand Down
1 change: 0 additions & 1 deletion src/content/docs/reference/scripting-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ The following shows how to covert your `EVAL` command to GLIDE's `Script` interf
});
```
</TabItem>

</Tabs>

### Script Class (After)
Expand Down
8 changes: 4 additions & 4 deletions src/data/available-commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
{ "command": "ACL SETUSER", "valkey-io": "/commands/acl-setuser", "python": "not_available", "node": "not_available", "java": "available", "go": "available", "php": "not_available", "csharp": "not_available", "python-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "node-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "ACL USERS", "valkey-io": "/commands/acl-users", "python": "not_available", "node": "not_available", "java": "available", "go": "available", "php": "not_available", "csharp": "not_available", "python-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "node-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "ACL WHOAMI", "valkey-io": "/commands/acl-whoami", "python": "not_available", "node": "not_available", "java": "available", "go": "available", "php": "not_available", "csharp": "not_available", "python-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "node-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "BGREWRITEAOF", "valkey-io": "/commands/bgrewriteaof", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "not_available", "php": "not_available", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "BGREWRITEAOF", "valkey-io": "/commands/bgrewriteaof", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "available", "php": "available", "ruby": "available" },
{ "command": "BGSAVE", "valkey-io": "/commands/bgsave", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "not_available", "php": "not_available", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "COMMAND", "valkey-io": "/commands/command", "python": "not_available", "node": "not_available", "java": "not_available", "go": "not_available", "csharp": "not_available", "php": "not_available", "href": "#not-applicable", "ruby": "not_available" },
{ "command": "COMMAND COUNT", "valkey-io": "/commands/command-count", "python": "not_available", "node": "not_available", "java": "not_available", "go": "not_available", "csharp": "not_available", "php": "not_available", "python-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "node-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "java-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "go-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
Expand Down Expand Up @@ -363,9 +363,9 @@
{ "command": "LATENCY GRAPH", "valkey-io": "/commands/latency-graph", "python": "not_available", "node": "not_available", "java": "not_available", "go": "not_available", "php": "not_available", "csharp": "not_available", "href": "https://github.com/valkey-io/valkey-glide/issues/6286", "ruby": "available" },
{ "command": "LATENCY HELP", "valkey-io": "/commands/latency-help", "python": "not_available", "node": "not_available", "java": "not_available", "go": "not_available", "php": "not_available", "csharp": "not_available", "href": "#not-applicable", "ruby": "not_available" },
{ "command": "LATENCY HISTOGRAM", "valkey-io": "/commands/latency-histogram", "python": "not_available", "node": "not_available", "java": "not_available", "go": "not_available", "php": "not_available", "csharp": "not_available", "href": "https://github.com/valkey-io/valkey-glide/issues/6286", "ruby": "available" },
{ "command": "LATENCY HISTORY", "valkey-io": "/commands/latency-history", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "not_available", "php": "not_available", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "LATENCY LATEST", "valkey-io": "/commands/latency-latest", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "not_available", "php": "not_available", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "LATENCY RESET", "valkey-io": "/commands/latency-reset", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "not_available", "php": "not_available", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "LATENCY HISTORY", "valkey-io": "/commands/latency-history", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "available", "php": "not_available", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "LATENCY LATEST", "valkey-io": "/commands/latency-latest", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "available", "php": "not_available", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "LATENCY RESET", "valkey-io": "/commands/latency-reset", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "available", "php": "not_available", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "LOLWUT", "valkey-io": "/commands/lolwut", "python": "available", "node": "available", "java": "available", "go": "available", "csharp": "available", "php": "not_available", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6292", "ruby": "available" },
{ "command": "MEMORY", "valkey-io": "/commands/memory", "python": "not_available", "node": "not_available", "java": "not_available", "go": "not_available", "csharp": "not_available", "php": "not_available", "href": "#not-applicable", "ruby": "not_available" },
{ "command": "MEMORY DOCTOR", "valkey-io": "/commands/memory-doctor", "python": "not_available", "node": "not_available", "java": "not_available", "go": "available", "csharp": "not_available", "php": "not_available", "python-href": "https://github.com/valkey-io/valkey-glide/issues/6286", "node-href": "https://github.com/valkey-io/valkey-glide/issues/6286", "java-href": "https://github.com/valkey-io/valkey-glide/issues/6286", "csharp-href": "https://github.com/valkey-io/valkey-glide/issues/6286", "php-href": "https://github.com/valkey-io/valkey-glide/issues/6286", "ruby": "available" },
Expand Down
Loading