Releases: eclipse-ee4j/mojarra
4.0.6
What's Changed
- [4.0] [5345] Do not override application-specified "com.sun.faces.enableDistributable" value. by @pferraro in #5347
- Merge 4.0.5 release branch in 4.0 by @arjantijms in #5356
- Make sure that ViewHandler#getViews() also returns programmatic facelets by @BalusC in #5369
- Remove jakarta.faces.visit.SKIP_ITERATION by @BalusC in #5371
- UIInput#getSubmittedValue() must also consider isLocalValueSet() when INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true by @BalusC in #5387
- #5383 cleanup facelets encoding management by @BalusC in #5385
- #5389: Fix wrong base url to validate contracts resource by @BalusC in #5390
- #5375: jfwid may not leak session id by @BalusC in #5402
- PartialViewContextImpl should use same VisitContext to reset values as the one used to process the execute and render by @BalusC in #5397
- Add session mutex by @BalusC in #5393
- Consider ClosedChannelException as well when checking for connection abort by @BalusC in #5394
- Migrate JUnit4 to JUnit5 and EasyMock/PowerMock to Mockito by @BalusC in #5409
- Micro optimization to clarify intent of viewMap.clear() in setViewRoot() by @BalusC in #5410
- Reduce logging level of exception which is already rethrown by @BalusC in #5411
Full Changelog: 4.0.5-RELEASE...4.0.6-RELEASE
4.0.5
What's Changed
- Composite component can't find reparented child when it's in turn in another NamingContainer within the composite by @BalusC in #5315
- Fixes #5316 - ClientWindow: Custom PrimeClientWindowFactory not being respected (4.0 backport) by @mnriem in #5323
- Move back weld reinit from ConfigureListener into FacesInitializer by @BalusC in #5324
- Fixed jakarta.faces.WEBAPP_CONTRACTS_DIRECTORY spec/impl mismatch by @BalusC in #5330
- UnsupportedOperationException in InitFacesContext (#5341) by @jasondlee in #5342
- Remove unused constants for com.sun.faces.* context params by @BalusC in #5332
- Improved impl of Java Security Ultimate Security Repo Scanner 2023 (#5339) by @BalusC in #5343
New Contributors
- @jasondlee made their first contribution in #5342
Full Changelog: 4.0.4-RELEASE...4.0.5-RELEASE
4.0.4
What's Changed
- UIData: return static empty data model if value is null by @pizzi80 in #5304
- Fix #5308 ambiguous resolution during release of FacesContext when there is more than one implementation of FacesContext known to CDI in bean-discovery-mode=all state by @BalusC in #5309
- jakarta.faces.NUMBER_OF_CLIENT_WINDOWS was not considered as context param by @BalusC in #5293
- Mojarra fails to initialize when BDA is empty according to Weld by @BalusC in #5238
- More robust impl of "retargeted ajax behavior" as previous impl failed in nested composites by @BalusC in #5294
- RowIndex/DataModel of UIData doesn't need to be reset when broadcasted row index and current row index are both -1; noticed same thing on UIRepeat as well so also improved over there by @BalusC in #5287
- Fix javadoc errors on #5032 (com.sun.faces.* is also checked in 4.0) by @BalusC in #5310
- Fixed regression error which caused spec1567IT to fail; the composite instance is needed further down in ComponentNotFoundException block by @BalusC in #5311
- Fix #1567 <f:ajax> execute="@this" and render="@this" does not behave as expected when nested in composite component by @BalusC in #5312
Full Changelog: 4.0.3-RELEASE...4.0.4-RELEASE
2.3.21
What's Changed
- #5118: ensure that leading slash is present on result of context params WEBAPP_RESOURCES_DIRECTORY and WEBAPP_CONTRACTS_DIRECTORY by @BalusC in #5134
- Mojarra issue 5150 by @BalusC in #5168
- Fix Mojarra issue 5153 NumberFormatException updating buttons inside facet header of a data table by @BalusC in #5170
- Fixes localized composite behaviou (2.3) by @cristof in #5162
- Add EmptyStringToNullELResolver to work around a misinterpreted change in EL3 spec by @BalusC in #5191
- #5196 correct managed() javadoc (2.3) by @NicolaIsotta in #5201
- 2.3.19 has been released by @BalusC in #5208
- Fix #5220: NPE surfaced by EmptyStringToNullELResolver by @BalusC in #5235
- Skip already-processed documents in case multiple ConfigurationResourceProviders return same documents by @BalusC in #5239
- Don't attempt to reconfigure PartialResponseWriter when it's already committed by @BalusC in #5240
- 2.3.20 has been released by @BalusC in #5282
- UIData: return static empty data model if value is null by @pizzi80 in #5304
- More robust impl of "retargeted ajax behavior" as previous impl failed in nested composites by @BalusC in #5294
- RowIndex/DataModel of UIData doesn't need to be reset when broadcasted row index and current row index are both -1; noticed same thing on UIRepeat as well so also improved over there by @BalusC in #5287
- Fix javadoc errors on #5032 (com.sun.faces.* is also checked in 4.0) by @BalusC in #5310
- Fixed regression error which caused spec1567IT to fail; the composite instance is needed further down in ComponentNotFoundException block by @BalusC in #5311
- jakartaee/faces#1567 by @BalusC in #5312
Full Changelog: 2.3.18-RELEASE...2.3.21-RELEASE
4.0.3
What's Changed
- Fix #5220: NPE surfaced by EmptyStringToNullELResolver by @BalusC in #5235
- FacesContext EL variable incorrectly references previous instance after sendError() to a Facelet by @BalusC in #5207
- [5222] [4.0] JSF pages containing #{session.id} fail with NotSerializableException when sessions are distributable by @pferraro in #5224
- Skip already-processed documents in case multiple ConfigurationResourceProviders return same documents by @BalusC in #5239
- Don't attempt to reconfigure PartialResponseWriter when it's already committed by @BalusC in #5240
- [5262] Do not set the response buffer size if set to -1. by @jamezp in #5268
- Added one more condition to ResourceHandlerImpl#isConnectionAbort() by @BalusC in #5271
- Split FaceletDoctype from HtmlDoctype as it's in prod env not recreated on every request by @BalusC in #5275
- Extract Faces spec version from manifest by @BalusC in #5276
Full Changelog: 4.0.2-RELEASE...4.0.3-RELEASE
4.0.2
Mojarra implements Jakarta Faces, which is an MVC server side rendering (SSR) framework. It can be used to create the UI of a web application.
What's Changed
- Fix #4281: corrupted component tree when using namespaced HTML elements by @BalusC in #5109
- Fix #5120: no need to doublecheck if view exists when invoked via ViewHandler#deriveLogicalViewId() instead of deriveViewId() by @BalusC in #5121
- Don't use deprecated junit.framework.Assert by @Emkas in #5116
- Remove unused imports by @Emkas in #5111
- MetadataWrapperMap - remove empty @SuppressWarnings by @Emkas in #5112
- ELUtils - remove dead code by @Emkas in #5113
- Stop using Boolean constructors by @Emkas in #5123
- UIComponentBaseBehaviorTestCase - remove handmade set creation by @Emkas in #5122
- Various Javadoc fixes by @Emkas in #5115
- DigesterFactory - call static RESOLVER in a static fashion by @Emkas in #5127
- ParseXMLTestCase - clean-up by @Emkas in #5114
- MockServletContext - clean-up by @Emkas in #5128
- ValueHolderTestCaseBase: call Thread.sleep in a static way by @Emkas in #5130
- UIComponentBaseTestCase - use raw types on iterators by @Emkas in #5131
- facelets.compiler classes use strong types by @Emkas in #5132
- Remove unused/dead code by @Emkas in #5136
- Remove unnecessary @SuppressWarnings by @Emkas in #5137
- #5118: ensure that leading slash is present on result of context params WEBAPP_RESOURCES_DIRECTORY and WEBAPP_CONTRACTS_DIRECTORY by @BalusC in #5134
- UIComponentTestCase - types clean-up by @Emkas in #5135
- jakarta.faces.component.html: remove OPTIMIZED_PACKAGE by @Emkas in #5129
- ResultSetDataModelTestCase - remove deprecated numeric constructors by @Emkas in #5138
- Fixed Licence url in pom.xml by @pizzi80 in #5139
- Raw types in mocks by @Emkas in #5142
- UIComponentBaseTestCase - use spaces over tabs by @Emkas in #5143
- Remove raw types warnings with Class by @Emkas in #5133
- MockApplication - update methods types by @Emkas in #5144
- Using raw types in various classes by @Emkas in #5145
- Mocks clean up by @Emkas in #5146
- NamingContainerTestCase - fix compilation error by @Emkas in #5147
- Various fixes of warnings in tests by @Emkas in #5149
- Remove newInstance() deprecation warnings by @Emkas in #5152
- Fix NPE in BeanValidator when the ValueReference has no base class by @rmartinc in #5156
- Fix ExternalContext.addResponseCookie does not support different properties by @BalusC in #5166
- Fix Not honoring default value of jakarta.faces.FACELETS_BUFFER_SIZE by @BalusC in #5169
- Fix ui:repeat with begin and end continuous increment by @BalusC in #5168
- Update README to current state of technology by @BalusC in #5167
- Mojarra issue 5171 by @BalusC in #5177
- Fix html code inside ui:decorate breaks ui:param evaluation by @BalusC in #5178
- Fix NumberFormatException updating buttons inside facet header of a data table by @BalusC in #5170
- Fixes localized composite behaviour by @cristof in #5161
- Backport WARNING message into Mojarra 4.0 by @BalusC in #5180
- jakartaee/faces#1755 by @BalusC in #5184
- Mojarra issue 5190 merged into 4 0 by @BalusC in #5193
- Add EmptyStringToNullELResolver to work around a misinterpreted change in EL3 spec by @BalusC in #5191
- Fix
UnsupportedOperationException
when using custom taglibs by @igormukhin in #5195 - #5196 correct managed() javadoc (4.0) by @NicolaIsotta in #5199
- Completed service file parsing. by @JD-CSTx in #5205
- Make sure the beanClass attribute of all synth beans points to the CDI extension declaring them by @manovotn in #5158
- FacesConfig#version() cannot return null by @BalusC in #5210
- Fix for derivePhysicalViewId broken in #5120 by @arjantijms in #5217
- Fix API signature failure by @arjantijms in #5218
New Contributors
- @cristof made their first contribution in #5162
- @igormukhin made their first contribution in #5195
- @JD-CSTx made their first contribution in #5205
Full Changelog: 4.0.0-RELEASE...4.0.2-RELEASE
2.3.18
Maintenance release of the 2.3.x series.
What's Changed
- Improve detection of iterable parents in ui:repeat and h:dataTable by @BalusC in #5025
- Backport #5032 for 2.3 by @BalusC in #5035
- Add com.sun.faces.numberOfActiveViewMaps by @BalusC in #5039
- Fix ajax error when form feed char is present in partial response by @BalusC in #5037
- #5041 fix deploy fail when optionally injectable class is not injectable by @BalusC in #5048
- #4743: Fix deploy fail when com.sun.faces.clientStateTimeout is invalid by @BalusC in #5049
- #4699: backport #4071 into 2.3 by @BalusC in #5050
- Remove redundant JSP checks by @larsgrefer in #5063
- Remove checks for Servlet < 3.0 by @larsgrefer in #5064
- #5065: fix InsertChildrenHandler#processEvent() misbehavior caused by composite panel returning null on getId() by @BalusC in #5071
- Restore original impl of findChildByTagId() for the FSS case by @BalusC in #5074
- Fix #5081: UISelectMany#getSubmittedValue() should not default to empty string by @BalusC in #5082
- Fix #5059: Backport for 2.3 FACELETS_REFRESH_PERIOD > 0 by @melloware in #5095
- Fix #5077 for 2.3: UIRepeat#visitTree caches/restores wrong index-value by @fanste in #5091
- Fix #5097: UIForm performance improvement 2.3 by @melloware in #5098
- Do not log ClientAbortException by @schicho in #5072
- Fix #5075: add support to CDI-resolve @FacesValidator without ID by @BalusC in #5108
- Fix #4281: corrupted component tree when using namespaced HTML elements by @BalusC in #5109
- Fix #4260: AttachedObjectListHolder IndexOutOfBounds fix 2.3 by @melloware in #5102
New Contributors
Full Changelog: 2.3.17-RELEASE...2.3.18-RELEASE
4.0.0
Major new version of Mojarra, implementing Jakarta Faces 4.0 and aligned with Jakarta EE 10. Jakarta Faces is an MVC server side rendering (SSR) framework.
This release has the following main changes:
Removed deprecated things
- Removing JSP support as a VDL (deprecated since 2.0) - [FACES #1546]
- Removing the native managed beans (deprecated since 2.3) - [FACES #1547]
- Removing references to the native EL (deprecated since 1.2) - [FACES #1548]
- Default "Fakes Faces 2.2"-mode (defaulting to the current version instead)
- Rename "jsf" everywhere to "faces" [FACES #1552]
Features
- Extensionless views by default [FACES #1508]
- New scope ClientWindowScoped [FACES #1509]
- Allow redirect via Annotation on action [FACES #1554]
- First class support for creating views in Java [FACES #1581]
Preview feature (Mojarra specific):
- New lifecycle for REST/REST-like actions [FACES #1580]
Note that the preview feature only exists in the source code and is not included in the binary release at this time.
For more details see: balusc.omnifaces.org/2021/11/whats-new-in-faces-40
4.0.0-M7
What's Changed
- fixing CTS failure issue in master branch by @ren-zhijun-oracle in #4384
- a pom file for release by @ren-zhijun-oracle in #4387
- fix an failed CTS test case: signature of FacesServlet.initializeAllo… by @ren-zhijun-oracle in #4388
- fixing licese issues by @ren-zhijun-oracle in #4391
- Fixes issue #4395 - Remove DisableFaceletJSFViewHandlerDeprecated by @manfredriem in #4401
- Fixes issue #4408 - Add TravisCI file by @manfredriem in #4409
- Fixes issue #4402 - Remove JSP support by @manfredriem in #4403
- Fixes issue #4404 - Remove JSP tag libraries by @manfredriem in #4405
- Fixes issue #4411 - Remove old style managed bean support by @manfredriem in #4413
- 4406 version to 3.0 by @arjantijms in #4416
- Fixes issue #4412 - Remove JSP EL resolver by @manfredriem in #4414
- Fixes issue #4410 - Add Glassfish automated testing to TravisCI file by @manfredriem in #4418
- Fixes issue #4415 - Reconfigure Clirr plugin to be against JSF API 2.3 by @manfredriem in #4419
- 4417 remove el package by @arjantijms in #4420
- Fixes issue #4421 - Enable javaee8 tests by @manfredriem in #4422
- Fixes issue #4423 - Enable javaee7 tests by @manfredriem in #4424
- Fixes issue #4425 - Enable javaee6 tests by @manfredriem in #4426
- Fixes issue #4427 - Enable servlet40 tests by @manfredriem in #4428
- Fixes issue #4429 - Enable servlet31 tests by @manfredriem in #4430
- 4433 fix servlet30 tests round 1 by @arjantijms in #4434
- Fixes issue #4435 - Remove test/servlet30-isolated/coreTags by @manfredriem in #4437
- Fixes issue #4436 - Remove code generation for javax.faces.component.html by @manfredriem in #4438
- fix license issue found by Eclipse review by @ren-zhijun-oracle in #4446
- for eclipse review by @ren-zhijun-oracle in #4447
- Fix servlet30 tests 2 by @arjantijms in #4449
- Fixing remainder of servlet30 tests by @arjantijms in #4450
- Moved systest to isolated2 top level by @arjantijms in #4451
- Fixes issue #4441 - Remove code generation for AttributeManager by @manfredriem in #4442
- Fixes issue #4443 - Remove the com.sun.faces.taglib package and its sub packages by @manfredriem in #4444
- Prevent ScopedAttributeELResolver to create Session/ViewScope as a si… by @kalgon in #4448
- #4411 - remove javax.faces.bean package by @arjantijms in #4453
- Remove unused annotation scanners by @arjantijms in #4454
- Fix javadoc warnings in tools by @arjantijms in #4455
- #4458 - Remove jsf-ri-runtime.xml generation by @arjantijms in #4459
- Remove jsf ri runtime generation - jsf tools files by @arjantijms in #4462
- Remove copy of files that has no effect. by @arjantijms in #4463
- #4464 - Removed code generation for standard html renderkit by @arjantijms in #4465
- Removed unused jsf-spi module by @ggam in #4460
- #4466 Replaced ANT based yuicompression with Mvn plug-in by @arjantijms in #4467
- #4468 Replaced ant based resource filter with standard maven filtering by @arjantijms in #4469
- Removed unused JSF Tools classes by @arjantijms in #4470
- Removed JAXB dependency by @ggam in #4471
- #4473 - replaced ant based renderkit gen with maven plug-in by @arjantijms in #4474
- #4476 - Removed JSF tools module by @arjantijms in #4477
- Moved html JavaDoc to package-info by @ggam in #4479
- Removed some lingering remnants of jsf-tools by @arjantijms in #4481
- Removed uncompilable class by @ggam in #4482
- Fixes issue #4486 - Remove legacy JSF 1.2 view handler support by @manfredriem in #4487
- Updating poms - formatting, organising and removing some 2.4 leftovers by @arjantijms in #4485
- Fix compilation on Java 11 by @lasombra in #4502
- Revert "Fix compilation on Java 11" by @arjantijms in #4504
- Fix compilation on Java 11 by @lasombra in #4505
- Bug 4262 - don't restore rowIndex in UIData#invokeOnComponent, if it … by @fcaputo in #4508
- Update parent pom to 1.0.5 by @Cousjava in #4510
- Refactor CDI code into same package by @manfredriem in #4512
- fix #4527 by considering request URL protocol instead of request schema by @schulzp in #4529
- Fix issue 4551, don't compare class name and skip CDIValidator by @soul2zimate in #4552
- Remove unused code by @pzygielo in #4589
- Don't log expected NoSuchMethodException after it's caught. by @soul2zimate in #4545
- Avoid NPE in ELUtils.addEL3_0_Resolvers when streamELResolver is null by @TomasHofman in #4593
- Escaping CDATA end tags by @TomasHofman in #4595
- [issue-4577] Protected view JSF page can not be accessed with port 80 by @tmiyargi in #4578
- Added corrections and translations to german message resource bundle. by @Selaron in #4519
- Remove unused code by @pzygielo in #4591
- Remove unused code by @pzygielo in #4592
- Remove unused imports by @pzygielo in #4613
- Travis build for master by @pzygielo in #4616
- Issue #4509 Removed faulty context map clear and replaced with check by @dmatej in #4621
- Memory leak in FlashScope - expired elements are not cleared by @spyrkob in #4633
- Issue 4553 - Resoures#encodeAll doesn't work anymore since 2.3.x by @tmiyargi in #4630
- Fix #4082 Performance issue with ELUtils#isCompositeComponentMethodExprLookup by @kguelzau in #4385
- Fix problem introduced in JAVASERVERFACES_SPEC_PUBLIC-1329, also cons… by @soul2zimate in #4643
- Use Jakarta EE 8 dependencies by @Cousjava in #4679
- Issue4550 alternative master by @soul2zimate in #4706
- JSF trying to load DTD over the network by @moulalis in #4701
- Merge 3.0 into master by @arjantijms in #4762
- Version to 4.0.0-SNAPSHOT by @arjantijms in #4764
- Remove legacy JSF 1.2 view handler support by @arjantijms in #4766
- Remove unused validation from impl pom by @arjantijms in #4767
- #4768 Remove Mojarra build-in components "mojarra_ext" by @arjantijms in #4770
- #4769 Remove ancient check for Facelets 1.1.x standalone lib on cp by @arjantijms in #4771
- #4772 Tests from servlet40 folder updated and moved by @arjantijms in #4773
- #4458 Remove now unused provider for jsf-ri-runtime.xml by @arjantijms in #4774
- #4775 Remove JSP support by @arjantijms in #4776
- #4775 Remove JSP support - Remove API files by @arjantijms in #4777
- #4775 Remove JSP support - various leftovers by @arjantijms in https://github.com/eclipse...
4.0.0-M5
5th milestone of Mojarra.
This release contains the following changes:
- Issue #1581: New API to programmatically create Facelets
- Issue #1508: New automatic extensionless mapping
- Issue #1509: New annotation @ClientWindowScoped
- Issue #1570: Support custom cookie attributes such as SameSite in ExternalContext#addResponseCookie()
- Issue #1555: New attribute <h:inputFile multiple="...">
- Issue #1556: New attribute <h:inputFile accept="...">
- Issue #1557: New method FacesContext#getLifecycle()
- Issue #1559: New tag <f:selectItemGroups>
- Issue #1560: New attribute <h:inputText type="...">
- Issue #1563: New tag <f:selectItemGroup>
- Issue #1568: New method UIViewRoot#getDoctype()
- Issue #1573: New attribute <f:websocket onerror="...">
- Issue #1574: New layout="list" for <h:selectManyCheckbox> and <h:selectOneRadio>
- Issue #1582: New annotation literals for all @qualifiers
- Issue #1558: Make UIComponent#subscribeToEvent() more convenient
- Issue #1565: Skip type attribute from <link> and <script> when doctype is HTML5
- Issue #1567: Improve <f:ajax> behavior in composite components
Including the following backwards incompatible changes:
- Issue #1552: Rename "JSF" to "Faces" over all place
- Issue #1553: Rename "http://xmlns.jcp.org/jsf/" URL to "jakarta.faces." URN
- Issue #1546: Remove all JSP support
- Issue #1547: Remove native Managed Beans (@ManagedBean and related)
- Issue #1548: Remove MethodBinding, ValueBinding and friends
- Issue #1571: Remove CURRENT_COMPONENT constants from UIComponent class
- Issue #1578: Remove deprecated methods of StateManager class
- Issue #1583: Remove entire ResourceResolver class
Note that M3 and M4 contained various issues and were re-staged.