forked from shuLhan/go-bindata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
118 lines (81 loc) · 3.37 KB
/
CHANGELOG
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# v3.3.0 (2017-11-07)
This release is contain major internal refactoring on scanning the file system.
## Enhancements
* Check error and return it
There are many place where error from file create, write, and close was not
checked. With the help of tools, all error was checked and returned to the
caller.
* Move generated content (template) to its own file
Since we generate go code, the template become noise because its inlined
with the generator itself, which make the code unreadable. This commit
split and move the content of generated to its own file `template.go`.
* Refactoring the file scanner
There are several problems in old file system scanner,
* It's unreadable. It's hard to read what the code do from the start
until the end, which make it even harder to write new function/feature.
* Each input file is converted to absolute path to handle symlink
files and/or directory which cause additional process. The new scanner
work with relative path only.
## Bug Fixes
* @joerocklin: Add the proper 'DO NOT EDIT' tag on file assets
* @komuw: update installation with the right location
# v3.2.0 (2017-11-07)
## New Features
* @ZaniaDeveloper 94068b1 - Avoid having a big file (#17)
This feature introduce `-split` option to config and command line. If its set
the output file is splitted per asset file.
* @typeless 31e070ef - Add `-include` regex pattern to command line option
## Enhancements
* Rewrite makefile
* Remove and ignore testdata output, 'testdata/out', from repository
* Move "DO NOT EDIT" mark to the top, inline with "... generated by ..."
* release:
* assetReleaseCommon: fix shadowed error variable
* Rename underscores function name to snake-case
* [lint] Add comment to ByteWriter and StringWriter
* config:
* Split validate() into validateInput() and validateOutput()
* Error should not end with punctuation
* convert:
* findFiles: never, ever use `defer` on recursive function
* Fix comment on ByName type
* doc:
* Fix misspellings
* Fix package comment
* toc
* Fix space alignment in generated asset names
* writeGoMap: remove empty second value in range
* funcOrNil: simplify if-else
* child: use consistent receiver name
* go-bindata:
* Use instance of package log to print to stdout and stderr
* Refactoring parse arguments
* Add comment to Set method
* Split and move usage into function
* Merge version to main
* Split flag initialization
* parsingInput:
* add unit test
* fix comment and simplify if-else
## Bug Fixes
* [test] convert: fix due to changes of prefix from string to regex
# v3.1.0 (2017-09-10)
## New Features
* @apvail 8f5f6db - Alter `-prefix` to Use Regular Expressions instead of just
strings
* @akutz 9308d8f - Added MD5 Checksum Support
* @fridolin-koch 468373d - Use os.PathError for more information regarding the
error
* @baruchlubinsky 4671a58 - Change default package to containing folder of
output
## Enhancements
* @lebauce 89e7c37 - Make generated code pass gofmt -s
* @andyxning fb998d9- update build info with newer golang
* @kevinburke 7e5ef26 - Simplify RestoreAsset
* @spencerhakim
* accfe6a - Break binary data up into multiple lines
* 32b0afc - Add .editorconfig
## Bug Fixes
* @hemc4 db443d7 - Remove `go vet` from dependency
* @andreas-kupries b7d2e98 - Fix duplication of the last path element for paths
which do not have the -prefix to strip