dati

A Go library/binary to parse & execute data against template langauges.
git clone git://src.gearsix.net/dati
Log | Files | Refs | Atom | README | LICENSE

CHANGELOG (2041B)


      1 # CHANGELOG
      2 
      3 ## v0.8.0
      4 
      5 - rebranded to dati - data and template interface
      6 
      7 ## v0.7.0
      8 
      9 - added LoadTemplate, loads templates from io.Reader params.
     10   - Template language and name must be specified.
     11   - This function is the template.go counterpart to data.go#LoadData
     12 - added LoadTemplateStrings loads templates from string params (calls LoadTemplate)
     13 - renamed LoadTemplateFile -> LoadTemplateFilepath
     14 - added []SupportedTemplateLangs, IsSupportedTemplateLang(), []SupportedDataLangs, IsSupportedDataLang()
     15 - renamed suti.Template.Source -> suti.Template.Name
     16   - The .Name value assigned to templates when LoadTemplateFilpath() is called will
     17   be the **base name minus the file extension**.
     18 - Lots of refactors to tidyup, improve consistency & error handling/catches
     19 - Testing is all upto date :)
     20 
     21 ## v0.2.2
     22 
     23 - added .Source to suti.Template, contains the filepath of the source file for the template
     24 - More tidyup
     25 
     26 ## v0.2.1
     27 
     28 - Tidyup work
     29 
     30 ## v0.2.0
     31 
     32 - massive refactored to data API:
     33   - removed type Data, user will want to use their own data types
     34   - LoadData() and LoadDataFile() now takes an interface{} (pointer) to write the result to
     35   - removed LoadDataFiles(), bulk loading is now user responsibility
     36   - removed GenerateSuperData() & MergeData(), these were superfluous fucntions
     37 - added file.go, which currently only has SortFileList() to stand-in for the missing data sort
     38 functionality found in LoadDataFiles()
     39 - refactored cmd/suti.go to work with the new API, no functional changes
     40 - ".mustache" is now accepted as a mustache file extension (as intended)
     41 - bugfixes
     42 
     43 ## v0.1.1
     44 
     45 - updated everything to use the new (t *Template).Execute()
     46 
     47 ## v0.1.0
     48 
     49 - type Template now a struct, the Template interface is accessed via (t *Template).Template
     50 - ExecuteTemplate -> (t *Template).Execute()
     51 - (t *Template).Execute() takes an interface{} param to execute against (not Data)
     52 - improved error messaging
     53 
     54 ## v0.0.0
     55 
     56 first release!
     57 
     58 - fully doc'd in README & src comments
     59 - examples/
     60 - first iteration of suti API
     61 - cmd/suti.go
     62