Differences between revisions 3 and 4
Revision 3 as of 2014-03-04 05:39:27
Size: 14840
Comment:
Revision 4 as of 2014-03-10 02:29:54
Size: 13049
Comment:
Deletions are marked like this. Additions are marked like this.
Line 270: Line 270:
Release Notes - MyFaces Core - Version 2.2.1
Line 272: Line 274:
    [MYFACES-3820] - UIInput.setSubmittedValue() cause recursive call when calling getSubmittedValue() on Debug
    [MYFACES-3821] - Implement UIData.setDataModel(...)
    [MYFACES-3824] - @FlowScope with no defining documentId set cannot found active flow with explicit documentId
    [MYFACES-3829] - alwaysRecompile logged as wrong value for org.apache.myfaces.CACHE_EL_EXPRESSIONS on startup
    [MYFACES-3830] - Component created using @FacesComponent with createTag=true and @ResourceDependency makes initialization fail
    [MYFACES-3831] - CacheELFaceletCacheImpl is not storing the compiled template (only when "alwaysRecompile" is enabled)
    [MYFACES-3832] - disableClientWindow is not fully implemented
    [MYFACES-3834] - Restore org.apache.myfaces.config.impl.digester.elements.FacesConfig to avoid tomee integration to fail
    [MYFACES-3835] - ViewState gets truncated on chrome with richfaces fileupload component
    [MYFACES-3836] - f:ajax disabled=false in commandButton with onclick prevents form submission
    [MYFACES-3837] - ui:debug renders an & but it should be & because the markup is inside a CDATA section
    [MYFACES-3838] - LegacyUserTagHandler should implement ComponentContainerHandler
    [MYFACES-3839] - Relative implicit link not found when it reference parent nodes.
    [MYFACES-3845] - Invalid modification of facesConfig.getFacesFlowDefinitions() collection when implicit flow definition is derived
    [MYFACES-3847] - HtmlStylesheetRenderer doesn't ignore additional link parameters when checking for the resource
    [MYFACES-3850] - html EL expression inside markup enables escape on static text in facelets jspx mode
    [MYFACES-3853] - ui:include not working inside c:forEach
    [MYFACES-3854] - oam-compress-spaces remove carriage return / line feed in CDATA sections
    [MYFACES-3857] - Unbalanced pushComponentToEL/popComponentFromEL in processUpdates
    [MYFACES-3858] - Faces Flow startNode is not defined by default for xml non empty files ending with -flow.xml
    [MYFACES-3859] - Allow use the flowId as a nodeId inside the same flow
    [MYFACES-3860] - UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy
    [MYFACES-3861] - impl-test module using unpack plugin does not allow generate site
Line 288: Line 287:
    [MYFACES-3804] - Use the same key in server side state saving for ajax requests
    [MYFACES-3806] - Destroy ViewScope beans when view is discarded from view state.
    [MYFACES-3815] - Lazy instantiation of Renderer classes
    [MYFACES-3819] - Allow override resource components using a tag handler
    [MYFACES-3823] - [perf] use a preinitialized table of unique ids for UIViewRoot.createUniqueId(...)
    [MYFACES-3825] - [perf] Cache EL expressions using an indirection for ui:param and user tag attributes
    [MYFACES-3828] - [perf] Do not store the namespace into state for dynamic components

New Feature

    [MYFACES-3664] - JSF View Pooling (going beyond JSF Stateless Mode)

Task

    [MYFACES-3647] - remove JspStateManagerImpl and other unused stuff in this area
    [MYFACES-3715] - Remove unnecessary parameters or features from earlier versions in MyFaces 2.2
    [MYFACES-3809] - Add http://java.sun.com/jstl/core as a valid namespace for "c" jstl library in facelets
    [MYFACES-3810] - Add compatibility mode for facelets 1.1.x behavior
    [MYFACES-3811] - Fix c:forEach behavior once for all
    [MYFACES-3812] - Cleanup Facelets Initialization Code and decouple facelets taglibrary config parsing
    [MYFACES-3813] - Cleanup org.apache.myfaces.config.impl.digester.elements package
    [MYFACES-3814] - Allow ServiceProviderFinder to be initialized at startup
    [MYFACES-3818] - Unify behavior of composite component renderer
    [MYFACES-3822] - General cleanup and remove unused web config params
    [MYFACES-3826] - Add junit test case for MyFaces and CDI
    [MYFACES-3827] - Replace .xsd with the ones from geronimo or written from scratch
    [MYFACES-3846] - Implement temporal resourcehandler cache for JSF 2.2 contracts
    [MYFACES-3862] - Set mock InitialContextFactory for junit testing with myfaces impl test

Notes on the MyFaces Core 2.2.1 Release

  • Release manager: Leonardo Uribe

Timeline

  • Proposed release date: 2014-03-01

Issues

Testing

Here's how you can help us test the distribution.

Download a nightly build of the distribution assemblies:

Configure a <repository> for Maven 2:

        <repository>
           <id>apache.snapshots</id>
           <name>Apache Snapshot Repository</name>
           <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        </repository>

And declare a dependency on the 2.2.1 snapshots:

        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-api</artifactId>
            <version>2.2.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-impl</artifactId>
            <version>2.2.1-SNAPSHOT</version>
        </dependency>

Note: Maven 2.2.1 will not download a new version if one is already present in your local repository. You will need to delete $M2_REPO/org/apache/myfaces/core to force Maven to download the new version. (Usually, $M2_REPO is <your home directory>/.m2/repository .)

Test your application, then, let us know the results (good or bad!) on dev -at- myfaces.apache.org. (You must be subscribed to post. See: http://myfaces.apache.org/mail-lists.html.)

Tasks

Proposed Release Announcement

Diary

2. Preparing core 2.2.1

mvn clean install
mvn install -Pgenerate-assembly -Papache-release
mvn release:prepare -DprepareRelease=true -DdryRun=true
  • Release it! FAIL

mvn release:prepare -DprepareRelease=true -Dresume=false
mvn install
mvn install -Pgenerate-assembly -Papache-release
mvn release:rollback -DprepareRelease=true 
mvn release:prepare -DprepareRelease=true -Dresume=false
  • Note: Preparing the release will create the new tag in SVN, automatically checking in on your behalf. Note: If you're located in Europe then release:prepare may fail with 'Unable to tag SCM' and 'svn: No such revision X'. Wait 10 seconds and run mvn release:prepare again.

mvn release:prepare -DprepareRelease=true
  • Stage the release for a vote

mvn release:perform -DperformRelease=true

4. JIRA Release Management

  • Create 2.1.1 and 2.1.1-SNAPSHOT versions
  • Find resolved issues and close them
  • Unresolved issues moved to 2.1.1-SNAPSHOT
  • Issues fixed on both 2.1.1, 2.0.6 should be saved on a text file to add it later.

5. Next step is the TCK

  • TCK passed confirmed by Leonardo Uribe

6. Generate assembly

  • Try to do it automatically javadoc and other stuff SUCCESS. It generate myfaces-core-2.2.1-bin.tar.gz and zip,

mvn install -Pgenerate-assembly
cd assembly
mvn package
  • Create myfaces-core-2.2.1-src.tar.gz and zip manually and create .asc .md5 .sha1 for bin and src

openssl md5 myfaces-core-2.2.1-src.tar.gz > myfaces-core-2.2.1-src.tar.gz.md5
openssl md5 myfaces-core-2.2.1-src.zip > myfaces-core-2.2.1-src.zip.md5
openssl sha1 myfaces-core-2.2.1-src.tar.gz > myfaces-core-2.2.1-src.tar.gz.sha1
openssl sha1 myfaces-core-2.2.1-src.zip > myfaces-core-2.2.1-src.zip.sha1
gpg --armor --output myfaces-core-2.2.1-src.tar.gz.asc --detach-sig myfaces-core-2.2.1-src.tar.gz
gpg --armor --output myfaces-core-2.2.1-src.zip.asc --detach-sig myfaces-core-2.2.1-src.zip

openssl md5 myfaces-core-2.2.1-bin.tar.gz > myfaces-core-2.2.1-bin.tar.gz.md5
openssl md5 myfaces-core-2.2.1-bin.zip > myfaces-core-2.2.1-bin.zip.md5
openssl sha1 myfaces-core-2.2.1-bin.tar.gz > myfaces-core-2.2.1-bin.tar.gz.sha1
openssl sha1 myfaces-core-2.2.1-bin.zip > myfaces-core-2.2.1-bin.zip.sha1
gpg --armor --output myfaces-core-2.2.1-bin.tar.gz.asc --detach-sig myfaces-core-2.2.1-bin.tar.gz
gpg --armor --output myfaces-core-2.2.1-bin.zip.asc --detach-sig myfaces-core-2.2.1-bin.zip
  • Copy to private account on people.apache.org

scp -p -r myfaces-core-2.2.1-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfaces221binsrc/binaries
scp -p -r myfaces-core-2.2.1-src* lu4242@people.apache.org:/home/lu4242/public_html/myfaces221binsrc/sources
  • ALTERNATIVE: get it from nexus maven repository:

cd /home/lu4242/public_html/myfaces221binsrc/binaries

wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.tar.gz
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.tar.gz.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.tar.gz.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.tar.gz.sha1
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.zip
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.zip.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.zip.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-bin.zip.sha1

cd /home/lu4242/public_html/myfaces221binsrc/sources

wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.tar.gz
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.tar.gz.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.tar.gz.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.tar.gz.sha1
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.zip
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.zip.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.zip.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/core/myfaces-core-assembly/2.2.1/myfaces-core-assembly-2.2.1-src.zip.sha1

7. VOTE

Hi,

I was running the needed tasks to get the 2.2.1 release of Apache
MyFaces core out.

The artifacts passed the TCK test of Feb 2013 (jsftck-2.2_26-Feb-2013.zip).

Please note that this vote concerns all of the following parts:
 1. Maven artifact group "org.apache.myfaces.core" v2.2.1  [1]

Keep in mind that this vote also include the new myfaces-impl-test module. 
The documentation for this feature can be found here:

http://myfaces.staging.apache.org/wiki/core/user-guide/jsf-and-myfaces-howtos/unit-testing/setup-with-maven.html
http://myfaces.staging.apache.org/wiki/core/user-guide/jsf-and-myfaces-howtos/unit-testing/create-test-junit-runner.html

The artifacts were deployed on nexus repo [1] and to my private 
Apache account [3] for binary and source packages.

The release notes could be found at [4].

Also the clirr test does not show binary incompatibilities with myfaces-api.

Please take a look at the "2.2.1" artifacts and vote!

Please note: This vote is "majority approval" with a minimum of three
+1 votes (see [3]).

------------------------------------------------
[ ] +1 for community members who have reviewed the bits
[ ] +0
[ ] -1 for fatal flaws that should cause these bits not to be released,
 and why..............
------------------------------------------------

Thanks,
Leonardo Uribe

[1] https://repository.apache.org/content/repositories/orgapachemyfaces-1005/org/apache/myfaces/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://people.apache.org/~lu4242/myfaces221binsrc
[4] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12325868

8. Clirr report to check binary incompatibilities success

9. Vote closed, starting distribution

  • copy on /www/www.apache.org/dist/myfaces/source and /www/www.apache.org/dist/myfaces/binaries

cd /home/lu4242/public_html/myfaces221binsrc/sources
cp * /www/www.apache.org/dist/myfaces/source
cd /home/lu4242/public_html/myfaces221binsrc/binaries
cp * /www/www.apache.org/dist/myfaces/binaries
  • copy shared on /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/shared and test SUCCESS

Alternative for manual copy:

mvn clean deploy -DaltDeploymentRepository=myfaces-staging::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository -Psign-artifacts -DperformRelease=true -Dpassphrase=???
  • copy core on /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/core SUCCESS

Alternative for manual copy:

mvn clean deploy -DaltDeploymentRepository=myfaces-staging::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository -Psign-artifacts -DperformRelease=true -Dpassphrase=??? -Pgenerate-assembly 
  • Site deploy for shared and core (mvn site:site and mvn site:deploy)

10. Announce

Subject: [ANNOUNCE] MyFaces Core v2.2.1 Release

The Apache MyFaces team is pleased to announce the release of MyFaces Core 2.2.1.

MyFaces Core is a JavaServer(tm) Faces 2.2 implementation as specified by JSR-344.

The artifacts passed the TCK test of Feb 2013 (jsftck-2.2_26-Feb-2013.zip).

MyFaces Core 2.2.1 is available in both binary and source distributions.

    * http://myfaces.apache.org/download.html

MyFaces Core is also available in the central Maven repository under Group ID "org.apache.myfaces.core".

Release Notes - MyFaces Core - Version 2.2.1 

Bug

    [MYFACES-3845] - Invalid modification of facesConfig.getFacesFlowDefinitions() collection when implicit flow definition is derived
    [MYFACES-3847] - HtmlStylesheetRenderer doesn't ignore additional link parameters when checking for the resource
    [MYFACES-3850] - html EL expression inside markup enables escape on static text in facelets jspx mode
    [MYFACES-3853] - ui:include not working inside c:forEach
    [MYFACES-3854] - oam-compress-spaces remove carriage return / line feed in CDATA sections
    [MYFACES-3857] - Unbalanced pushComponentToEL/popComponentFromEL in processUpdates
    [MYFACES-3858] - Faces Flow startNode is not defined by default for xml non empty files ending with -flow.xml
    [MYFACES-3859] - Allow use the flowId as a nodeId inside the same flow
    [MYFACES-3860] - UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy
    [MYFACES-3861] - impl-test module using unpack plugin does not allow generate site

Improvement

    [MYFACES-3846] - Implement temporal resourcehandler cache for JSF 2.2 contracts
    [MYFACES-3862] - Set mock InitialContextFactory for junit testing with myfaces impl test


regards,

Leonardo Uribe

CoreRelease221 (last edited 2014-03-10 02:29:54 by LeonardoUribe)