Releases: eclipse-ee4j/mojarra
Releases · eclipse-ee4j/mojarra
4.1.7
What's Changed
- Fix #5663 by @BalusC in #5665
- Bugfix IT Test 5596: set locale for converter by @pizzi80 in #5670
- Fix #5662: no feedback when exception is thrown in midst of ajax response writing, it would only cause malformed xml by @BalusC in #5666
- fix #5673: basically revert #5614 and then improve it by @BalusC in #5674
- Add IT for #5676 to prove it works fine by default by @BalusC in #5677
- 4.1 faces js getFormsToUpdate optimization + documentation by @pizzi80 in #5671
- Clean up unit tests by @BalusC in #5688
- Add comprehensive unit test set for faces.js 4.1 by @BalusC in #5690
- Use URLSearchParams instead of encodeURIComponent 4.1 by @BalusC in #5693
- Fix #5694: add missing tags/attributes by @BalusC in #5695
- Fix #5681: improved fallback when missing faces.ajax.addOnError handler by @BalusC in #5682
- #5399: normalize whitespace in input and pattern while parsing in DateTimeConverter and NumberConverter by @BalusC in #5679
Full Changelog: 4.1.6-RELEASE...4.1.7-RELEASE
4.0.15
What's Changed
- Fix #5663 by @BalusC in #5665
- Fix #5662: no feedback when exception is thrown in midst of ajax response writing, it would only cause malformed xml by @BalusC in #5666
- fix #5673: basically revert #5614 and then improve it by @BalusC in #5674
- Add IT for #5676 to prove it works fine by default by @BalusC in #5677
- Fix #5686: catch up faces.js versions by @BalusC in #5687
- Clean up unit tests by @BalusC in #5688
- Add comprehensive unit test set for faces.js by @BalusC in #5689
- Use URLSearchParams instead of encodeURIComponent and catch up tests by @BalusC in #5692
- Fix #5694: add missing tags/attributes by @BalusC in #5695
- Fix #5681: improved fallback when missing faces.ajax.addOnError handler by @BalusC in #5682
- #5399: normalize whitespace in input and pattern while parsing in DateTimeConverter and NumberConverter by @BalusC in #5679
Full Changelog: 4.0.14-RELEASE...4.0.15-RELEASE
5.0.0-M1
Eclipse Mojara 5 is an MVC UI framework, implementing Jakarta Faces 5 under development. This release is corresponding with the Jakarta EE 12 specification, also under development.
Mojarra implemented issues from Jakarta Faces 5.0
Big ticket features
API modernization, generics, and enum support
- #206 Make SelectItem#value generic
- #912 FacesMessage.Severity should be Serializable
- #1592 Add new FacesMessage Severity "SUCCESS"
- #1822 Missing Generics in Faces Standard Converters
- #1824 Create TypeLiteral Constants
- #1831 String based context params having fixed set of allowed values should be represented by enums
- #1934 Migrate FacesMessage.Severity to ENUM
- #1938 EnumConverter - try to dynamically extract enum type from ValueExpression
- #1948 5:0 Migrate PhaseId to ENUM
- #1950 5.0: Missing generics in Faces Standard Validators
- #2012 UIComponent getFacesListeners: Class => Class<? extends FacesListener>
- #2026 Better implement generics in Application#createConverter and createValidator
- #2027 Better implement generics in UIData#getDataModel
- #2028 StateHelper: make methods generics aware
- #2033 Add generics to ValueChangeEvent for oldValue and newValue
- #2034 Extend UIComponent#getFacet for using enums
API cleanup, removals, and refactoring
- #1462 Add PartialResponseWriterWrapper
- #1725 Remove UIComponent.bindings field and rename PropertyKeys.bindings to PropertyKeys.valueExpressions
- #1830 Faces 5.0: remove things marked @Deprecated(forRemoval = true, since = "4.0")
- #1833 Unify NavigationHandler and ConfigurableNavigationHandler
- #1839 API will be split off from the implementation code - step 1
- #1861 Introduce FacesServletFactory
- #1871 Remove deprecated code (composite:extension, PreDestroyCustomScopeEvent, PostConstructCustomScopeEvent)
- #1937 Remove unused jakarta.faces.event.ScopeContext
- #1972 Consider deprecating and dropping h:form prependId
- #2008 TextHandler should extends FaceletHandler
- #2015 FaceletContext: add static utility methods getCurrentInstance() and getCurrentInstance(FacesContext context)
- #2024 Add StateHelper#computeIfAbsent
- #2031 Should we introduce UIComponent#getFacetNames()?
CDI, EL, Facelets, and event integration
- #1202 cc:attributes type attribute: fallback case: use what the ELResolver returns.
- #1244 Reword requirements for EL expressions inlined in Facelets pages, but outside of components.
- #1368 EL import handler doesn't work
- #1443 CDI: Allow listing to PhaseEvents via @Observes
- #1466 importConstants should be allowed everywhere, not only in f:metadata
- #1501 CDI: Allow non-component Faces events observeable by CDI
- #1564 Clarify EL / CDI integration: implicit object or CDI producer for artifacts without required inject point support (request, session, component, cc)
- #1954 Specify that expression language 6.0 Optional and Record resolvers should be in chain
Lifecycle, view handling, metadata, and state/reset behavior
- #816 ViewHandler.initView() called too late
- #1160 Clarify intended workings of includeViewParams
- #1709 Spec: Missing description of jakarta.faces.AUTOMATIC_EXTENSIONLESS_MAPPING parameter
- #1713 ui:repeat clarification on attributes, such as offset and size
- #1835 Clarification: Firing of PostAddToViewEvent during Restore View Phase
- #1849 Specify what Faces should do when f:metadata is not a direct child of f:view
- #1883 Enhance UIViewRoot#resetValues() to pass VisitHints
- #1936 ResetValues: UIViewRoot#resetValues() Must walk all children components and reset
- #1940 Add clearModel to f:resetValues
- #1999 StateManager#STATE_SAVING_METHOD_PARAM_NAME specifies wrong default
Components, rendering, resources, and validation behavior
- #583 Message/Messages Rendering When No Messages
- #908 StylesheetRenderer RenderKit Docs Request Path Rendering
- #1278 UIInput.validateValue() oversteps its authority
- #1366 Within Resource Identifier, allow resourceName to have path separator
- #1415 Broken link in JSF vdldocs, to "General Notes on Encoding"
- #1791 SelectItems: var attribute is not honored when using f:selectItems
- #1875 UISelectItems: missing method setVar simialr as in class UIData
- #2014 Documentation for group attribute of h:selectOneRadio needs improvement
- #2025 Add placeholder attribute to h:inputText and h:inputTextarea
- #2029 ByteConverter: incorrect error message
- #2032 Allow passthrough on facets
- #2041 BeanValidator should use EL-coerced value as bean property value
Security, configuration, compatibility, and specification/documentation fixes
- #1112 Security bug with FacesContext in application startup
- #1201 Require that the cookie used to store the Flash key is setHttpOnly(true)
- #1457 11.4.6 should specify "search-expression-context-factory" rather than "search-expression-context-kit-factory"
- #1460 JSF 2.3 spec section 2.5.2.1 typo
- #2097 Add EXCEPTION_TYPES_TO_IGNORE_IN_LOGGING context param
- #2105 Remove support for old xml namespaces
What's Changed
- Remove things marked @deprecated(forRemoval = true, since = "4.0") by @BalusC in #5284
- Fixes #5298 - Mark 2.3 as EOL by @mnriem in #5302
- Useless cast to T inside DataModelIterator by @pizzi80 in #5300
- UIComponentBase internal data structure typo by @pizzi80 in #5301
- Fixes #5316 - ClientWindow: Custom PrimeClientWindowFactory not being respected by @mnriem in #5322
- Fixes #5000 - Change Mojarra implementation artifactId to mojarra by @mnriem in #5320
- Faces 5.0: add UIInput.ValidateEmptyFields enum by @BalusC in #5336
- Faces 5.0: add StateManager.StateSavingMethod enum by @BalusC in #5334
- Faces 4.1: Spec 1739 - Require firing events for @initialized, @BeforeDestroyed, and @DESTROYED for build-in scopes by @volosied in #5340
- ui:repeat clarification on attributes, such as offset and size by @ba...
4.1.6
What's Changed
- Do not log an exception on connection closed by client (infamous Broken pipe error) - into 4.0.x branch by @OndroMih in #5583
- VariableMapperWrapper: typo + generics + code clarification by @pizzi80 in #5520
- 4.0 Backport of some Faces Util optimizations by @pizzi80 in #5439
- #5626: migrate javax to jakarta by @BalusC in #5628
- #5625: improved fix for #5059 by @BalusC in #5627
- #5527: also check for Undertow in German in isConnectionAbort by @BalusC in #5629
- #5632: make Classpath.searchDir Windows-compatible by @BalusC in #5633
- #5637: f:selectItems var unavailable in passthrough attributes by @BalusC in #5638
- #5639: @FacesComponent unavailable when its xmlns is defined in taglib.xml by @BalusC in #5640
- #3366: ImportHandler#resolveClass not consulted in EL by @BalusC in #5641
- #3359: fix NPE when f:param of h:link has null value by @BalusC in #5642
- #5538: add com.sun.faces.exceptionTypesToIgnoreInLogging by @BalusC in #5630
- fix compilation error on #5637 by @BalusC in #5645
- #5655: refresh period was misinterpreted in DefaultFaceletCache by @BalusC in #5656
Full Changelog: 4.1.5-RELEASE...4.1.6-RELEASE
4.0.14
What's Changed
- Do not log an exception on connection closed by client (infamous Broken pipe error) - into 4.0.x branch by @OndroMih in #5583
- VariableMapperWrapper: typo + generics + code clarification by @pizzi80 in #5520
- 4.0 Backport of some Faces Util optimizations by @pizzi80 in #5439
- #5626: migrate javax to jakarta by @BalusC in #5628
- #5625: improved fix for #5059 by @BalusC in #5627
- #5527: also check for Undertow in German in isConnectionAbort by @BalusC in #5629
- #5632: make Classpath.searchDir Windows-compatible by @BalusC in #5633
- #5637: f:selectItems var unavailable in passthrough attributes by @BalusC in #5638
- #5639: @FacesComponent unavailable when its xmlns is defined in taglib.xml by @BalusC in #5640
- #3366: ImportHandler#resolveClass not consulted in EL by @BalusC in #5641
- #3359: fix NPE when f:param of h:link has null value by @BalusC in #5642
- #5538: add com.sun.faces.exceptionTypesToIgnoreInLogging by @BalusC in #5630
- fix compilation error on #5637 by @BalusC in #5645
- #5655: refresh period was misinterpreted in DefaultFaceletCache by @BalusC in #5656
Full Changelog: 4.0.13-RELEASE...4.0.14-RELEASE
4.1.5
What's Changed
- Fix NPE during render response on stale flash cookie by @BalusC in #5611
- Regression on
@NotNullby @BalusC in #5612 - Fix #5604: Search expression handler should check for empty expressions by @BalusC in #5613
- Fix #5586: websocket fails to reconnect when app hot-redeploys by @BalusC in #5614
- [4.0] Fix thread-safety issue in ServerSideStateHelper actualMap by @rhusar in #5616
New Contributors
Full Changelog: 4.1.4-RELEASE...4.1.5-RELEASE
4.0.13-RELEASE
What's Changed
- Fix NPE during render response on stale flash cookie by @BalusC in #5611
- Regression on
@NotNullby @BalusC in #5612 - Fix #5604: Search expression handler should check for empty expressions by @BalusC in #5613
- Fix #5586: websocket fails to reconnect when app hot-redeploys by @BalusC in #5614
- [4.0] Fix thread-safety issue in ServerSideStateHelper actualMap by @rhusar in #5616
New Contributors
Full Changelog: 4.0.12-RELEASE...4.0.13-RELEASE
4.1.4
What's Changed
- Improve timing of firing PreRemoveFromViewEvent wrt children by @fanste in #5580
- Add clue to error log when flash is unavailable after server restart without session persistence by @BalusC in #5566
- 4.0 by @BalusC in #5587
- Fix #5577: use autocomplete="one-time-code" by default on view state hidden field by @BalusC in #5581
- Fixed PropertyNotFoundException when using a template inside a composite component by @BalusC in #5592
- HtmlUtils: Upgrade URI encoding to newer RFC by @BalusC in #5593
- Fixed resetValues="true" not working with dynamic fields after form validation errors issue 5576 by @BalusC in #5595
- Fix Bug: preRenderView or postAddToView by @BalusC in #5598
- Fix #5596: BeanValidator should use EL-coerced value as bean property value by @BalusC in #5599
- add IT to prove #5596 by @BalusC in #5597
- remove unused var by @BalusC in #5600
- Fix #5591: add com.sun.faces.disableOptionalELResolver context param to disable the OptionalELResolver by @BalusC in #5602
- Improved #5543; save encoding in session AFTER rendering view by @BalusC in #5603
Full Changelog: 4.1.3-RELEASE...4.1.4-RELEASE
4.0.12-RELEASE
What's Changed
- Improve timing of firing PreRemoveFromViewEvent wrt children by @fanste in #5580
- Add clue to error log when flash is unavailable after server restart without session persistence by @BalusC in #5566
- Mojarra issue 5584 by @BalusC in #5592
- Mojarra issue 5585 by @BalusC in #5593
- Mojarra issue 5576 by @BalusC in #5595
- Issue 5594 by @BalusC in #5598
- Fix #5596: BeanValidator should use EL-coerced value as bean property value by @BalusC in #5599
- add IT to prove #5596 by @BalusC in #5597
- remove unused var by @BalusC in #5600
- Improved #5543; save encoding in session AFTER rendering view by @BalusC in #5603
Full Changelog: 4.0.11-RELEASE...4.0.12-RELEASE
4.1.3
What's Changed
- Don't attempt to set response buffer size on a committed response by @Pandrex247 in #5532
- Don't attempt to set response buffer size on a committed response by @Pandrex247 in #5535
- Handle empty mapping in normalizeRequestURI by @pdudits in #5533
- Fix identity of BindingFacesMessage by @BalusC in #5540
- Fix #5541 by @BalusC in #5545
- Fix Response encoding not stored in the ext context session #5543 by @BalusC in #5544
- isErrorPage() check in RestoreViewPhase fails when thrown exception has a null message by @BalusC in #5529
- Fix #5553 (4.0) by @cmunier in #5555
- Fix resetValues in ajax requests by @wsaca in #5560
- Fix resolution of nested #{cc} by letting EL do it instead of CDI. by @BalusC in #5549
- [4.0] Fix exception handling in WebappLifecycleListener#requestDestroyed() by @TomasHofman in #5567
- Make sure #{request}, #{session} and #{application} also work in OpenWebBeans by @BalusC in #5563
- Fix #5562: support 0x10000-0x10FFFF range in XML as well by @BalusC in #5572
New Contributors
- @pdudits made their first contribution in #5533
- @cmunier made their first contribution in #5555
- @wsaca made their first contribution in #5560
Full Changelog: 4.1.2-RELEASE...4.1.3-RELEASE