forked from smallnest/gen
-
Notifications
You must be signed in to change notification settings - Fork 2
/
release.history
97 lines (97 loc) · 5.27 KB
/
release.history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
- v0.9.27 (08/04/2020)
- Updated '--exec' mode to provide various functions for processing
- copy function updated to provide --include and --exclude patterns. Patterns are processed in order, an include preceeding an exclude will take precedence. Multiple include and excludes can be specified. Files ending with .table.tmpl will be processed for each table. Output filenames will be stored in the proper directory, with a name of the table with the suffix of the template extension. Files ending with .tmpl will be processed as a template and the filename will be the name of the template stripped with the .tmpl suffix.
- When processing templates, files generated with a .go extension will be formatted with the go fmt.
- v0.9.26 (07/31/2020)
- Release scripting
- Added custom script functions to copy, mkdir, touch, pwd
- Fixed custom script exec example
- v0.9.25 (07/26/2020)
- Adhere json-fmt flag for all JSON response so when camel or lower_camel is specified, fields name in GetAll variant and DDL info will also have the same name format
- Fix: Build information embedded through linker in Makefile is not consistent with the variable defined in main file.
- Added --scheme and --listen options. This allows compiled binary to be used behind reverse proxy.
- In addition, template for generating URL was fixed, i.e. when PORT is 80, then PORT is omitted from URL segment.
- v0.9.24 (07/13/2020)
- Fixed array bounds issue parsing mysql db meta
- v0.9.23 (07/10/2020)
- Added postgres types: bigserial, serial, smallserial, bigserial, float4 to mapping.json
- v0.9.22 (07/08/2020)
- Modified gogo.proto check to use GOPATH not hardcoded.
- Updated gen to error exit on first error encountered
- Added color output for error
- Added --no-color option for non colorized output
- v0.9.21 (07/07/2020)
- Repacking templates, update version number in info.
- v0.9.20 (07/07/2020)
- Fixed render error in router.go.tmpl
- upgraded project to use go.mod 1.14
- v0.9.19 (07/07/2020)
- Added --windows flag to write files with CRLF windows line endings, otherwise they are all unix based LF line endings
- v0.9.18 (06/30/2020)
- Fixed naming in templates away from hard coded model package.
- v0.9.17 (06/30/2020)
- Refactored template loading, to better report error in template
- Added option to run gofmt on output directory
- v0.9.16 (06/29/2020)
- Fixes to router.go.tmpl from calvinchengx
- Added postgres db support for inet and timestamptz
- v0.9.15 (06/23/2020)
- Code cleanup using gofmt name suggestions.
- Template updates for generated code cleanup using gofmt name suggestions.
- v0.9.14 (06/23/2020)
- Added model comment on field line if available from database.
- Added exposing TableInfo via api call.
- v0.9.13 (06/22/2020)
- fixed closing of connections via defer
- bug fixes in sqlx generated code
- v0.9.12 (06/14/2020)
- SQLX changed MustExec to Exec and checking/returning error
- Updated field renaming if duplicated, need more elegant renaming solution.
- Added exclude to test.sh
- v0.9.11 (06/13/2020)
- Added ability to pass field, model and file naming format
- updated test scripts
- Fixed sqlx sql query placeholders
- v0.9.10 (06/11/2020)
- Bug fix with retrieving varchar length from mysql
- Added support for mysql unsigned decimal - maps to float
- v0.9.9 (06/11/2020)
- Fixed issue with mysql and table named `order`
- Fixed internals in GetAll generation in gorm and sqlx.
- v0.9.8 (06/10/2020)
- Added ability to set file naming convention for models, dao, apis and grpc `--file_naming={{.}}`
- Added ability to set struct naming convention `--model_naming={{.}}`
- Fixed bug with Makefile generation removing quoted conn string in `make regen`
- v0.9.7 (06/09/2020)
- Added grpc server generation - WIP (looking for code improvements)
- Added ability to exclude tables
- Added support for unsigned from mysql ddl.
- v0.9.6 (06/08/2020)
- Updated SQLX codegen
- Updated templates to split code gen functions into seperate files
- Added code_dao_gorm, code_dao_sqlx to be generated from templates
- v0.9.5 (05/16/2020)
- Added SQLX codegen by default, split dao templates.
- Renamed templates
- v0.9.4 (05/15/2020)
- Documentation updates, samples etc.
- v0.9.3 (05/14/2020)
- Template bug fixes, when using custom api, dao and model package.
- Set primary key if not set to the first column
- Skip code gen if primary key column is not int or string
- validated codegen for mysql, mssql, postgres and sqlite3
- Fixed file naming if table ends with _test.go renames to _tst.go
- Fix for duplicate field names in struct due to renaming
- Added Notes for columns and tables for situations where a primary key is set since not defined in db
- Fixed issue when model contained field that had were named the same as funcs within model.
- v0.9.2 (05/12/2020)
- Code cleanup gofmt, etc.
- v0.9.1 (05/12/2020)
- v0.9 (05/12/2020)
- updated db meta data loading fetching default values
- added default value to GORM tags
- Added protobuf .proto generation
- Added test app to display meta data
- Cleanup DDL generation
- Added support for varchar2, datetime2, float8, USER_DEFINED
- v0.5