This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Releases: neos-modding-group/NeosModLoader
Releases · neos-modding-group/NeosModLoader
1.10.1
1.10.0
- #19: NML will now load non-mod libraries (for example 0Harmony.dll) from a
nml_libs
directory - #21, #36: NML now supports C# 8.0 nullable contexts. Mod devs using a high enough langversion can toss a
<Nullable>enable</Nullable>
into their csproj to enjoy the null-safety. - #26: Fix for nulls being invalid values for class types in the mod configuration
- #27: adds better logging for a common failure case when a specific config key fails to load
- #35: sets up a separate build process for a headless-compatible NML, as the Newtonsoft.Json dependency is not binary-compatible
- Also, @ljoonal has done a lot of behind the scenes work to get CI set up! Contributors rejoice!
1.9.1
1.9.0
- Logging improvements
- Moved some logs to debug level to reduce spam
- Removed some logs for the configuration system, as it appears stable
- Mod author is now logged
- Mod list is now easier to read from logs
- NML loading state is now added to the neos splash screen. Opt out using
hidevisuals=true
in the NML config. - Simple BaseX types (color, float3, etc) now have built-in support for JSON serialization, allowing them to be used with the config system. This may break saved configurations in some cases
1.8.0: Configuration System
- Release the new mod configuration system.
- Configurations now autosave on neos shutdown. You can opt out of this when you define your configuration.
- Add a new builder pattern API for defining configurations.
- Mark old configuration definition API as obsolete. It will be removed in NML 2.
- Add a new
[AutoRegisterConfigKey]
attribute to simplify configuration definition - Improve error logging to make it more obvious what went wrong in a couple of common failure cases
See the example for a demo of how the new APIs look.
1.7.0: Configuration System Beta 3
- Add option to save default values to disk
- Fix a NullReferenceException when logging nulls
- Minor optimization to ModConfiguration.IsKeyDefined()
1.6.0: Configuration System Beta 2
- Make ModConfigurationException public (new feature so minor version bump)
- Optimize internals of the Get() API to allow for hashless polling. Polling was already cheap, but now it's extremely cheap.
- Fix a bug where different API users could have different default values / validators / etc. for a config key
- Minor documentation improvements
1.5.0: Configuration System Beta 1
- Add a brand new mod configuration system.
- Log potentially conflicting mods (the
logconflicts
config can be used to disable this logging). - Log versions of all the dependencies NeosModLoader depends on. (Harmony, BaseX, FrooxEngine, Json.NET)