Releases: Carnagion/Modot
Releases · Carnagion/Modot
Modot 2.0.2
Modot 2.0.1
Important bugfix.
Bugfixes
- Mod code using
[ModStartup]is now found and executed properly
Modot 2.0.0
Multiple new features, tweaks, and bugfixes.
Additions
- Extension methods for
Godot.Error - Mod XML patches
IPatchinterfaceNodeAddPatchto add or insert a new XML nodeNodeRemovePatchto remove an XML nodeNodeReplacePatchto replace an XML nodeAttributeSetPatchto add or set the value of an attributeAttributeRemovePatchto remove an attributeTargetedPatchfor targeting specific XML nodes using XPath stringsMultiPatchfor executing multiple patches in orderConditionalPatchto execute patches based on a conditionIConditioninterfaceModLoadedConditionto check if a mod is loadedNodeExistsConditionto check if an XPath query has any matchesOrConditionto execute patch if one of many conditions are satisfiedAndConditionto execute patch if all of many conditions are satisfiedNotConditionto invert condition
LogPatchto log XML data before and after applying another patch
Tweaks
- Namespaces and folders have been refactored
- Mod data is no longer exposed as an XML node
- Exposed as an XML document instead
- XML node types are compared using
israther thanNodeType - Mod assemblies are now invoked only after all mods are loaded and all patches are applied
DirectoryExtensions.CopyContents()now returns copied file paths in an array
Bugfixes
- Mod XML data is now properly loaded and stored with a consistently named root element
- (De)serialization works properly due to updated dependencies, including GDSerializer
Modot 1.0.2
Minor refactors and bugfixes.
Additions
- An
.editorconfigfile is now included
Bugfixes
- Now uses
Assembly.LoadFile()instead ofAssembly.Load()when loading mod assemblies
Tweaks
- LINQ-containing methods now use method chains instead of query syntax
- Analysis-helping attributes from
JetBrains.Annotationsno longer exist on some private and internal methods
Modot 1.0.1
Minor refactors and updated dependencies.
Tweaks
- Now uses the latest version for all NuGet dependencies
Mod.Metadatanow uses GDSerializer's[AfterDeserialization]attribute for checking its own validity- Method for starting up mod assemblies is slightly refactored
Modot 1.0.0
Initial release.