Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Releases: neos-modding-group/NeosModLoader

1.10.1

05 May 06:00
Compare
Choose a tag to compare

Fix a hardcoded sanity check that expected NeosModLoader to be named exactly NeosModLoader.dll

1.10.0

24 Apr 08:47
Compare
Choose a tag to compare
  • #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

07 Apr 05:10
c1f0e70
Compare
Choose a tag to compare
  • Fix a 1.9.0 edge case where certain enum values would fail to deserialize from existing mod configs

1.9.0

06 Apr 13:10
Compare
Choose a tag to compare
  • 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

30 Jan 04:45
Compare
Choose a tag to compare
  • 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

08 Jan 17:29
Compare
Choose a tag to compare
Pre-release
  • 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

08 Jan 06:25
Compare
Choose a tag to compare
Pre-release
  • 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

07 Jan 14:34
Compare
Choose a tag to compare
Pre-release
  • 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)

1.4.1

18 Oct 18:47
Compare
Choose a tag to compare

Fix an issue with version 1.4.0 where it was claiming to be version 1.3.1 in the logs.

1.4.0

17 Oct 23:14
d763495
Compare
Choose a tag to compare
  • Fix for neos version 2021.10.17.1326
  • Add more logging options for mod developers