spiral-modules / roadrunner-binary

πŸ’Ύ High-performance PHP application server, load-balancer and process manager written in Golang. RR2 releases repository.
MIT License
44 stars 25 forks source link

feat(release): `v2.5.0` release #114

Closed rustatian closed 2 years ago

rustatian commented 2 years ago

Reason for This PR

Description of Changes

πŸ’” Breaking change:

Old style:

broadcast:
    default:
        driver: memory
        interval: 1

New style:

broadcast:
  default:
    driver: memory
     config: {} <--------------- NEW
kv:
  memory-rr:
    driver: memory
    config: <--------------- NEW
      interval: 1

kv:
  memcached-rr:
    driver: memcached
    config: <--------------- NEW
       addr:
         - "127.0.0.1:11211"

broadcast:
  default:
    driver: redis
    config: <------------------ NEW
      addrs:
        - "127.0.0.1:6379"

πŸ‘€ New:

New option:

# Logs plugin settings
logs:
    (....)
    # Line ending
    #
    # Default: "\n".
    line_ending: "\n"

jobs: num_pollers: 10 pipeline_size: 100000 pool: num_workers: 10 max_jobs: 0 allocate_timeout: 60s destroy_timeout: 60s

pipelines: test-1: driver: nats prefetch: 100 subject: "default" stream: "foo" deliver_new: "true" rate_limit: 100 delete_stream_on_stop: false delete_after_ack: false priority: 2

consume: [ "test-1" ]


- Driver uses NATS JetStream API and is not compatible with non-js API.

- ✏️ Response API for the NATS, RabbitMQ, SQS and Beanstalk drivers. This means, that you'll be able to respond to a specified in the response queue.
  Limitations:
    - To send a response to the queue maintained by the RR, you should send it as a `Job` type. There are no limitations for the responses into the other queues (tubes, subjects).
    - Driver uses the same endpoint (address) to send the response as specified in the configuration.

## 🩹 Fixes:

- πŸ› Fix: local and global configuration parsing.
- πŸ› Fix: `boltdb-jobs` connection left open after RPC close command.
- πŸ› Fix: close `beanstalk` connection and release associated resources after pipeline stopped.
- πŸ› Fix: grpc plugin fails to handle requests after calling `reset`.
- πŸ› Fix: superfluous response.WriteHeader call when connection is broken.

## πŸ“¦ Packages:

- πŸ“¦ roadrunner `v2.5.0`
- πŸ“¦ roadrunner-plugins `v2.5.0`
- πŸ“¦ roadrunner-temporal `v1.0.10`
- πŸ“¦ endure `v1.0.6`
- πŸ“¦ goridge `v3.2.3`

## License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

## PR Checklist

`[Author TODO: Meet these criteria.]`
`[Reviewer TODO: Verify that these criteria are met. Request changes if not]`

- [x] All commits in this PR are signed (`git commit -s`).
- [x] The reason for this PR is clearly provided (issue no. or explanation).
- [x] The description of changes is clear and encompassing.
- [x] Any required documentation changes (code and docs) are included in this PR.
- [x] Any user-facing changes are mentioned in `CHANGELOG.md`.
- [x] All added/changed functionality is tested.
codecov[bot] commented 2 years ago

Codecov Report

Merging #114 (6230263) into master (f3243d4) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   43.49%   43.49%           
=======================================
  Files          12       12           
  Lines         561      561           
=======================================
  Hits          244      244           
  Misses        306      306           
  Partials       11       11           

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update f3243d4...6230263. Read the comment docs.