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
IPatch
interfaceNodeAddPatch
to add or insert a new XML nodeNodeRemovePatch
to remove an XML nodeNodeReplacePatch
to replace an XML nodeAttributeSetPatch
to add or set the value of an attributeAttributeRemovePatch
to remove an attributeTargetedPatch
for targeting specific XML nodes using XPath stringsMultiPatch
for executing multiple patches in orderConditionalPatch
to execute patches based on a conditionICondition
interfaceModLoadedCondition
to check if a mod is loadedNodeExistsCondition
to check if an XPath query has any matchesOrCondition
to execute patch if one of many conditions are satisfiedAndCondition
to execute patch if all of many conditions are satisfiedNotCondition
to invert condition
LogPatch
to 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
is
rather 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
.editorconfig
file 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.Annotations
no 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.Metadata
now 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.