build[release]: first zfoo 3.1.3 release for java 17

This commit is contained in:
godotg committed 2023-09-21 21:42:11 +08:00
1 parent 9227edbd30
commit e995fbfabf
3 files changed
+35 -36

No files matched your search

+20
View File
@@ -1,3 +1,23 @@
#### 注意
- The main branch is a development version for Java 21 and GraalVM. The stable version is [zfoo-java-11-17](https://github.com/zfoo-project/zfoo/tree/zfoo-java-11-17)
- Upgrade process
- reimport not found classes
- no need to inherit IPacket anymore
- SafeRunnable has been deleted, please use ThreadUtils.safeRunnable()
- rename interfaces and annotations,Storage -> IStorage,@Resource -> @Storage,@ResInjection -> @StorageAutowired
- rename interfaces and annotations,@EntityCachesInjection -> @EntityCacheAutowired,@EntityCaches -> @EntityCache
```
- 主干main是当前是面向java 21和GraalVM的开发版本,稳定版本请使用 [zfoo-java-11-17](https://github.com/zfoo-project/zfoo/tree/zfoo-java-11-17)
- 升级流程
- 重新导入找不到的类
- 不需要再继承IPacket
- SafeRunnable删除了,请使用ThreadUtils.safeRunnable()
- 重命名接口和注解,Storage -> IStorage,@Resource -> @Storage,@ResInjection -> @StorageAutowired
- 重命名接口和注解,@EntityCachesInjection -> @EntityCacheAutowired,@EntityCaches -> @EntityCache
```
#### 为什么部署的时候才用main,平时开发的时候从test启动
- 可以很好的隔离部署环境和开发测试环境