Skip to content

Releases: shuLhan/go-bindata

Release v3.4.0 (2018-05-19)

02 Oct 14:56
Compare
Choose a tag to compare

Linting task and dependencies is removed from make task. Linting should be
decoupled from any library or repository. It is a tool that not affected
the build, but help on detect bugs or analyze code.

Enhancements

  • @rsc: balance backquoted string concatenation
  • Emad Elsaid: Remove duplicate words on README

Bug Fixes

v3.3.0

27 Feb 21:37
Compare
Choose a tag to compare

This release 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

07 Nov 11:14
Compare
Choose a tag to compare

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

09 Sep 19:19
Compare
Choose a tag to compare

New Features

Enhancements

Bug Fixes