Releases: si3nloong/sqlgen
Releases 路 si3nloong/sqlgen
Version 1.0.0-alpha.5
Summary
- Update documentation
- BREAKING CHANGE of update config settings, including rename of setting key
- Update installation path using
go install
- Bump dependencies
- It always unquote identifier by default, but can be enable using config
- Fix bug of generated
_getTableSQL
statement - Fix bug of generated
INSERT INTO statement
- Fix bug of
postgres
generated code - Fix
INSERT
andINSERT INTO
argument number is not start from 1 but 0 - Fix code generation ignore source path with suffix of *
- Fix sqlgen stop generate when the input file has error
Full Changelog: v1.0.0-alpha.4...v1.0.0-alpha.5
Version 1.0.0-alpha.4
Summary
- BREAKING CHANGE on
IsAutoIncr
interface - BREAKING CHANGE: rename
sequel.Name
tosequel.Table
- Update documentation
- Fixed code generation bugs of
postgres
SQL driver - Enable
codecov
- Improved performance
What's Changed
- feat: support
Postgres
by @si3nloong in #61 - feat: update by primary key by @si3nloong in #62
Full Changelog: v1.0.0-alpha.3...v1.0.0-alpha.4
Version 1.0.0-alpha.3
Version 1.0.0-alpha.2
Summary
- Support embedded struct
- Support custom marshaler and unmarshaler
- Fixed packages not loaded error if we doesn't import
sqlgen
- Improve performance
- Fixed bugs (property path name, go mod tidy, column no if has auto incr key)
- Refactor auto increment key interface
- Rename functions name
- Update documentation
What's Changed
- feat: support embedded imported struct by @si3nloong in #54
- feat: add support for custom marshaler and unmarshaler by @si3nloong in #56
Full Changelog: v1.0.0-alpha.1...v1.0.0-alpha.2
Version 1.0.0-alpha.1
Summary
- Expose
SqlDriver
type to public - Fixed multiple create operation of
db.go
file - Added
GetterConfig
andDatabaseOperatorConfig
- Codegen now will generate getter for every column
- Codegen now will generate
InsertOneStmt
andInsertVarQuery
to improve the performance - Fixed
Expr
import package even the type is from current package - Update documentation
- Added
civil.Date
marshaler and unmarshaler - Removed
db
utilities, no longer required - Validate column name before code generation
Full Changelog: v1.0.0-alpha.0...v1.0.0-alpha.1
Version 1.0.0-alpha.0
Summary
- Introduce
sqlgen
CLI. - Generate Go boilerplate codes.
- Add tests.
What's Changed
- chore(deps): bump actions/setup-go from 3 to 4 by @dependabot in #1
- chore(deps): bump golang.org/x/tools from 0.2.0 to 0.7.0 by @dependabot in #2
- refactor: everything by @si3nloong in #3
- chore(deps): bump golang.org/x/tools from 0.7.0 to 0.8.0 by @dependabot in #5
- chore(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 by @dependabot in #4
- chore(deps): bump golang.org/x/tools from 0.8.0 to 0.9.0 by @dependabot in #6
- chore(deps): bump golang.org/x/tools from 0.9.0 to 0.9.3 by @dependabot in #11
- chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 by @dependabot in #9
- chore(deps): bump golang.org/x/tools from 0.9.3 to 0.10.0 by @dependabot in #13
- chore(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 by @dependabot in #12
- chore(deps): bump golang.org/x/tools from 0.10.0 to 0.11.0 by @dependabot in #14
- chore(deps): bump golang.org/x/tools from 0.11.0 to 0.11.1 by @dependabot in #15
- chore(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 by @dependabot in #16
- Optimisation by @si3nloong in #18
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #17
- chore(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 by @dependabot in #19
- chore: auto merge PR by @si3nloong in #22
- chore(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 by @dependabot in #20
- chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 by @dependabot in #21
- chore(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 by @dependabot in #28
- v2: refactor and redesign everything by @si3nloong in #26
- release: BETA release by @si3nloong in #37
- Documentation by @si3nloong in #38
- Add documentation and update version by @si3nloong in #39
- chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 by @dependabot in #47
- chore(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 by @dependabot in #48
- feat: enable codegen for type definition struct by @si3nloong in #49
- feat: support complex query by @si3nloong in #51
Full Changelog: https://github.com/si3nloong/sqlgen/commits/v1.0.0-alpha.0