Releases: rocketbase-io/commons-rest
Releases · rocketbase-io/commons-rest
2.1.1
- upgraded spring-boot 2.3.6 + some maven deps
- added option to return translation as translated in json
- Annotation
@Translated
to the TranslationProperty will renter value to a fitting translated string (take use of LocalContextHolder)
@Translated("de")
will return the value in german language when existing (overwrite LocalContextHolder Locale value)
- added supported locales for AcceptHeaderLocaleResolver
- locale.resolver.supported= DE, en_US (for example will only allow these both locales)
2.1.0
- upgraded spring-boot 2.3.4 + bulma 0.9.1
- moved HasKeyValue interface + EntityWithKeyValue from commons-auth/asset to rest
- moved HasFirstAndLastName from commons-auth to rest
- QueryParamBuilder added keyValue handling
2.0.5
- improved Translation: getTranslated() now lookups also for ROOT or pick existing if only single translation exists in order to avoid null values
- QueryParamBuilder addParams for String to shorten only add when value is not null
- ci: fixed jacoco pipeline
2.0.4
- updated bulma 0.9.0 and updated footer info
- added translation to ts
- upgrade spring-boot 2.3.1
2.0.3
- UrlParts add removeEndsWithSlash
- ObfuscatedId added allow-invalid option + renamed properties a bit
- updated spring-boot 2.2.6
2.0.2
- upgrade spring-boot 2.2.5
- added typescript file for use in other projects
2.0.1
- added some address dtos
- added equals hashcode (SimpleObfuscatedId)
- fix differ between gender and salutation
- added shorthand for BigDecimal, Long, Boolean
2.0.0
- api-change within ErrorResponse
- changed fields to list of error-message (allows to have multiple errors for one field path)
- not backwards compatible change that's why change major version
- added anyNoneNullValue + doc
1.12.1
- ExceptionHandler allow translation args
- upgrade spring-boot 2.2.4
- Nulls: added generics + changed to new instance for list,set,map
1.12.0
- switch from 200 to 201 in case of create entity
- simplified constructors of Exceptions
- added InsufficientPrivilegesException