-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize json implementation on startup
- Loading branch information
1 parent
1c9e7f4
commit 666f0dc
Showing
11 changed files
with
252 additions
and
639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,82 @@ | ||
# vNext | ||
|
||
# v1.4.3 | ||
|
||
- (improvement) Initialize json implementation on startup | ||
- (improvement) Update dependencies | ||
|
||
# v1.4.2 | ||
|
||
- (bug) Fix grpc runtime stop | ||
- (bug) Fix grpc runtime stop | ||
|
||
# v1.4.1 | ||
|
||
- (bug) Fix grpc runtime stop | ||
- (bug) Fix grpc runtime stop | ||
|
||
# v1.4.0 | ||
|
||
- (feature) Add `OnStopLast` to `Lifecycle` | ||
- (improvement) Set health to unhealthy on lifecycle stop | ||
- (feature) Add `OnStopLast` to `Lifecycle` | ||
- (improvement) Set health to unhealthy on lifecycle stop | ||
|
||
# v1.3.2 | ||
|
||
- (feature) Add validate mehtod to custom json un/marshall functions | ||
- (feature) Add validate mehtod to custom json un/marshall functions | ||
|
||
# v1.3.1 | ||
|
||
- (feature) Add custom json un-/marshall functions | ||
- (internal) Use goccy/go-json when Architecture is ARM64 instead of bytedance/sonic | ||
- (feature) Add custom json un-/marshall functions | ||
- (internal) Use goccy/go-json when Architecture is ARM64 instead of bytedance/sonic | ||
|
||
# v1.3.0 | ||
|
||
- (feature) Add bytedance/sonic as default fiber json en-/decoder | ||
- (feature) Make json en-/decoder configurable with `FIBER_JSON_ENCODER` and `FIBER_JSON_DECODER` | ||
- (feature) Add bytedance/sonic as default fiber json en-/decoder | ||
- (feature) Make json en-/decoder configurable with `FIBER_JSON_ENCODER` and `FIBER_JSON_DECODER` | ||
|
||
# v1.2.0 | ||
|
||
- (feature) Specify allowed CORS headers by `CORS_ALLOW_HEADERS` as string that contains the headers list separated by `,` symbols: `Content-Type, Accept` | ||
- (feature) Specify which headers to expose for CORS by `CORS_EXPOSE_HEADERS` as string that contains the headers list separated by `,` symbols: `Content-Type, Accept` | ||
- (feature) Specify if CORS are allowed to contain credentials by setting the `CORS_ALLOW_CREDENTIALS` env variable to true | ||
- (feature) Specify allowed CORS headers by `CORS_ALLOW_HEADERS` as string that contains the headers list separated by `,` symbols: `Content-Type, Accept` | ||
- (feature) Specify which headers to expose for CORS by `CORS_EXPOSE_HEADERS` as string that contains the headers list separated by `,` symbols: `Content-Type, Accept` | ||
- (feature) Specify if CORS are allowed to contain credentials by setting the `CORS_ALLOW_CREDENTIALS` env variable to true | ||
|
||
# v1.1.0 | ||
|
||
- (feature) Specify allowed CORS origins by `CORS_ALLOW_ORIGINS` as string that contains the hosts list separated by `,` symbols: `https://becklyn.com, https://www.becklyn.com` | ||
- (feature) Specify allowed CORS origins by `CORS_ALLOW_ORIGINS` as string that contains the hosts list separated by `,` symbols: `https://becklyn.com, https://www.becklyn.com` | ||
|
||
# v1.0.2 | ||
|
||
- (improvement) Force fiber shutdown after 3 seconds | ||
- (improvement) Force fiber shutdown after 3 seconds | ||
|
||
# v1.0.1 | ||
|
||
- (internal) Adjust logger format by `LOG_FORMAT` env variable | ||
- (internal) Adjust logger format by `LOG_FORMAT` env variable | ||
|
||
# v1.0.0 | ||
|
||
- (bc) Use golog instead of logrus | ||
- (bc) Remove CQRS package | ||
- (bc) Use golog instead of logrus | ||
- (bc) Remove CQRS package | ||
|
||
# v1.0.0-alpha.4 | ||
|
||
- (feature) Set upload limit for files by environment variable HTTP_REQUEST_BODY_LIMIT | ||
- (feature) Set upload limit for files by environment variable HTTP_REQUEST_BODY_LIMIT | ||
|
||
# v1.0.0-alpha.3 | ||
|
||
- (improvement) Fiber logger uses debug level | ||
- (improvement) Improve runtime and runtime logging | ||
- (improvement) Fiber logger uses debug level | ||
- (improvement) Improve runtime and runtime logging | ||
|
||
# v1.0.0-alpha.2 | ||
|
||
- (feature) Add wire sets to all packages | ||
- (feature) Add wire sets to all packages | ||
|
||
# v1.0.0-alpha.1 | ||
|
||
- (feature) App package | ||
- (feature) CQRS package | ||
- (feature) Env package | ||
- (feature) Fiber package | ||
- (feature) GraphQL package | ||
- (feature) gRPC package | ||
- (feature) Health package | ||
- (feature) Logging package | ||
- (feature) Metrics package | ||
- (feature) Readyness package | ||
- (feature) App package | ||
- (feature) CQRS package | ||
- (feature) Env package | ||
- (feature) Fiber package | ||
- (feature) GraphQL package | ||
- (feature) gRPC package | ||
- (feature) Health package | ||
- (feature) Logging package | ||
- (feature) Metrics package | ||
- (feature) Readyness package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,57 @@ | ||
module github.com/Becklyn/go-wire-core | ||
|
||
go 1.18 | ||
go 1.22.7 | ||
|
||
require ( | ||
github.com/bytedance/sonic v1.12.3 | ||
github.com/fraym/golog v0.2.2 | ||
github.com/gofiber/adaptor/v2 v2.1.27 | ||
github.com/goccy/go-json v0.10.3 | ||
github.com/gofiber/fiber/v2 v2.46.0 | ||
github.com/google/wire v0.5.0 | ||
github.com/graphql-go/graphql v0.8.0 | ||
github.com/google/wire v0.6.0 | ||
github.com/graphql-go/graphql v0.8.1 | ||
github.com/joho/godotenv v1.5.1 | ||
github.com/prometheus/client_golang v1.13.0 | ||
github.com/rs/zerolog v1.29.1 | ||
github.com/stretchr/testify v1.8.3 | ||
google.golang.org/grpc v1.31.0 | ||
github.com/prometheus/client_golang v1.20.5 | ||
github.com/rs/zerolog v1.33.0 | ||
github.com/stretchr/testify v1.9.0 | ||
google.golang.org/grpc v1.68.0 | ||
) | ||
|
||
require ( | ||
github.com/andybalholm/brotli v1.0.5 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/bytedance/sonic v1.10.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect | ||
github.com/chenzhuoyu/iasm v0.9.0 // indirect | ||
github.com/bytedance/sonic/loader v0.2.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/cloudwego/base64x v0.1.4 // indirect | ||
github.com/cloudwego/iasm v0.2.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/goccy/go-json v0.10.2 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/klauspost/compress v1.16.3 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.5 // indirect | ||
github.com/kr/pretty v0.3.0 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/klauspost/compress v1.17.9 // indirect | ||
github.com/klauspost/cpuid/v2 v2.0.9 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.19 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-runewidth v0.0.14 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/philhofer/fwd v1.1.2 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.55.0 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
github.com/rivo/uniseg v0.2.0 // indirect | ||
github.com/rogpeppe/go-internal v1.8.0 // indirect | ||
github.com/savsgio/dictpool v0.0.0-20221023140959-7bf2e61cea94 // indirect | ||
github.com/savsgio/gotils v0.0.0-20230208104028-c358bd845dee // indirect | ||
github.com/sirupsen/logrus v1.9.2 // indirect | ||
github.com/stretchr/objx v0.5.0 // indirect | ||
github.com/sirupsen/logrus v1.9.3 // indirect | ||
github.com/stretchr/objx v0.5.2 // indirect | ||
github.com/tinylib/msgp v1.1.8 // indirect | ||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||
github.com/valyala/bytebufferpool v1.0.0 // indirect | ||
github.com/valyala/fasthttp v1.47.0 // indirect | ||
github.com/valyala/tcplisten v1.0.0 // indirect | ||
golang.org/x/arch v0.4.0 // indirect | ||
golang.org/x/net v0.8.0 // indirect | ||
golang.org/x/sys v0.11.0 // indirect | ||
golang.org/x/text v0.8.0 // indirect | ||
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect | ||
golang.org/x/net v0.29.0 // indirect | ||
golang.org/x/sys v0.27.0 // indirect | ||
golang.org/x/text v0.18.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect | ||
google.golang.org/protobuf v1.34.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.