Skip to content

Releases

v0.21.1: MySQL NoReturning dialect fix

Choose a tag to compare

@fadymondy fadymondy released this 13 Oct 15:50
b6acbc1

togo is the microkernel of the togo framework: an open-source, API-first Go framework (Go + sqlc + Atlas + GraphQL/OpenAPI) with a Laravel-artisan-style CLI. The kernel handles config, the hook/event bus, the plugin registry, database dialects and server bootstrap. Everything else is a plugin.

This is the first GitHub Release for the kernel. Earlier versions are available as tags.

What's new in v0.21.1

  • MySQL dialect fix: Dialect.NoReturning flags MySQL as having no INSERT … RETURNING, so generated code and plugins can use a different insert strategy (#1).
  • New ToGO brand marks in arts/ and the README header. The retired gradient marks are gone.

Included from v0.21.0

  • Dialect registry: RegisterDialect lets database drivers ship as plugins.
  • Composable global middleware: UseMiddleware + Handler.
  • Plugin-submission issue form for to-go.dev/plugins/submit.

Install / quick start

go get github.com/togo-framework/togo@v0.21.1     # the kernel, as a library

# or start a full app with the CLI
go install github.com/togo-framework/cli@latest
togo new myapp && cd myapp
togo make:resource Post title:string body:text:nullable
togo generate
togo serve

Links

Full changelog: v0.21.0...v0.21.1

⭐ If togo saves you time, star the repo so more Go developers can find it.