CHANGELOG
v2.2.4
- Fixed dependency bug introduced in v2.2.2.
io.github.CSyncshould work again.
v2.2.3
- Just README and icon changes. Thanks Thunderstore /s
v2.2.2
- Little bit more documentation.
- Removed redundent
Metadatafile.
v2.2.1
- Removed accidental assembly reference to LethalConfig.
- Provided documentation (CSync.xml) file for non-nuget users.
v2.2.0
- Added new
SyncRequestedandSyncReceivedevents because why not. - Implemented
EnableHostSyncControlto let the host determine if clients can use their own config.Documentation is provided for this method.
v2.1.0
- Added a new
SyncRevertedevent and moved events toSyncedInstance. - Added more documentation throughout the library.
- Fixed access modifiers on some methods that should not have been public.
- Logs are now prefixed with the GUID to help identify the mod which they originate from.
- Removed
Unregistermethod - being public allowed this to be used maliciously by devs.It also doesn't make sense to unregister, just don't register in the first place :P
v2.0.0
BREAKING UPDATE
This version is not backwards compatible and mods are required to update!
Only update if you can be sure all of your mods use this version.
If you are a mod dev, please see the "Updating to v2.0.0" section of the wiki.
Changelog
- Removed need for unnecessary boilerplate. CSync now does messaging and patching itself.
- Added a new
SyncCompleteevent you can subscribe to. - Implemented missing
.BindSyncedEntry()overloads to supportConfigDefinitionandConfigDescriptionarguments. - Renamed the main class from
CSynctoPluginto avoid confusion with the namespace.
v1.0.7
- Fixed syncing issue when the host's game path was not the same as the client's.
- Caching now uses the file name instead of the absolute path.
- When calling
SyncInstance, theSyncedbool is now set according to whether deserialization succeeds.
v1.0.6
- Removed the type constraint from
SyncedEntryto fix an error when using thestringtype. - Publicized the underlying
ConfigEntry(named 'Entry') to enable compatibility with LethalConfig. - Some small but important changes to
SyncedConfig. It is still advised NOT to use this yet.
v1.0.5
- The library is now available on NuGet.
v1.0.4
- Minor edits to Thunderstore metadata. (No need to download this version)
v1.0.3
- Implemented a config file cache to speed up deserialization of
SyncedEntry's. - Exposed
BoxedValueandSettingChangedfrom the underlying entry toSyncedEntryitself. - Constrained the
SyncedEntrytype parameter to a primitive value. - Added some documentation to classes.
v1.0.2
- Fixed bug introduced in v1.0.1 causing syncing issues.
- Added a class constraint to the
SyncedInstancetype parameter.
v1.0.1
- Renamed the built-in
SyncedConfigto prevent confusion with the wiki. - Reduced instance size by marking some internally used props as
[NonSerializable]. - Removed
Instanceproperty from theCSync.csfile as it's not necessary.
v1.0.0
- Implemented
SyncedEntry- a serializable alternative toConfigEntry. - Implemented
SyncedInstancethat aids with syncing and reverting. - Implemented
ByteSerializerto serialize instances withDataContractSerializer. - Provided extension methods to
ConfigFileandFastBufferWriter.