Releases: webability-go/xcore
XCore v2.1.1
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release
- XTemplate: Added > to metalanguage string tags to resolve also the paths (bug corrected).
XCore v2.1.0
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release
- XLanguage: bug corrected on unlock of stringload and loadFromFile (was blocking the system)
- XTemplate: The metalanguage keywords are now only recognized if they match authorized characters (for instance &&keyword&&), to avoid bugs in JS with && and || and !!.
- Print functions of time.Time corrected (as in go 1.17, the print format changes) into the *test.go test functions
XCore v2.0.9
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release
- XCache modified to defer mutex unlocks instead of directly unlock into the code, to avoid dead locks in case of thread panic and crashes.
- XLanguage modified to defer mutex unlocks instead of directly unlock into the code, to avoid dead locks in case of thread panic and crashes.
XCore v2.0.8
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release
- XTemplate is now clonable: newtemplate := template.Clone()
- []interface{} added to NewXDataset to be decoded as []map[string]interface{} because of decoded JSON
XCore v2.0.6
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release
2.0.6 replaces 2.0.5 (error of publication)
- function NewXDataset(data) and NewXDatasetCollection(data) added, to build XDatasets based on a classic map[string]interface{}
- XDatasetTS added to the manual
- XLanguage is now thread safe
- XTemplate: Error corrected in string() function (was saying XLanguage)
- Each cache entry is now able to manage its own TLL if set. New function SetTTL(id, duration)
XCore v2.0.4
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
This release to add GetEntries function to XLanguage
XCore v2.0.3
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, -etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
This release to correct a bug into XLanguage.LoadXMLString. The language entries were not loaded into the object.
XCore v2.0.2
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
This release to adjust requirements for github and go modules v2
XCore v2.0.1
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release:
- v2.0.1 is replica of 2.0.0 because of github not generating new zip
- xdataset.go now as a coverage of 100% with xdataset_test.go
- XCache now uses R/W mutex
- New interfaces.go file to keep all the interfaces in it (XDatasetDef, XDatasetCollectionDef)
- New xdatasetts.go for thread safe dataset
- New xdatasetts_test.go for thread safe dataset tests
- New xdatasetcollection.go for the collection of dataset (separation from xdataset.go)
- New xdatasetcollection_test.go for collection tests
- New xdatasetcollectionts.go for thread safe dataset
- New xdatasetcollectionts_test.go for thread safe datasetcollection tests
- XLanguage is now thread safe with R/W mutexes
XCore v2.0.0
The XCore package is used to build basic object for programmation. for the WebAbility compatility code
For GO, the actual existing code includes:
- XCache: Application Memory Caches, thread safe.
- XDataset: Basic nested data structures for any purpose (template injection, configuration files, database records, etc) Support thread safe operations on thread safe structures (XDatasetTS and XDatasetCollectionTS)
- XLanguage: language dependent text tables, thread safe
- XTemplate: template system with meta language, thread safe cloning
New in this release:
- xdataset.go now as a coverage of 100% with xdataset_test.go
- XCache now uses R/W mutex
- New interfaces.go file to keep all the interfaces in it (XDatasetDef, XDatasetCollectionDef)
- New xdatasetts.go for thread safe dataset
- New xdatasetts_test.go for thread safe dataset tests
- New xdatasetcollection.go for the collection of dataset (separation from xdataset.go)
- New xdatasetcollection_test.go for collection tests
- New xdatasetcollectionts.go for thread safe dataset
- New xdatasetcollectionts_test.go for thread safe datasetcollection tests
- XLanguage is now thread safe with R/W mutexes