Skip to content

Releases: eclipse-ee4j/mojarra

4.0.6

13 Mar 11:53
Compare
Choose a tag to compare

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

13 Nov 12:47
Compare
Choose a tag to compare

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

Full Changelog: 4.0.4-RELEASE...4.0.5-RELEASE

4.0.4

09 Sep 09:12
Compare
Choose a tag to compare

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

08 Sep 19:15
Compare
Choose a tag to compare

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

23 Aug 17:33
Compare
Choose a tag to compare

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

17 Mar 16:10
Compare
Choose a tag to compare

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

Full Changelog: 4.0.0-RELEASE...4.0.2-RELEASE

2.3.18

24 Jun 13:29
Compare
Choose a tag to compare

Maintenance release of the 2.3.x series.

What's Changed

New Contributors

Full Changelog: 2.3.17-RELEASE...2.3.18-RELEASE

4.0.0

08 Jun 20:23
Compare
Choose a tag to compare

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.

Mojarra4

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

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

03 May 14:42
Compare
Choose a tag to compare
4.0.0-M7 Pre-release
Pre-release

What's Changed

Read more

4.0.0-M5

28 Feb 13:19
Compare
Choose a tag to compare
4.0.0-M5 Pre-release
Pre-release

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:

Note that M3 and M4 contained various issues and were re-staged.