9A5.Upgrade 3.0.6.300
9A5.Upgrade 3.0.6.300
Upgrade manual from 3.0.6-300
after having upgraded to 3.0.3-300
, including,
- 3.0.6.300 EarthShaker
- 3.0.7.300 ElderTitan
- 3.0.9.300 AncientApparition
- 3.0.12.300 Ti12
9A5.1.EarthShaker 3.0.6.300
version change to 3.0.6.300-SNAPSHOT
1a.move jaxb utils package
Under the influence of Java11 and javax namespace, jaxb move from mirana to silencer-jaxb.
- bump mirana version to 2.4.5
- package from
pro.fessional.mirana.jaxb
topro.fessional.wings.silencer.jaxb
1b.rename XxxAssert to AssertXxx
Prefix is more suitable for the IDE's smart tips, the following Assert util renamed.
- rename ArgsAssert to AssertArgs
- rename StateAssert to AssertState
- add AssertMessage
1c.DefaultExceptionResolver handle CodeException
remove CodeExceptionResolver, and handle by DefaultExceptionResolver.
1d.property or default change
spring.wings.warlock.enabled.controller-debug
to.controller-tweak
wings.warlock.apiauth.error-client.message-body
to.response-body
wings.warlock.apiauth.error-signature.message-body
to.response-body
wings.warlock.apiauth.error-unhandled.message-body
to.response-body
9A5.2.ElderTitan 3.0.7.300
version change to 3.0.7.300-SNAPSHOT
2a.WingsTableCudHandler change
Support Auto and Manual triggering, when there is Auto, Manual can be ignored to avoid multiple publishing messages.
2b.property or default change
wings.faceless.jooq.cud.table
win_perm_entry=
win_role_entry=
win_conf_runtime=key,current,handler
- remove
win_user_authn
,win_user_basis
wings.faceless.jooq.cud.insert
to.create
wings.faceless.lightid.loader
to.provider
9A5.3.AncientApparition 3.0.9.300
version change to 3.0.9.300-SNAPSHOT
3a.english comment on table and column
Taking sys_standard_i18n
as an example, its new DDL is
CREATE TABLE `sys_standard_i18n` (
`base` VARCHAR(100) NOT NULL COMMENT 'table or package name',
`kind` VARCHAR(100) NOT NULL COMMENT 'column or class name',
`ukey` VARCHAR(200) NOT NULL COMMENT '[id.###|type.code|enum]',
`lang` CHAR(5) NOT NULL COMMENT 'lang tag:zh_CN',
`hint` VARCHAR(3000) NOT NULL COMMENT 'display:Asia/Shanghai',
PRIMARY KEY (`base`, `kind`, `ukey`, `lang`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COMMENT ='106/I18n Message';
Use column editing to change the statement from CREATE
to ALTER
, as follows,
- table, change
CREATE
toALTER
, delete statements beforeCOMMENT
. - column, insert
MODIFY COLUMN
in the first.
ALTER TABLE `sys_standard_i18n`
MODIFY COLUMN `base` VARCHAR(100) NOT NULL COMMENT 'table or package name',
MODIFY COLUMN `kind` VARCHAR(100) NOT NULL COMMENT 'column or class name',
MODIFY COLUMN `ukey` VARCHAR(200) NOT NULL COMMENT '[id.###|type.code|enum]',
MODIFY COLUMN `lang` CHAR(5) NOT NULL COMMENT 'lang tag:zh_CN',
MODIFY COLUMN `hint` VARCHAR(3000) NOT NULL COMMENT 'display:Asia/Shanghai',
COMMENT ='106/I18n Message';
3b.english in const and codegen
- StandardLanguage
- StandardTimezone
- AuthnErrorEnum
- CommonErrorEnum
- GrantType
- UserGender
- UserStatus
9A5.4.Ti12 3.0.12.300
version change to 3.0.12.300-SNAPSHOT
4a.AutoConfigureOrder change
use @AutoConfiguration(before)
and AutoConfiguration.imports
instead of @AutoConfigureOrder
and @Order
.
- remove
aegis
module, beanName move to@Configuration
class test/*Sample
- sample using themain
methodtest/Test*Sample
- sample using@Test
test/*Test
- Junit TestCasetest/Test*
- class used in testtest/app/*
- narrow scope of@SpringBootApplication
scan
4b.Cache2k/AttributeHolder change
related to Cache2k
, only compile errors, no runtime errors.
- rename
GlobalAttributeHolder
toAttributeHolder
- change
Function<Key<K>,V>
toFunction<K,V>
ridLoader
do not rid attrs, just the loader- remove
Cache2kSlot
- chagne
ProgressContext
4c.enabled.*
property change
wings.enabled.*
instead of spring.wings.*.enabled
to disable any @Component
- remove unessary
spring-wings-enabled*.properties
files - remove unessary
spring.wings.*.enabled
keys qulified-key
property instead of*.enabled.*
- move
...flywave.enabled.checker
towings.faceless.flywave.checker
- move
...flywave.enabled.module
towings.enabled.faceless.flywave
- move
...faceless.jooq.enabled.*
towings.faceless.jooq.conf.*
- move
....listen-table-cud
to.listen-cud
- move
...silencer.enabled.*
towings.enabled.silencer.*
- move
wings.silencer.inspect.properties
towings.enabled.silencer.audit-prop
- move
...slardar.enabled.*
towings.enabled.slardar.*
- move
.mock-hazelcast
to.hazelcast-standalone
- move
.datetime
to.jackson-datetime
- move
.number
to.jackson-number
- move
.resource
to.jackson-resource
- move
.domain-extend
to.domainx
- move
...tiny.mail.enabled.*
towings.enabled.tiny.mail.*
- move
.controller-*
to.mvc-*
- move
...mail.enabled.dryrun
towings.tiny.mail.sender.dryrun
- move
...tiny.task.enabled.*
towings.enabled.tiny.task.*
- move
...task.enabled.dryrun
towings.tiny.task.exec.dryrun
- move
...warlock.enabled.*
towings.enabled.warlock.*
- move
.security-*
to.sec-*
- move
.security-web-autos
to.sec-web-auto