[ 
https://issues.apache.org/jira/browse/ISIS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437143#comment-16437143
 ] 

Andi Huber commented on ISIS-1909:
----------------------------------

UrlEncodingService changed interface

+BEFORE+
{code:java}
public interface UrlEncodingService {

    public String encode(final String str);

    public String decode(String str);

}
{code}

+AFTER+
{code:java}
public interface UrlEncodingService {

    public String encode(final byte[] bytes);

    public byte[] decode(String str);

    // same as encode in the old version
    public default String encodeString(final String str) {
        return encode(_Strings.toBytes(str, StandardCharsets.UTF_8));
    }

    // same as decode in the old version
    public default String decodeToString(final String str) {
        return _Strings.ofBytes(decode(str), StandardCharsets.UTF_8);
    }

}
{code}


> Migration Notes: Moved and Deprecated Classes
> ---------------------------------------------
>
>                 Key: ISIS-1909
>                 URL: https://issues.apache.org/jira/browse/ISIS-1909
>             Project: Isis
>          Issue Type: Sub-task
>            Reporter: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M1
>
>
> +Removed+
>  * IsisJdoSupport (replaced by API specific variants)
>  * Annotation Parseable removed
>  * Annotation Encodable removed
>  * ...
> +Moved+
> FROM
>  org/apache/isis/applib/services/eventbus/*
> TO
>  org/apache/isis/applib/events/domain/AbstractDomainEvent
>  org/apache/isis/applib/events/domain/ActionDomainEvent
>  org/apache/isis/applib/events/domain/CollectionDomainEvent
>  org/apache/isis/applib/events/domain/PropertyDomainEvent
>  org/apache/isis/applib/events/lifecycle/AbstractLifecycleEvent
>  org/apache/isis/applib/events/lifecycle/ObjectCreatedEvent
>  org/apache/isis/applib/events/lifecycle/ObjectLoadedEvent
>  org/apache/isis/applib/events/lifecycle/ObjectPersistedEvent
>  org/apache/isis/applib/events/lifecycle/ObjectPersistingEvent
>  org/apache/isis/applib/events/lifecycle/ObjectRemovingEvent
>  org/apache/isis/applib/events/lifecycle/ObjectUpdatedEvent
>  org/apache/isis/applib/events/lifecycle/ObjectUpdatingEvent
>  org/apache/isis/applib/events/ui/AbstractUiEvent
>  org/apache/isis/applib/events/ui/CssClassUiEvent
>  org/apache/isis/applib/events/ui/IconUiEvent
>  org/apache/isis/applib/events/ui/TitleUiEvent
> +ISIS-1599+
> Meta-Data validation will now fail if a collection action parameter is found 
> that is not exactly one of the following supported types: List, Set, 
> SortedSet, Collection or Array.
> +In case we ship the legacy build (unlikely) ...+
> to ease transition from 1.x to 2.0 we introduced legacy variants as drop-in 
> replacements
> - RepositoryService -> RepositoryServiceLegacy
> - ExceptionRecognizerAbstract -> ExceptionRecognizerAbstractLegacy
> - ExceptionRecognizerForType -> ExceptionRecognizerForTypeLegacy



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to