diff options
-rw-r--r-- | CHANGELOG.md | 9 | ||||
-rw-r--r-- | service/container.go | 2 | ||||
-rw-r--r-- | service/http/config_test.go | 4 | ||||
-rw-r--r-- | service/rpc/config_test.go | 4 | ||||
-rw-r--r-- | service/static/config_test.go | 4 |
5 files changed, 15 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 66555957..e4d41d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,14 @@ CHANGELOG v1.1.0 (80.07.2018) ------- -- +- bugfix: Wrong values for $_SERVER['REQUEST_TIME'] and $_SERVER['REQUEST_TIME_FLOAT'] +- rr now resolves remoteAddr (ip-address) +- improvements in error buffer +- support for custom configs and dependency injection for services +- support for net/http native middlewares +- better debugger +- config pre-processing now allows second values for http service timeouts +- support for non serving services v1.0.5 (30.06.2018) ------- diff --git a/service/container.go b/service/container.go index 96f2d546..436d2e5f 100644 --- a/service/container.go +++ b/service/container.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/pkg/errors" "github.com/sirupsen/logrus" - "sync" "reflect" + "sync" ) var noConfig = fmt.Errorf("no config has been provided") diff --git a/service/http/config_test.go b/service/http/config_test.go index 86622cdf..2e3fe731 100644 --- a/service/http/config_test.go +++ b/service/http/config_test.go @@ -1,13 +1,13 @@ package http import ( + "encoding/json" "github.com/spiral/roadrunner" + "github.com/spiral/roadrunner/service" "github.com/stretchr/testify/assert" "os" "testing" "time" - "github.com/spiral/roadrunner/service" - "encoding/json" ) type mockCfg struct{ cfg string } diff --git a/service/rpc/config_test.go b/service/rpc/config_test.go index 95eb41b4..a7c51c0f 100644 --- a/service/rpc/config_test.go +++ b/service/rpc/config_test.go @@ -1,11 +1,11 @@ package rpc import ( + "encoding/json" + "github.com/spiral/roadrunner/service" "github.com/stretchr/testify/assert" "runtime" "testing" - "encoding/json" - "github.com/spiral/roadrunner/service" ) type testCfg struct{ cfg string } diff --git a/service/static/config_test.go b/service/static/config_test.go index baa9776f..18168d59 100644 --- a/service/static/config_test.go +++ b/service/static/config_test.go @@ -1,10 +1,10 @@ package static import ( + "encoding/json" + "github.com/spiral/roadrunner/service" "github.com/stretchr/testify/assert" "testing" - "github.com/spiral/roadrunner/service" - "encoding/json" ) type mockCfg struct{ cfg string } |