aboutsummaryrefslogtreecommitdiff
path: root/changelog.md
blob: 39310d78e59e3a1e12c0a85d2bbdceb1054ee726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
##Kotlin for Forge 1.7.0
- Added `registerObject` function to KDeferredRegister for getting ObjectHolderDelegate instances
  without needing a cast to ObjectHolderDelegate.
- Deprecated `register` in KDeferredRegister
- Fixed KReflect sometimes not showing up on the Maven.
- Updated to Kotlin 1.4.21, Updated to coroutines 1.4.2, Updated to JetBrains annotations 20.1.0 

##Kotlin for Forge 1.6.2
- Fixed errors in KotlinEventBus with certain Lambda syntax

##Kotlin for Forge 1.6.1
- Removed inline modifier for functions `runForDist`, `runWhenOn`, and `callWhenOn` in Forge.kt.
- Changed the `AutoKotlinEventBusSubscriber` to not crash when loading client only subscribers with client only members.
- Deprecated `MINECRAFT` and set deprecation level to error. This is because the property only works on the version KFF was compiled with.

##Kotlin for Forge 1.6.0
- Updated to support changes in the Forge API in 1.16.2 and 1.16.3 (KFF should no longer cause crashes)
- Updated to Kotlin 1.4.10

##Kotlin for Forge 1.5.0
- Updated to Kotlin 1.4.0

##Kotlin for Forge 1.4.1
- Fixed `KDeferredRegistry` registering things out of order

##Kotlin for Forge 1.4.0
- Kotlin Gradle Plugin now requires Gradle 5.3. Update by changing the version of the gradle wrapper in `gradle/wrapper/gradle-wrapper.properties`.
- Added a `KDeferredRegistry` similar to Forge's `DeferredRegistry` but works with `ObjectHolderDelegate`s instead of `RegistryObject`s.
- Fixed a typo in the KDoc for `MOD_BUS` that falsely stated `AttachCapabilitiesEvent` was fired on the mod-specific event bus. 
- Updated to Kotlin 1.4.0-rc

##Kotlin for Forge 1.3.1
- Bumped version range to work with 1.16 Forge when it comes out.

##Kotlin for Forge 1.3.0
- Added a modding skeleton repository as an alternative to editing the build.gradle the Forge MDK ships with.
- Added two more reified generic functions to the KotlinEventBus for `priority` and `receivedCancelled` parameters.
- Fixed the ObjectHolderDelegate not allowing subtypes of classes that implement IForgeRegistryEntry
- Updated to Kotlin 1.4-M2, Updated to coroutines 1.3.7

##Kotlin for Forge 1.2.2
- Added a sided delegate class which returns a "client value" on the client side and a "server value" on the server side.
- Added a new utility file called "Kotlin.kt" that provides a few utility functions not related to Minecraft Forge.
- Added an example mod. I will make a template GitHub repository for Kotlin for Forge soon.
- Adjusted mod construction to accurately report exceptions in @Mod object constructors
- Restructured Kotlin for Forge code to use Kotlin APIs whenever possible
- Added styling to the maven repo

##Kotlin for Forge 1.2.1
- Added backwards compatibility to mods that used versions of Kotlin for Forge before 1.2.0

##Kotlin for Forge 1.2.0
- Added a Kotlin implementation of the Forge EventBus that has working addListener and addGenericListener functions
- Added an overload of addGenericListener that uses a reified type parameter instead of a class parameter.
- Updated to Kotlin 1.4-M1

##Kotlin for Forge 1.1.0
- Events now properly fire through KotlinModContainer
- Updated to Kotlin 1.3.70, Updated to coroutines 1.3.4, Updated to JetBrains annotations 19.0.0

##Kotlin for Forge 1.0.1
- Fixed an issue with language extensions
- Fixed an internal crash

##Kotlin for Forge 1.0.0
- Initial release for 1.14 and 1.15