HoloNET RSM v2.1.4
Release Notes:
This release includes multiple bug fixes and improvements such as now adding support for collections (being able to pass in zome function names to operate on collections such as loadCollection, addEntryToCollection, removeEntryFromCollection & updateCollection).
It also has a few performance improvements such as being able to enable/disable reflection for Load/Save operations on HoloNETEntryBaseClass and HoloNETAuditEntryBaseClass.
Finally, it also now allows you to load your Holochain Entries with a custom data field (instead of the default Holochain EntryHash).
Full Changes Below:
-
Added overload to LoadAsync and Load methods on HoloNETEntryBaseClass to be able to load the holochain entry using a custom field and value.
-
Added overload to DeleteAsync & Delete methods on HoloNETEntryBaseClass to be able to load the holochain entry using a custom field and value.
-
Added ZomeLoadCollectionFunction, ZomeCreateCollectionFunction, ZomeUpdateCollectionFunction and ZomeDeleteCollectionFunction params to HoloNETEntryBaseClass constructors.
-
Added ZomeLoadCollectionFunction, ZomeCreateCollectionFunction, ZomeUpdateCollectionFunction & ZomeDeleteCollectionFunction properties to HoloNETEntryBaseClass.
-
Added Load method overload to HoloNETEntryBaseClass.
-
Added LoadCollectionAsync method to HoloNETEntryBaseClass.
-
Commented out override examples from SaveAsync method in Avatar in HoloNET Test Harness.
-
Added new multiple instance of Avatar test to HoloNET Test Harness.
-
Added useReflectionToMapOntoEntryDataObject optional param to all LoadAsync & Load methods in HoloNETEntryBaseClass.
-
Added optional param useReflectionToMapOntoEntryDataObject to ProcessZomeReturnCall method in HoloNETEntryBaseClass.
-
Added LoadCollection method to HoloNETEntryBaseClass.
- Created new IHoloNETClient, IHoloNETAuditEntry, IHoloNETEntryBaseClass & IHoloNETAuditEntryBaseClass interfaces so follows bese practices (SOLID) so different components can be swapped out for others and easily extended etc, makes testing easier such as unit tests etc
-
Added ZomeLoadCollectionFunction, ZomeCreateCollectionFunction, ZomeUpdateCollectionFunction & ZomeDeleteCollectionFunction params to all 7 constructors in HoloNETEntryBaseClass and started adding to HoloNETAuditEntryBaseClass constructors.
-
Renamed useReflectionToMapOntoEntryDataObject param to useReflectionToMapKeyValuePairResponseOntoEntryDataObject in HoloNETEntryBaseClass Load and LoadAsync methods.
-
Added useReflectionToMapKeyValuePairResponseOntoEntryDataObject documentation to summary methods in HoloNETEntryBaseClass.
-
Added useReflectionToMapKeyValuePairResponseOntoEntryDataObject param to all Save and SaveAsync methods in HoloNETEntryBaseClass.
-
Added useReflectionToMapKeyValuePairResponseOntoEntryDataObject param to all Delete and DeleteAsync methods in HoloNETEntryBaseClass.
-
Updated README.md/documentation to reflect latest changes above, etc.
-
Renamed ZomeCreateCollectionFunction to zomeAddToCollectionFunction on HoloNETAuditEntryBaseClass, HoloNETEntryBaseClass & IHoloNETEntryBaseClass.
-
Renamed ZomeDeleteCollectionFunction to zomeRemoveFromCollectionFunction on HoloNETAuditEntryBaseClass and HoloNETEntryBaseClass.
-
Updated intelisense/documentation for zomeLoadCollectionFunction, zomeAddToCollectionFunction, zomeUpdateCollectionFunction & zomeRemoveFromCollectionFunction on HoloNETAuditEntryBaseClass and HoloNETEntryBaseClass.
-
Added zomeLoadCollectionFunction, zomeAddToCollectionFunction, zomeUpdateCollectionFunction & zomeRemoveFromCollectionFunction params to all constuctors in HoloNETAuditEntryBaseClass.
-
Added useReflectionToMapKeyValuePairResponseOntoEntryDataObject to SaveAsync, Save, DeleteAsync, Delete & ProcessZomeReturnCall methods on HoloNETAuditEntryBaseClass.
-
Made ZomeLoadCollectionFunction optional param on HoloNETEntryBaseClass constructors.
-
Added useReflectionToMapKeyValuePairResponseOntoEntryDataObject param to ProcessZomeReturnCall method in HoloNETEntryBaseClass.
Full Changelog: v2.1.3...v2.1.4
NuGet Packages:
NextGenSoftware.Holochain.HoloNET.Client - Lightweight version that does not come with the holochain binaries (hc.exe and holochain.exe).
NextGenSoftware.Holochain.HoloNET.Client.Embedded - This version comes with the holochain binaries (hc.exe and holochain.exe) integrated.