Releases: eclipse-ee4j/mojarra
4.1.1
What's Changed
- size attribute is only supported on HtmlSelect*Listbox components by @BalusC in #5433
- 4.0.7 has been released by @BalusC in #5440
- Fix #5445 Dynamic actions not correctly processed by @BalusC in #5446
- Fix #5444: fix StringIndexOutOfBoundsException on corrupted state param by @BalusC in #5447
- Improve timing of firing PreRemoveFromViewEvent wrt children by @BalusC in #5454
- 4.1.0 has been released by @BalusC in #5455
- remove JAX-WS dependency by @BalusC in #5453
Full Changelog: 4.1.0-RELEASE...4.1.1-RELEASE
4.1.0
What's Changed
- Fix #4281: corrupted component tree when using namespaced HTML elements by @BalusC in #5109
- Fix #4260: AttachedObjectListHolder IndexOutOfBounds fix 3.0 by @melloware in #5103
- Fix #4260: AttachedObjectListHolder IndexOutOfBounds fix 2.3 by @melloware in #5102
- 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
- Merge 3.0.2 release changes by @arjantijms in #5154
- Fix #5155: NPE in BeanValidator when the ValueReference has no base class by @rmartinc in #5156
- Fix #5165 by @BalusC in #5166
- Mojarra issue 5164 by @BalusC in #5169
- Mojarra issue 5150 by @BalusC in #5168
- Update README to current state of technology by @BalusC in #5167
- Set version for Mojarra .Next (4.1 for now) by @arjantijms in #5173
- 3.0.3 by @BalusC in #5175
- Add release instructions by @BalusC in #5176
- Mojarra issue 5171 by @BalusC in #5172
- Mojarra issue 5171 by @BalusC in #5177
- Remove deprecated bindings field by @arjantijms in #5174
- Fix Mojarra issue 5140 html code inside ui:decorate breaks ui:param evaluation by @BalusC in #5178
- 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
- Fixes localized composite behaviour by @cristof in #5161
- Fixes localized composite behaviour (3.0) by @cristof in #5163
- Clarified spec wrt location of f:metadata by @BalusC in #5179
- Backport WARNING message into Mojarra 4.0 by @BalusC in #5180
- jakartaee/faces#1755 by @BalusC in #5184
- Add ExternalContext#setResponseContentLengthLong by @BalusC in #5187
- Mojarra issue 5190 merged into 4 0 by @BalusC in #5193
- Mojarra issue 5190 merged into 3 0 by @BalusC in #5192
- 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 by @NicolaIsotta in #5197
- #5196 correct managed() javadoc (4.0) by @NicolaIsotta in #5199
- #5196 correct managed() javadoc (3.0) by @NicolaIsotta in #5200
- #5196 correct managed() javadoc (2.3) by @NicolaIsotta in #5201
- Fix various warnings in tests by @Emkas in #5206
- Completed service file parsing. by @Master-Code-Programmer in #5205
- fix NPE if getResourcePaths return null by @zfqjava in #5194
- Make sure the beanClass attribute of all synth beans points to the CDI extension declaring them by @manovotn in #5158
- Maven JS compressor + Faces.js optimization + partial submit by @pizzi80 in #5141
- Add back id attribute to VDL of h:head and h:body by @BalusC in #5186
- 4.0.1 has been released by @BalusC in #5211
- 3.0.4 has been released by @BalusC in #5209
- 2.3.19 has been released by @BalusC in #5208
- 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
- faces.js optimizations and bugfix by @pizzi80 in #5225
- Merge 4.0 branch into master by @arjantijms in #5230
- faces.js Faces TCK test issues fixed. by @pizzi80 in #5231
- [5222] JSF pages containing #{session.id} fail with NotSerializableException when sessions are distributable by @pferraro in #5223
- 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
- Avoid name collision in generated javascript by @jumapico in #5219
- [5222] [4.0] JSF pages containing #{session.id} fail with NotSerializableException when sessions are distributable by @pferraro in #5224
- View maps entries are not restored in "finally" block by @santoszv in #5234
- Chinese tran for UUID Converter by @hantsy in #5244
- Copiers optimizations by @pizzi80 in #5252
- maven JS compressor - transpiler level by @pizzi80 in #5257
- String.replaceAll -> String.replace by @pizzi80 in #5258
- faces.js: isAutoExec test is not needed anymore by @pizzi80 in https://github.com/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