Cog

Latest version: v0.9.9

Safety actively analyzes 638361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 24

0.3.12

Changelog
* 67403ee Reset upgrade state when upgraded

0.3.11

Changes

A breaking change in redis-py 4.3.4 breaks Cog's queue worker. This release handles the new XAUTOCLAIM response format in a backwards-compatible way.

If you're upgrading Cog to this version to get a working queue worker, you just need to rebuild and push after upgrading. No changes to your code are necessary.

Changelog
* 91a2745 Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
* 9b6bb20 Handle new XAUTOCLAIM response introduced in redis>=4.3.4

0.3.10

Changes
A bumper release, with five improvements to the queue worker:

* We've added some OpenTelemetry instrumentation for distributed tracing 646
* Start and finish timestamps are includes with responses, in an experimental property 599
* The worker handles a SIGTERM better, shutting down more quickly 658
* A response is sent when the worker starts a prediction, for quicker feedback 657
* A fix to support output like `Iterator[List[Output]]` 653

Full changelog
* 3787884 Add HTTP test for iterator of list of complex output
* a6f002c Add OpenTelemetry instrumentation to queue worker
* ce434ce Add docs for queue worker telemetry
* f0d45d8 Bump github.com/spf13/cobra from 1.4.0 to 1.5.0
* df737d5 Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
* 9848edf Fix bad variable in log line
* 3b1553f Handle SIGTERM gracefully
* 61c5fc4 Ignore OpenTelemetry typing issues
* da5f485 Include timestamps in Redis responses
* b3bec59 Pin protobuf to make opentelemetry work
* cbfe5bf Record time in queue in opentelemetry span
* ba12047 Remove unused variable: start_time
* c104704 Send response when queue worker starts predict
* fcbe521 Split encode_json() into make_encodeable() and upload_files()
* fa3a472 Use blpop not brpop in Redis tests
* 9a20b26 Use make_encodeable inside prediction runner
* 01bd1bb document how to optionally set output properties

0.3.9

Changelog
* af78184 Annotate iterators so we can differentiate from lists
* db9bf0b Bump github.com/docker/cli
* b5fac51 Bump github.com/docker/docker
* 3c9ed16 Bump github.com/getkin/kin-openapi from 0.96.0 to 0.97.0
* 142a2bd Support lists of complex outputs in queue worker

0.3.8

Changelog
* e78b115 Log message_id in messages from Redis queue worker
* 30f2cbb Make queue worker wait for setup before taking jobs

0.3.7

Changelog
* c087545 Check for new versions
* 2ee5b85 link to cog-redis-example repo

Page 17 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.