Releases: poteto-go/poteto
Releases · poteto-go/poteto
v1.3.3
1.3.X
1.3.3
- Bump github.com/goccy/go-yaml from 1.15.15 to 1.15.17 in #216
- Bump github.com/goccy/go-json from 0.10.4 to 0.10.5 in #217
1.3.2
1.3.1
- DEBUG: add some debug mode log by @poteto0 in #213
- FEAT: env for setting poteto option by @poteto0 in #213
- Bump github.com/goccy/go-yaml from 1.15.13 to 1.15.15 in #211
1.3.0
- DEP: Poteto's go version update -> 1.23 by @poteto0 in #207
- FEAT: startUpWorkflows run function just before server start in #204
NOTE:
func main() {
p := New()
// run function just before server#Serve
p.RegisterWorkflow(constant.START_UP_WORKFLOW, 1, func() error)
}
v1.2.1
v1.1.1
1.1.1
- CHANGE: devcontainer.json to show git branch by @eaggle23 in #192
- [potet-cli] FEAT:
poteto-cli -v | --version
by @eaggle23 in poteto-go/poteto-cli#9 - [potet-cli] CHANGE: devcontainer.json to show git branch name by @eaggle in poteto-go/poteto-cli#10
1.1.0
- DOC: on poteto-cli docker by @poteto0 in #185
- [potet-cli] REF: prepare docker image by @poteto0 in poteto-go/poteto-cli#6
- [potet-cli] BUG: fix wrong dependency by @poteto0 in poteto-go/poteto-cli#6
- [potet-cli] BUG: fix version by @poteto0 in poteto-go/poteto-cli#6
- [potet-cli] CHANGE: template by @poteto0 in poteto-go/poteto-cli#6
v1.0.1
Full changelog from v0.26.5
.
1.0.1
- BUG: fix lf & docker-compose by @poteto0 in poteto-go/poteto-cli#1
- CHANGE: using PotetoPrint by @poteto0 in poteto-go/poteto-cli#1
- DOC: on move by @poteto0 in #182
- OP: poteto-cli & example repo moved by @poteto0 in #182
1.0.0
0.26.5
Changelog
Full change log from v0.25.3
0.26.5
- BUG: no-inline test; issue below by @poteto0 in #173
#169 - TEST: ut upgrated by @poteto0 in #173
- REF: split cmd & engine by @poteto0 in #173
0.26.4
- REFACT: poteto & middleware by @poteto0 in #171
- FEAT:
ctx.SetResponseHeader(key, value string)
internal callres.Header().Set(key, value string)
by @poteto0 in #171 - FEAT:
Response.SetHeader(key, value string)
internal callwriter.Header().Set(key, value string)
by @poteto0 in #171 - FEAT:
ctx.GetRequestHeaderParam(key string) string
internal callreq.Header().Get(key string) string
by @poteto0 in #171 - FEAT:
ctx.ExtractRequestHeaderParam(key string) []string
internal callreturn req.Header[key]
by @poteto0 in #171 - FEAT:
AddHeader(key, value string)
internal callwriter.Add(key, value string)
by @poteto0 in #171
0.26.3
- TEST: fix not ut in poteto-cli by @poteto0 in #168
- FEAT: FEAT:
poteto-cli new -d | --docker
gen with Dockerfile & docker-compose.yaml by @poteto0 in #168 - FEAT:
poteto-cli new -j | --jsonrpc
gen jsonrpc template by @poteto0 in #166
0.26.2
- TEST: add benchmark by @poteto0 in #164
- Build(deps): bump github.com/goccy/go-yaml from 1.15.10 to 1.15.13 in #163
0.26.1
- EXAMPLE: add example on jsonrpc by @poteto0 in #160
- EXAMPLE: add example on fast-api by @poteto0 in #160
- EXAMPLE: add example on api by @poteto0 in #160
- BUG: fix
PotetoJSONRPCAdapter
dosen't check class by @poteto0 in #158
0.26.0
KeyNote: You can serve JSONRPC server easily.
type (
Calculator struct{}
AdditionArgs struct {
Add, Added int
}
)
func (tc *TestCalculator) Add(r *http.Request, args *AdditionArgs) int {
return args.Add + args.Added
}
func main() {
p := New()
rpc := TestCalculator{}
// you can access "/add/Calculator.Add"
p.POST("/add", func(ctx Context) error {
return PotetoJsonRPCAdapter[Calculator, AdditionArgs](ctx, &rpc)
})
p.Run("8080")
}
v0.25.3
Changes
full change log from v0.24.0
0.25.3
- Bump github.com/goccy/go-json from 0.10.3 to 0.10.4 in #152
- Bump github.com/goccy/go-yaml from 1.15.7 to 1.15.10 in #151
0.25.2
- BUG: fix ut ignore path by @poteto0 in #147
- OP: test on [email protected], [email protected], [email protected] by @poteto0 in #147
- OP: only [email protected] upload to codecov by @poteto0 in #148
0.25.1
- TEST: ut progress by @poteto0 in #141
- CHANGE: appropriate error messages by @poteto0 in #140
- TEST: ut progress by @poteto0 in #136
0.25.0
v0.24.0
Changes
full change log from v0.23.0
- OPTIMIZE: middlewareTree by @eaggle23 in #131
- FEATURE: ctx.DebugParam by @poteto0 in #125
- FEATURE: mid param router ex /users/:id/name by @poteto0 in #122
- REFACTOR: some switch case by @poteto0 in #122
- OPTIMIZE: performance tuning by @poteto0 in #117
- OPTIMIZE: performance tuning by @poteto0 in #116
- BUG: fix "/" routes didn't work by @poteto0 in #112
- OPTIMIZE: optimize router's structure & faster by @poteto0 in #109
- FEATURE: Now, poteto follows patch, head, options, trace, and connect by @poteto0 in #109
- DOCUMENT: update some document by @poteto0 in #109
- DOCUMENT: example app by @poteto0 in #104
- BUG: fix server addr not allocated @poteto0 in #101