Skip to content

Commit 612176e

Browse files
committed
Update changelog and bump version
1 parent 1c904b7 commit 612176e

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

CHANGELOG.md

+21-10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic
55
Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [v4.13.0] - 2022-08-28
8+
9+
### Added
10+
11+
- Generate IN/NIN whereHelpers for nullable types (thanks @fdegiuli)
12+
13+
### Fixed
14+
15+
- Fixed concurrent map writes in psql driver (thanks @pavel-krush)
16+
- Force title case for enum null prefix (thanks @optiman)
17+
718
## [v4.12.0] - 2022-07-26
819

920
### Added
@@ -14,7 +25,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
1425
- Support for psql materialized view (thanks @severedsea)
1526
- Support loading model relationships when binding to a struct with embedded model (thanks @optiman)
1627

17-
### Fixes
28+
### Fixed
1829

1930
- Fix panic when missing primary key in table (thanks @zapo)
2031
- Fix some SQLite tests by enabling shared cache (thanks @gabe565)
@@ -33,7 +44,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
3344

3445
- When title casing UPPER_SNAKE_CASE strings, underscores are not removed for readablity.
3546

36-
### Fixes
47+
### Fixed
3748

3849
- Fix panic when a column referrring a foreign key is ignored
3950
(thanks @zapo)
@@ -42,13 +53,13 @@ Versioning](http://semver.org/spec/v2.0.0.html).
4253

4354
## [v4.10.2] - 2022-04-15
4455

45-
### Fixes
56+
### Fixed
4657

4758
- Fix performance issue when scanning pgeo point (thanks @ivokanchev)
4859

4960
## [v4.10.1] - 2022-04-15
5061

51-
### Fixes
62+
### Fixed
5263

5364
- Properly assign new query object in models.Pural()
5465

@@ -58,7 +69,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
5869

5970
- Add config options to allow user defined rules for inflections
6071

61-
### Fixes
72+
### Fixed
6273

6374
- Don't generate test suites for views
6475
- Properly assign new query object in models.Pural()
@@ -67,14 +78,14 @@ Versioning](http://semver.org/spec/v2.0.0.html).
6778

6879
## [v4.9.2] - 2022-04-11
6980

70-
### Fixes
81+
### Fixed
7182

7283
- Use correct column alias during soft delete
7384
- Use a default "table.*" for model queries
7485

7586
## [v4.9.1] - 2022-04-08
7687

77-
### Fixes
88+
### Fixed
7889

7990
- Fixes issue with column name quotinc in many-to-many eager load
8091
- Properly honor `--no-back-referencing` in relationship setops
@@ -88,7 +99,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
8899
- Add `DefaultTemplates` to `boilingcore.Config` to change the base template files to use for generation
89100
- Add `CustomTemplateFuncs` to `boilingcore.Config` to supply additional functions that can be used in templates (thanks @ccakes)
90101

91-
### Fixes
102+
### Fixed
92103

93104
- Fixes issues with detecting enum values that contain uppercases
94105
- Properly wrap column names in quotes when loading many-to-many relationships (thanks @bryanmcgrane)
@@ -100,7 +111,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
100111

101112
- Add missing function `func (modelQuery) DeleteAllGP(...)` (thanks @parnic)
102113

103-
### Fixes
114+
### Fixed
104115

105116
- Fixed issue with generation of both nullable and non-nullable enum types (thanks @optiman)
106117

@@ -111,7 +122,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
111122
- Do not generate a template file if the content is empty
112123
- Add function `drivers.RegisterBinaryFromCmdArg()` to extract binary registration
113124

114-
### Fixes
125+
### Fixed
115126

116127
- Fix panic on zero value of `types.NullDecimal`
117128
- `driver.Value()` for zero `types.Decimal` is now "0".

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/volatiletech/sqlboiler/v4/importers"
1616
)
1717

18-
const sqlBoilerVersion = "4.12.0"
18+
const sqlBoilerVersion = "4.13.0"
1919

2020
var (
2121
flagConfigFile string
@@ -70,7 +70,7 @@ func main() {
7070
}
7171

7272
// Set up the cobra root command
73-
var rootCmd = &cobra.Command{
73+
rootCmd := &cobra.Command{
7474
Use: "sqlboiler [flags] <driver>",
7575
Short: "SQL Boiler generates an ORM tailored to your database schema.",
7676
Long: "SQL Boiler generates a Go ORM from template files, tailored to your database schema.\n" +

0 commit comments

Comments
 (0)