Re: Package rename transition

Lukasz Lenart <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkPd_bUr=2Sy_3+9y4pJHSEmZrDnxtsE4WWgVCnjNyO9TQ@mail.gmail.com>
Done
https://github.com/apache/struts/pull/1096

pt., 25 paź 2024 o 06:49 Lukasz Lenart <[email protected]> napisał(a):
>
> I'm going to create a ticket to deprecated "parameters" and add
> "attributes" to 6.7 as proposed by Greg
>
> pt., 25 paź 2024 o 03:36 Kusal Kithul-Godage
> <[email protected]> napisał(a):
> >
> > These changes are all merged to master/6.x now - thanks Lukasz for reviewing
> > I'll sort out the merge conflicts with the 7.0 branch in a few days
> >
> > On Mon, Oct 21, 2024 at 5:52 PM Kusal Kithul-Godage
> > <[email protected]> wrote:
> > >
> > > So in Struts 7.0, the com.opensymphony.xwork2 package is being renamed
> > > and merged with org.apache.struts2.
> > >
> > > For many applications this will be a straightforward find and replace
> > > when upgrading to 7.0. However, I was doing some investigation into
> > > whether we can provide a small deprecation/transitionary period where
> > > both packages are supported (e.g. Struts 6.7). This would be very
> > > helpful for migrating large multi-module codebases.
> > >
> > > After some work [1], I was able to get key APIs working in both
> > > packages. With these changes, most Action, Result and Interceptor
> > > classes can be migrated over to the new org.apache.struts2 namespace.
> > > I've also created compatible org.apache.struts2 counterparts for
> > > com.opensymphony.xwork2.ActionContext as well as a bunch of Action
> > > marker interfaces.
> > >
> > > I've taken care to ensure these changes don't impact backwards
> > > compatibility and so migrating to the new package namespace as part of
> > > Struts 6.x is entirely optional.
> > >
> > > I'm not sure if there is another Struts 6.x release planned but I
> > > think there's some value in providing such a transitional version,
> > > even if it's only for a subset of APIs. Thoughts?
> > >
> > > [1] https://github.com/apache/struts/pulls/kusalk
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.