You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/01/03 16:37:59 UTC

[isis] branch master updated: ISIS-2882: mignotes: temporal and number formats no longer configurable

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 3fc7f6d  ISIS-2882: mignotes: temporal and number formats no longer configurable
3fc7f6d is described below

commit 3fc7f6da0a3f81c5f08b6a91ec200c6ab4fcd75d
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Jan 3 17:37:44 2022 +0100

    ISIS-2882: mignotes: temporal and number formats no longer configurable
    
    - instead use customized value semantics
---
 .../modules/ROOT/pages/2021/2.0.0-M7/mignotes.adoc | 112 +++++++++++++++++++--
 1 file changed, 103 insertions(+), 9 deletions(-)

diff --git a/antora/components/relnotes/modules/ROOT/pages/2021/2.0.0-M7/mignotes.adoc b/antora/components/relnotes/modules/ROOT/pages/2021/2.0.0-M7/mignotes.adoc
index ef2a26f..a2da286 100644
--- a/antora/components/relnotes/modules/ROOT/pages/2021/2.0.0-M7/mignotes.adoc
+++ b/antora/components/relnotes/modules/ROOT/pages/2021/2.0.0-M7/mignotes.adoc
@@ -40,18 +40,112 @@ for non-public class member introspection.
 == Configuration
 
 Following configuration options changed:
-[source,java]
-----
-// removed:
-isis.core.meta-model.annotation.action.explicit=true/false
+[cols="2a,3a", options="header"]
+
+|===
 
-// semantic equivalent replacement for i.c.m.a.action.explicit=false 
-isis.core.meta-model.introspector.policy=ANNOTATION_OPTIONAL
+| previously
+| new
 
-// semantic equivalent replacement for i.c.m.a.action.explicit=true 
-isis.core.meta-model.introspector.policy=ANNOTATION_REQUIRED
+| `isis.core.meta-model.annotation.action.explicit`=`false`/`true` (removed)
+| (semantic equivalent) replacement for `false`:
+ 
+`isis.core.meta-model.introspector.policy=ANNOTATION_OPTIONAL`
 
-----
+(semantic equivalent) replacement for `true`:
+
+`isis.core.meta-model.introspector.policy=ANNOTATION_REQUIRED`
+
+| `isis.value-types.primitives.int` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<Integer>`
+
+| `isis.value-types.java-lang.byte` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<Byte>`
+
+| `isis.value-types.java-lang.double` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<Double>`
+
+| `isis.value-types.java-lang.float` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<Float>`
+
+| `isis.value-types.java-lang.long` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<Long>`
+
+| `isis.value-types.java-lang.short` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<Short>`
+
+| `isis.value-types.java-math.big-integer` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<BigInteger>`
+
+| `isis.value-types.java-math.big-decimal` (removed)
+| using localized NumberFormat instead, customize via `ValueSemanticsProvider<BigDecimal>`
+
+| `isis.value-types.java-time.local-date-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific 
+`@ValueSemantics(dateFormatStyle=..., timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<LocalDateTime>`
+
+| `isis.value-types.java-time.offset-date-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=..., timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<OffsetDateTime>`
+
+| `isis.value-types.java-time.offset-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<OffsetTime>`
+
+| `isis.value-types.java-time.local-date` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<LocalDate>`
+
+| `isis.value-types.java-time.local-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<LocalTime>`
+
+| `isis.value-types.java-time.zoned-date-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=..., timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<ZonedDateTime>`
+
+| `isis.value-types.java-util.date` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=..., timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<java.util.Date>`
+
+| `isis.value-types.java-sql.date` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<java.sql.Date>`
+
+| `isis.value-types.java-sql.time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<java.sql.Time>`
+
+| `isis.value-types.java-sql.timestamp` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=..., timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<java.sql.Timestamp>`
+
+| `isis.value-types.joda.local-date-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=..., timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<org.joda.time.LocalDateTime>`
+
+| `isis.value-types.joda.local-date` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(dateFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<org.joda.time.LocalDate>`
+
+| `isis.value-types.joda.date-time` (removed)
+| defaults to `FormatStyle.MEDIUM`, customize via feature specific
+`@ValueSemantics(timeFormatStyle=...)` 
+or globally via `ValueSemanticsProvider<org.joda.time.DateTime>`
+
+|===
 
 === Password Hashing