summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: 94dca5f3e5a2b5cdbf782de87df653a3a2f38983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
CHANGELOG
=========

v2.3.0 (08.06.2021)
-------------------

## ๐Ÿ‘€ New:
- Brand new `broadcast` plugins that now have the name - `websockets` with broadcast capabilities. It can handle hundreds of
thousands websocket connections very efficiently (~300k messages per second with 1k connected clients, in-memory bus on 2CPU cores and 1GB of RAM)

- Flatbuffers binary messages for the `websockets` RPC calls under the hood.

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix:

---

v2.2.1 (13.05.2021)
-------------------

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix: revert static plugin. It stays as a separate plugin on the main route (`/`) and supports all the previously announced features.
- ๐Ÿ› Fix: remove `build` and other old targets from the Makefile.

---

v2.2.0 (11.05.2021)
-------------------

## ๐Ÿ‘€ New:

- โœ๏ธ Reworked `static` plugin. Now, it does not affect the performance of the main route and persist on the separate
  file server (within the `http` plugin). Looong awaited feature: `Etag` (+ weak Etags) as well with the `If-Mach`
  , `If-None-Match`, `If-Range`, `Last-Modified`
  and `If-Modified-Since` tags supported. Static plugin has a bunch of new options such as: `allow`, `calculate_etag`
  , `weak` and `pattern`.
  ### Option `always` was deleted from the plugin.


- โœ๏ธ Update `informer.List` implementation. Now it returns a list with the all available plugins in the runtime.

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix: issue with wrong ordered middlewares (reverse). Now the order is correct.
- ๐Ÿ› Fix: issue when RR fails if a user sets `debug` mode with the `exec_ttl` supervisor option.
- ๐Ÿ› Fix: uniform log levels. Use everywhere the same levels (warn, error, debug, info, panic).

---

v2.1.1 (29.04.2021)
-------------------

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix: issue with endure provided wrong logger interface implementation.

v2.1.0 (27.04.2021)
-------------------

## ๐Ÿ‘€ New:

- โœ๏ธ New `service` plugin. Docs: [link](https://roadrunner.dev/docs/beep-beep-service)
- โœ๏ธ Stabilize `kv` plugin with `boltdb`, `in-memory`, `memcached` and `redis` drivers.

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix: Logger didn't provide an anonymous log instance to a plugins w/o `Named` interface implemented.
- ๐Ÿ› Fix: http handler was without log listener after `rr reset`.

v2.0.4 (06.04.2021)
-------------------

## ๐Ÿ‘€ New:

- โœ๏ธ Add support for `linux/arm64` platform for docker image (thanks @tarampampam).
- โœ๏ธ Add dotenv file support (`.env` in working directory by default; file location can be changed using CLI
  flag `--dotenv` or `DOTENV_PATH` environment variable) (thanks @tarampampam).
- ๐Ÿ“œ Add a new `raw` mode for the `logger` plugin to keep the stderr log message of the worker unmodified (logger
  severity level should be at least `INFO`).
- ๐Ÿ†• Add Readiness probe check. The `status` plugin provides `/ready` endpoint which return the `204` HTTP code if there
  are no workers in the `Ready` state and `200 OK` status if there are at least 1 worker in the `Ready` state.

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix: bug with the temporal worker which does not follow general graceful shutdown period.

v2.0.3 (29.03.2021)
-------------------

## ๐Ÿฉน Fixes:

- ๐Ÿ› Fix: slow last response when reached `max_jobs` limit.

v2.0.2 (06.04.2021)
-------------------

- ๐Ÿ› Fix: Bug with required Root CA certificate for the SSL, now it's optional.
- ๐Ÿ› Fix: Bug with incorrectly consuming metrics collector from the RPC calls (thanks @dstrop).
- ๐Ÿ†• New: HTTP/FCGI/HTTPS internal logs instead of going to the raw stdout will be displayed in the RR logger at
  the `Info` log level.
- โšก New: Builds for the Mac with the M1 processor (arm64).
- ๐Ÿ‘ท Rework ServeHTTP handler logic. Use http.Error instead of writing code directly to the response writer. Other small
  improvements.

v2.0.1 (09.03.2021)
-------------------

- ๐Ÿ› Fix: incorrect PHP command validation
- ๐Ÿ› Fix: ldflags properly inject RR version
- โฌ†๏ธ Update: README, links to the go.pkg from v1 to v2
- ๐Ÿ“ฆ Bump golang version in the Dockerfile and in the `go.mod` to 1.16
- ๐Ÿ“ฆ Bump Endure container to v1.0.0.

v2.0.0 (02.03.2021)
-------------------

- โœ”๏ธ Add a shared server to create PHP worker pools instead of isolated worker pool in each individual plugin.
- ๐Ÿ†• New plugin system with auto-recovery, easier plugin API.
- ๐Ÿ“œ New `logger` plugin to configure logging for each plugin individually.
- ๐Ÿ” Up to 50% performance increase in HTTP workloads.
- โœ”๏ธ Add **[Temporal Workflow](https://temporal.io)** plugin to run distributed computations on scale.
- โœ”๏ธ Add `debug` flag to reload PHP worker ahead of a request (emulates PHP-FPM behavior).
- โŒ Eliminate `limit` service, now each worker pool includes `supervisor` configuration.
- ๐Ÿ†• New resetter, informer plugins to perform hot reloads and observe loggers in a system.
- ๐Ÿ’ซ Expose more HTTP plugin configuration options.
- ๐Ÿ†• Headers, static and gzip services now located in HTTP config.
- ๐Ÿ†• Ability to configure the middleware sequence.
- ๐Ÿ’ฃ Faster Goridge protocol (eliminated 50% of syscalls).
- ๐Ÿ’พ Add support for binary payloads for RPC (`msgpack`).
- ๐Ÿ†• Server no longer stops when a PHP worker dies (attempts to restart).
- ๐Ÿ’พ New RR binary server downloader.
- ๐Ÿ’ฃ Echoing no longer breaks execution (yay!).
- ๐Ÿ†• Migration to ZapLogger instead of Logrus.
- ๐Ÿ’ฅ RR can no longer stuck when studding down with broken tasks in a pipeline.
- ๐Ÿงช More tests, more static analysis.
- ๐Ÿ’ฅ Create a new foundation for new KV, WebSocket, GRPC and Queue plugins.

v2.0.0-RC.4 (20.02.2021)
-------------------

- PHP tests use latest signatures (https://github.com/spiral/roadrunner/pull/550).
- Endure container update to v1.0.0-RC.2 version.
- Remove unneeded mutex from the `http.Workers` method.
- Rename `checker` plugin package to `status`, remove `/v1` endpoint prefix (#557).
- Add static, headers, status, gzip plugins to the `main.go`.
- Fix workers pool behavior -> idle_ttl, ttl, max_memory are soft errors and exec_ttl is hard error.

v2.0.0-RC.3 (17.02.2021)
-------------------

- Add support for the overwriting `.rr.yaml` keys with values (ref: https://roadrunner.dev/docs/intro-config)
- Make logger plugin optional to define in the config. Default values: level -> `debug`, mode -> `development`
- Add the ability to read env variables from the `.rr.yaml` in the form of: `rpc.listen: {RPC_ADDR}`. Reference:
  ref: https://roadrunner.dev/docs/intro-config (Environment Variables paragraph)

v2.0.0-RC.2 (11.02.2021)
-------------------

- Update RR to version v2.0.0-RC.2
- Update Temporal plugin to version v2.0.0-RC.1
- Update Goridge to version v3.0.1
- Update Endure to version v1.0.0-RC.1