All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, markdownlint, and this project adheres to Semantic Versioning.
- Modify
data
path in Darwin and Windows
- Support
SENZING_PATH
- Modified
settings
for updated Senzing installation
jsonutil.PrettyPrint()
jsonutil.Truncate()
- In settings, removed unicode from JSON
- Changed
DatabaseUrl
toDatabaseURL
- Update documentation
- Refactor to Go template
- Change from
g2
tosz
/er
- Changed
engineconfigurationjson
tosettings
- Changed
engineconfigurationjsonparser
tosettingsparser
- Update dependencies
- Move from "G2" to "Sz" prefix
- Renamed module to
github.com/senzing-garage/go-helpers
- Renamed module to
github.com/senzing-garage/go-common
- Refactor to template-go
- Update dependencies
- github.com/senzing-garage/go-logging v1.4.0
- Refactor to template-go
- Update dependencies
- github.com/senzing-garage/go-logging v1.3.3
- In
engineconfigurationjson
, Windows paths
engineconfigurationjson.BuildSimpleSystemConfigurationJson()
- Windows: missing import
- Added
fileutil
package withfileutil.CopyFile()
function - Added tests and examples for
fileutil.CopyFile()
function
- Added
jsonutil.Strip()
function for removing properties from JSON objects. - Added tests and example for
jsonutil.Strip()
- Refactored
jsonutil
method names to remove the "Json" suffix since it was redundant - Fixed the
test
target for Make so it is now the same on all platforms - Modified
jsonutil.Flatten()
method to always return JSON text
- Refactored to template
- Added
jsonutil.Flatten()
function to coalesce a string and error tuple into a string - Added test cases and examples for new flatten function
- Added
jsonutil.RedactJson()
function to recursively nullify JSON property values - Added
jsonutil.RedactJsonWithMap()
function to recursively replace JSON property values - Added test cases and examples for new redaction functions
- Added
jsonutil.NormalizeAndSortJson()
function to sort JSON arrays in addition to normalization - Added
-j
option tomain()
inmain.go
to allow command-line JSON normalization testing.
- Added
jsonutil
package withIsJson()
andNormalizeJson
functions - Added unit tests for
jsonutil
- Option package moved to go-cmdhelping
- Added the option package
- Remove test for
RESOURCEPATH
engineconfigurationjson.VerifySenzingEngineConfigurationJson()
- Added support for a Senzing directory
- Update dependencies
- github.com/senzing-garage/go-logging v1.3.1
- Support for Mac/Windows
- Update dependencies
- github.com/senzing-garage/go-logging v1.3.0
- Update dependencies
- github.com/senzing-garage/go-logging v1.2.6
- github.com/stretchr/testify v1.8.4
- In
engineconfigurationjsonparser
, RedactedJson() - Update dependencies
- github.com/senzing-garage/go-logging v1.2.3
engineconfigurationjsonparser
- Parses SENZING_ENGINE_CONFIGURATION_JSON
engineconfigurationjson
- Simple construction of SENZING_ENGINE_CONFIGURATION_JSON
testrecords01
truthset
- Truth set datarecord
- Add Record type