Re: MyFaces last 2.3.X 2.3.-next release?
2.3.x shouldnt have new js code, right? Melloware Inc schrieb am Di., 11. Juni 2024, 22:37: > I think these HTMLUnit ones are related to the new JS code and I think the > tests have been updated in newer TCK's to not use HTMLUnit i think. > > On Tue, Jun 11, 2024 at 3:47 PM Volodymyr Siedlecki > wrote: > >> Hello, >> >> Sorry for the long delay. I'm starting to get results for the >> 2.3.11-snapshot back. >> >> Current tests that fail: >> >> ee.jakarta.ee4j8.cts.liberty_fat.jsf_api_javax_faces_application FAT tests >> com.sun.ts.tests.jsf.api.javax_faces.application.resource.URLClient >> resourceGetRequestPathLibTest >> resourceGetRequestPathTest >> resourceToStringTest >> com.sun.ts.tests.jsf.api.javax_faces.application.resourcewrapper.URLClient >> resourceWrapperGetRequestPathLibTest >> resourceWrapperGetRequestPathTest >> ee.jakarta.ee4j8.cts.liberty_fat.jsf_spec FAT tests >> com.sun.ts.tests.jsf.spec.ajax.keyword.URLClient >> ajaxAllKeywordTest >> ajaxFormKeywordTest >> ajaxNoneKeywordTest >> ajaxThisKeywordTest >> com.sun.ts.tests.jsf.spec.ajax.tagwrapper.URLClient >> ajaxTagWrappingTest >> com.sun.ts.tests.jsf.spec.render.commandlink.URLClient >> clinkRenderDecodeTest >> clinkRenderEncodeTest >> clinkRenderPassthroughTest >> com.sun.ts.tests.jsf.spec.view.protectedview.URLClient >> viewProtectedViewSameWebAppAccessTest >> >> The latter test seems to fail because of JavaScript. For example: >> >> AssertionFailure: test result: Failed. Test case throws exception: >> com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in >> http://localhost:9080/jsf_render_clink_web/faces/encodetest.jsp from >> (16, 213) to (99, 1)#22) >> test result: Failed. Test case throws exception: >> com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in >> http://localhost:9080/jsf_render_clink_web/faces/encodetest.jsp from >> (16, 213) to (99, 1)#22) >> >> The rest of the tests should finish up later in the day. >> >> Thanks, >> Volodymyr >> >> On 2024/05/08 17:49:46 Volodymyr Siedlecki wrote: >> > Hi, >> > >> > I've been focused on one other work, but I'm shifting priorities and am >> starting to look into a release. >> > >> > I'm first running the TCK against the current 2.3.11 snapshot. I'll >> share the results once I have them. >> > >> > Thanks, >> > >> > Volodymyr >> > >> > On 2024/04/22 14:59:55 Melloware Inc wrote: >> > > Thank you for looking into this! >> > > >> > > On Mon, Apr 22, 2024 at 10:39 AM Volodymyr Siedlecki < >> volos...@apache.org> >> > > wrote: >> > > >> > > > Hi, >> > > > >> > > > I can look into doing releases for both. >> > > > >> > > > Only concern I have is that there may be TCK failures in the >> current 2.3 >> > > > branch. I tried to do a release sometime last year, but discovered >> a number >> > > > of failures. I'll run another build with teh current snapshot to >> see if >> > > > there are still there. >> > > > >> > > > Although, it's possible the failures may have been >> infrastructure/network >> > > > related? >> > > > >> > > > I'll let you know more once I found out. >> > > > >> > > > Best, >> > > > Volodymyr >> > > > >> > > > On 2024/04/22 13:56:54 Melloware Inc wrote: >> > > > > Hey team, >> > > > > >> > > > > I know we are slowing down stopping on the 2.3.x branch but one >> last >> > > > > release since it's been a year would be great. We have one bug >> with >> > > > > PrimeFaces around SearchExpressions which has been fixed but not >> released >> > > > > in 2.3 and 2.3-next that is going to cause a lot of heartache >> upgrading >> > > > to >> > > > > PF14. >> > > > > >> > > > > Volodymyr, I know this burden is on you and sorry in advance for >> > > > asking. I >> > > > > know the effort it takes. >> > > > > >> > > > > Mello >> > > > > >> > > > > -- >> > > > > == >> > > > > Melloware >> > > > > melloware...@gmail.com >> > > > > http://melloware.com >> > > > > == >> > > > > >> > > > >> > > >> > > >> > > -- >> > > == >> > > Melloware >> > > melloware...@gmail.com >> > > http://melloware.com >> > > == >> > > >> > >> > > > -- > == > Melloware > melloware...@gmail.com > http://melloware.com > == >
Re: MyFaces last 2.3.X 2.3.-next release?
I think these HTMLUnit ones are related to the new JS code and I think the tests have been updated in newer TCK's to not use HTMLUnit i think. On Tue, Jun 11, 2024 at 3:47 PM Volodymyr Siedlecki wrote: > Hello, > > Sorry for the long delay. I'm starting to get results for the > 2.3.11-snapshot back. > > Current tests that fail: > > ee.jakarta.ee4j8.cts.liberty_fat.jsf_api_javax_faces_application FAT tests > com.sun.ts.tests.jsf.api.javax_faces.application.resource.URLClient > resourceGetRequestPathLibTest > resourceGetRequestPathTest > resourceToStringTest > com.sun.ts.tests.jsf.api.javax_faces.application.resourcewrapper.URLClient > resourceWrapperGetRequestPathLibTest > resourceWrapperGetRequestPathTest > ee.jakarta.ee4j8.cts.liberty_fat.jsf_spec FAT tests > com.sun.ts.tests.jsf.spec.ajax.keyword.URLClient > ajaxAllKeywordTest > ajaxFormKeywordTest > ajaxNoneKeywordTest > ajaxThisKeywordTest > com.sun.ts.tests.jsf.spec.ajax.tagwrapper.URLClient > ajaxTagWrappingTest > com.sun.ts.tests.jsf.spec.render.commandlink.URLClient > clinkRenderDecodeTest > clinkRenderEncodeTest > clinkRenderPassthroughTest > com.sun.ts.tests.jsf.spec.view.protectedview.URLClient > viewProtectedViewSameWebAppAccessTest > > The latter test seems to fail because of JavaScript. For example: > > AssertionFailure: test result: Failed. Test case throws exception: > com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in > http://localhost:9080/jsf_render_clink_web/faces/encodetest.jsp from (16, > 213) to (99, 1)#22) > test result: Failed. Test case throws exception: > com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in > http://localhost:9080/jsf_render_clink_web/faces/encodetest.jsp from (16, > 213) to (99, 1)#22) > > The rest of the tests should finish up later in the day. > > Thanks, > Volodymyr > > On 2024/05/08 17:49:46 Volodymyr Siedlecki wrote: > > Hi, > > > > I've been focused on one other work, but I'm shifting priorities and am > starting to look into a release. > > > > I'm first running the TCK against the current 2.3.11 snapshot. I'll > share the results once I have them. > > > > Thanks, > > > > Volodymyr > > > > On 2024/04/22 14:59:55 Melloware Inc wrote: > > > Thank you for looking into this! > > > > > > On Mon, Apr 22, 2024 at 10:39 AM Volodymyr Siedlecki < > volos...@apache.org> > > > wrote: > > > > > > > Hi, > > > > > > > > I can look into doing releases for both. > > > > > > > > Only concern I have is that there may be TCK failures in the current > 2.3 > > > > branch. I tried to do a release sometime last year, but discovered a > number > > > > of failures. I'll run another build with teh current snapshot to > see if > > > > there are still there. > > > > > > > > Although, it's possible the failures may have been > infrastructure/network > > > > related? > > > > > > > > I'll let you know more once I found out. > > > > > > > > Best, > > > > Volodymyr > > > > > > > > On 2024/04/22 13:56:54 Melloware Inc wrote: > > > > > Hey team, > > > > > > > > > > I know we are slowing down stopping on the 2.3.x branch but one > last > > > > > release since it's been a year would be great. We have one bug with > > > > > PrimeFaces around SearchExpressions which has been fixed but not > released > > > > > in 2.3 and 2.3-next that is going to cause a lot of heartache > upgrading > > > > to > > > > > PF14. > > > > > > > > > > Volodymyr, I know this burden is on you and sorry in advance for > > > > asking. I > > > > > know the effort it takes. > > > > > > > > > > Mello > > > > > > > > > > -- > > > > > == > > > > > Melloware > > > > > melloware...@gmail.com > > > > > http://melloware.com > > > > > == > > > > > > > > > > > > > > > > > > -- > > > == > > > Melloware > > > melloware...@gmail.com > > > http://melloware.com > > > == > > > > > > -- == Melloware melloware...@gmail.com http://melloware.com ==
Re: MyFaces last 2.3.X 2.3.-next release?
Hello, Sorry for the long delay. I'm starting to get results for the 2.3.11-snapshot back. Current tests that fail: ee.jakarta.ee4j8.cts.liberty_fat.jsf_api_javax_faces_application FAT tests com.sun.ts.tests.jsf.api.javax_faces.application.resource.URLClient resourceGetRequestPathLibTest resourceGetRequestPathTest resourceToStringTest com.sun.ts.tests.jsf.api.javax_faces.application.resourcewrapper.URLClient resourceWrapperGetRequestPathLibTest resourceWrapperGetRequestPathTest ee.jakarta.ee4j8.cts.liberty_fat.jsf_spec FAT tests com.sun.ts.tests.jsf.spec.ajax.keyword.URLClient ajaxAllKeywordTest ajaxFormKeywordTest ajaxNoneKeywordTest ajaxThisKeywordTest com.sun.ts.tests.jsf.spec.ajax.tagwrapper.URLClient ajaxTagWrappingTest com.sun.ts.tests.jsf.spec.render.commandlink.URLClient clinkRenderDecodeTest clinkRenderEncodeTest clinkRenderPassthroughTest com.sun.ts.tests.jsf.spec.view.protectedview.URLClient viewProtectedViewSameWebAppAccessTest The latter test seems to fail because of JavaScript. For example: AssertionFailure: test result: Failed. Test case throws exception: com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in http://localhost:9080/jsf_render_clink_web/faces/encodetest.jsp from (16, 213) to (99, 1)#22) test result: Failed. Test case throws exception: com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in http://localhost:9080/jsf_render_clink_web/faces/encodetest.jsp from (16, 213) to (99, 1)#22) The rest of the tests should finish up later in the day. Thanks, Volodymyr On 2024/05/08 17:49:46 Volodymyr Siedlecki wrote: > Hi, > > I've been focused on one other work, but I'm shifting priorities and am > starting to look into a release. > > I'm first running the TCK against the current 2.3.11 snapshot. I'll share the > results once I have them. > > Thanks, > > Volodymyr > > On 2024/04/22 14:59:55 Melloware Inc wrote: > > Thank you for looking into this! > > > > On Mon, Apr 22, 2024 at 10:39 AM Volodymyr Siedlecki > > wrote: > > > > > Hi, > > > > > > I can look into doing releases for both. > > > > > > Only concern I have is that there may be TCK failures in the current 2.3 > > > branch. I tried to do a release sometime last year, but discovered a > > > number > > > of failures. I'll run another build with teh current snapshot to see if > > > there are still there. > > > > > > Although, it's possible the failures may have been infrastructure/network > > > related? > > > > > > I'll let you know more once I found out. > > > > > > Best, > > > Volodymyr > > > > > > On 2024/04/22 13:56:54 Melloware Inc wrote: > > > > Hey team, > > > > > > > > I know we are slowing down stopping on the 2.3.x branch but one last > > > > release since it's been a year would be great. We have one bug with > > > > PrimeFaces around SearchExpressions which has been fixed but not > > > > released > > > > in 2.3 and 2.3-next that is going to cause a lot of heartache upgrading > > > to > > > > PF14. > > > > > > > > Volodymyr, I know this burden is on you and sorry in advance for > > > asking. I > > > > know the effort it takes. > > > > > > > > Mello > > > > > > > > -- > > > > == > > > > Melloware > > > > melloware...@gmail.com > > > > http://melloware.com > > > > == > > > > > > > > > > > > > -- > > == > > Melloware > > melloware...@gmail.com > > http://melloware.com > > == > > >
[PR] build(deps): bump org.codehaus.mojo:build-helper-maven-plugin from 3.5.0 to 3.6.0 [myfaces-tobago]
dependabot[bot] opened a new pull request, #5174: URL: https://github.com/apache/myfaces-tobago/pull/5174 Bumps [org.codehaus.mojo:build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin) from 3.5.0 to 3.6.0. Release notes Sourced from https://github.com/mojohaus/build-helper-maven-plugin/releases;>org.codehaus.mojo:build-helper-maven-plugin's releases. 3.6.0 Changes New features and improvements Deprecate remove-project-artifact goal (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/205;>#205) https://github.com/slawekjaranowski;>@slawekjaranowski Parallel execution of uptodate-properties (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/201;>#201) https://github.com/mkarg;>@mkarg Dependency updates Bump org.codehaus.mojo:mojo-parent from 81 to 82 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/206;>#206) https://github.com/dependabot;>@dependabot Bump org.codehaus.mojo:mojo-parent from 78 to 81 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/204;>#204) https://github.com/dependabot;>@dependabot Bump org.codehaus.plexus:plexus-utils from 4.0.0 to 4.0.1 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/202;>#202) https://github.com/dependabot;>@dependabot Bump apache/maven-gh-actions-shared from 3 to 4 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/200;>#200) https://github.com/dependabot;>@dependabot Bump release-drafter/release-drafter from 5 to 6 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/195;>#195) https://github.com/dependabot;>@dependabot Bump org.codehaus.mojo:mojo-parent from 77 to 78 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/193;>#193) https://github.com/dependabot;>@dependabot Maintenance Delete link to remove-project-artifact as is deprecated (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/210;>#210) https://github.com/slawekjaranowski;>@slawekjaranowski Cleanups dependencies (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/209;>#209) https://github.com/slawekjaranowski;>@slawekjaranowski Remove public modifiers from JUnit 5 tests (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/208;>#208) https://github.com/slawekjaranowski;>@slawekjaranowski Delete example about remove-project-artifact as is deprecated (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/207;>#207) https://github.com/slawekjaranowski;>@slawekjaranowski Fix goal in usage add-test-resource example (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/199;>#199) https://github.com/mfussenegger;>@mfussenegger Build Use shared action for release drafter (https://redirect.github.com/mojohaus/build-helper-maven-plugin/pull/203;>#203) https://github.com/slawekjaranowski;>@slawekjaranowski Commits https://github.com/mojohaus/build-helper-maven-plugin/commit/45494bc6053095b7f42b1fccfb8f230f75d1;>454 [maven-release-plugin] prepare release 3.6.0 https://github.com/mojohaus/build-helper-maven-plugin/commit/05ee2cb17ff155862accaee1fc1b0ea1cae53911;>05ee2cb Delete link to remove-project-artifact as is deprecated https://github.com/mojohaus/build-helper-maven-plugin/commit/a4190d2f634210091031ad27a3a50d626ea37cfa;>a4190d2 Cleanups dependencies https://github.com/mojohaus/build-helper-maven-plugin/commit/b99f6be8c876c012c41d163c832c4b0adfb28356;>b99f6be Remove public modifiers from JUnit 5 tests https://github.com/mojohaus/build-helper-maven-plugin/commit/f21a0272a00f6bb4e6d404817a6c144ac65b2778;>f21a027 Add me as developer https://github.com/mojohaus/build-helper-maven-plugin/commit/211d4b9687c79085c3c036aefc14a8428195eb69;>211d4b9 Delete example about remove-project-artifact as is deprecated https://github.com/mojohaus/build-helper-maven-plugin/commit/27ab33494dffaa5d5f5e9cbbbac4f581e4ed9479;>27ab334 Deprecate remove-project-artifact goal https://github.com/mojohaus/build-helper-maven-plugin/commit/8a4c7c41842082f530775a933ab22088d673fd3c;>8a4c7c4 Bump org.codehaus.mojo:mojo-parent from 81 to 82 https://github.com/mojohaus/build-helper-maven-plugin/commit/57f54801686afb43b3540c597010f0c9857b5901;>57f5480 Bump org.codehaus.mojo:mojo-parent from 78 to 81 (https://redirect.github.com/mojohaus/build-helper-maven-plugin/issues/204;>#204) https://github.com/mojohaus/build-helper-maven-plugin/commit/c09d77946636cf605515c851cd6ede87b94eb81a;>c09d779 Use shared action for release drafter Additional commits viewable in https://github.com/mojohaus/build-helper-maven-plugin/compare/3.5.0...3.6.0;>compare view [![Dependabot compatibility
[PR] build(deps): bump jakarta.validation:jakarta.validation-api from 3.0.2 to 3.1.0 [myfaces-tobago]
dependabot[bot] opened a new pull request, #5173: URL: https://github.com/apache/myfaces-tobago/pull/5173 Bumps [jakarta.validation:jakarta.validation-api](https://github.com/jakartaee/validation) from 3.0.2 to 3.1.0. Release notes Sourced from https://github.com/jakartaee/validation/releases;>jakarta.validation:jakarta.validation-api's releases. 3.1.0-M1 The 3.1.0-M1 milestone release for EE 11 What's Changed Use the same lock for all methods accessing Validation.GetValidationProviderListAction#providersPerClassloader by https://github.com/yrodiere;>@yrodiere in https://redirect.github.com/jakartaee/validation/pull/182;>jakartaee/validation#182 edburns-msft-183-rename-to-just-validation by https://github.com/edburns;>@edburns in https://redirect.github.com/jakartaee/validation/pull/185;>jakartaee/validation#185 Adding CI pull request workflow by https://github.com/mswatosh;>@mswatosh in https://redirect.github.com/jakartaee/validation/pull/190;>jakartaee/validation#190 Dependency and plugin version updates by https://github.com/starksm64;>@starksm64 in https://redirect.github.com/jakartaee/validation/pull/191;>jakartaee/validation#191 New Contributors https://github.com/yrodiere;>@yrodiere made their first contribution in https://redirect.github.com/jakartaee/validation/pull/182;>jakartaee/validation#182 https://github.com/edburns;>@edburns made their first contribution in https://redirect.github.com/jakartaee/validation/pull/185;>jakartaee/validation#185 https://github.com/mswatosh;>@mswatosh made their first contribution in https://redirect.github.com/jakartaee/validation/pull/190;>jakartaee/validation#190 Full Changelog: https://github.com/jakartaee/validation/compare/3.0.2...3.1.0-M1;>https://github.com/jakartaee/validation/compare/3.0.2...3.1.0-M1 Commits https://github.com/jakartaee/validation/commit/cac4dff8adba0ff7bd09857012f9a3aa1448cb54;>cac4dff Tag and branch for 3.1.0 release (https://redirect.github.com/jakartaee/validation/issues/211;>#211) https://github.com/jakartaee/validation/commit/9520b423a657cb8350e23621c6ce6c95e4cca916;>9520b42 Prepare for the 3.1.0-M2 release (https://redirect.github.com/jakartaee/validation/issues/210;>#210) https://github.com/jakartaee/validation/commit/30da76e0fa2e12bbd5dfd323c5a1e31a9a4f1a92;>30da76e Update builds to cover JDK 17 and JDK 21 (https://redirect.github.com/jakartaee/validation/issues/201;>#201) https://github.com/jakartaee/validation/commit/29ea0de173e6665a9a73427493e085910b392ac6;>29ea0de Bump org.apache.maven.plugins:maven-deploy-plugin from 3.0.0-M1 to 3.1.1 (https://redirect.github.com/jakartaee/validation/issues/199;>#199) https://github.com/jakartaee/validation/commit/8fd096997aa4c8a6c1c94d776ff855169a3f36ae;>8fd0969 Bump org.apache.maven.plugins:maven-compiler-plugin from 3.8.1 to 3.12.1 (https://redirect.github.com/jakartaee/validation/issues/198;>#198) https://github.com/jakartaee/validation/commit/4ed088a7018a1abbe27f29e10b7cdbe11f7809f5;>4ed088a Bump org.apache.felix:maven-bundle-plugin from 3.5.0 to 5.1.9 (https://redirect.github.com/jakartaee/validation/issues/197;>#197) https://github.com/jakartaee/validation/commit/a8be989f95b92ccd59024cedef8d0f753a2aebcf;>a8be989 Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.5 (https://redirect.github.com/jakartaee/validation/issues/196;>#196) https://github.com/jakartaee/validation/commit/c1ad252b634603bc2e821783def4b75b4b5b35d8;>c1ad252 Bump actions/setup-java from 3.13.0 to 4.0.0 (https://redirect.github.com/jakartaee/validation/issues/195;>#195) https://github.com/jakartaee/validation/commit/56000aae14db687afbe86bbe72593d31cf056cb4;>56000aa Adding Dependabot and NOTICE.md updates (https://redirect.github.com/jakartaee/validation/issues/192;>#192) https://github.com/jakartaee/validation/commit/c3a6baa831edbe2fa3b44407fed8dfa3d1d2a663;>c3a6baa Prepare for the 3.1.0-M1 release Additional commits viewable in https://github.com/jakartaee/validation/compare/3.0.2...3.1.0;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jakarta.validation:jakarta.validation-api=maven=3.0.2=3.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
[PR] build(deps): bump com.google.code.gson:gson from 2.10.1 to 2.11.0 [myfaces-tobago]
dependabot[bot] opened a new pull request, #5172: URL: https://github.com/apache/myfaces-tobago/pull/5172 Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.10.1 to 2.11.0. Release notes Sourced from https://github.com/google/gson/releases;>com.google.code.gson:gson's releases. Gson 2.11.0 Most important changes Added default ProGuard / R8 rules (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2397;>#2397, https://redirect.github.com/google/gson/issues/2420;>#2420; https://github.com/sgjesse;>@sgjesse, https://redirect.github.com/google/gson/issues/2448;>#2448; https://github.com/sfreilich;>@sfreilich) If you are using ProGuard or R8 (for example for Android projects) you might not need any special Gson configuration anymore if your classes have a no-args constructor and use @SerializedName for their fields. On Android, Gson now requires API level 21 or newer Added new Strictness API (https://github.com/marten-voorberg;>@marten-voorberg fellow students, https://redirect.github.com/google/gson/issues/2437;>#2437) Some of Gson's API is still lenient by default, but you can now use the newly added methods GsonBuilder#setStrictness, JsonReader#setStrictness and JsonWriter#setStrictness with Strictness.STRICT to override this behavior and to instead strictly adhere to the JSON specification when parsing. New FormattingStyle class to allow configuring line breaks in JSON output (https://github.com/mihnita;>@mihnita, https://redirect.github.com/google/gson/issues/2231;>#2231) Can be set using GsonBuilder#setFormattingStyle and JsonWriter#setFormattingStyle. TypeToken can no longer capture type variables by default (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2376;>#2376) This was previously a common source of issues. The newly thrown exception refers to a https://github.com/google/gson/blob/main/Troubleshooting.md#typetoken-type-variable;>Troubleshooting Guide article which explains this in more detail and provides suggestions for updating affected code. Added serialization support for anonymous and local classes with a custom adapter (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2498;>#2498) This affects for example List implementations returned by libraries such as Guava which are implemented as anonymous class, which were previously serialized as null. Anonymous and local classes without custom adapter will still be serialized as null. Added dependency on com.google.errorprone:error_prone_annotations Your project can use Maven or Gradle dependency exclusions to remove the transitive error_prone_annotations dependency from Gson. Or if you are manually maintaining dependencies as JARs in your project you can omit error_prone_annotations. And it should still work correctly. But Gson itself does declare it as a required dependency, and if you don't perform any custom configuration, then Maven or Gradle will by default try to download and use it. Many exception messages now refer to the https://github.com/google/gson/blob/main/Troubleshooting.md;>Troubleshooting Guide (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2357;>#2357) Feedback regarding the Troubleshooting Guide is appreciated! Officially documented that JVM languages other than Java might not be fully supported, see the https://github.com/google/gson/blob/main/README.md;>README. Guarantee that JsonElement#toString produces JSON output (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2659;>#2659) Other changes Bug fixes Fixed incorrect JsonPrimitive#equals results for large BigInteger values (https://github.com/MaicolAntali;>@MaicolAntali, https://redirect.github.com/google/gson/issues/2311;>#2311) Fixed incorrect JsonPrimitive#equals results for large BigDecimal values (https://github.com/MaicolAntali;>@MaicolAntali, https://redirect.github.com/google/gson/issues/2364;>#2364) Fixed JsonReader throwing NumberFormatException instead of MalformedJsonException for malformed Unicode escape sequences (https://github.com/MaicolAntali;>@MaicolAntali, https://redirect.github.com/google/gson/issues/2337;>#2337) Fixed TypeToken#getParameterized returning bogus ParameterizedType for non-generic types (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2447;>#2447) Fixed Java Record adapter not working for GraalVM Native Image (https://github.com/eamonnmcmanus;>@eamonnmcmanus, https://redirect.github.com/google/gson/issues/2465;>#2465) Fixed JsonWriter#name not throwing exception when no JSON object is currently being written (https://github.com/shivam-sehgal;>@shivam-sehgal,
[PR] build(deps): bump com.google.code.gson:gson from 2.10.1 to 2.11.0 [myfaces-tobago]
dependabot[bot] opened a new pull request, #5171: URL: https://github.com/apache/myfaces-tobago/pull/5171 Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.10.1 to 2.11.0. Release notes Sourced from https://github.com/google/gson/releases;>com.google.code.gson:gson's releases. Gson 2.11.0 Most important changes Added default ProGuard / R8 rules (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2397;>#2397, https://redirect.github.com/google/gson/issues/2420;>#2420; https://github.com/sgjesse;>@sgjesse, https://redirect.github.com/google/gson/issues/2448;>#2448; https://github.com/sfreilich;>@sfreilich) If you are using ProGuard or R8 (for example for Android projects) you might not need any special Gson configuration anymore if your classes have a no-args constructor and use @SerializedName for their fields. On Android, Gson now requires API level 21 or newer Added new Strictness API (https://github.com/marten-voorberg;>@marten-voorberg fellow students, https://redirect.github.com/google/gson/issues/2437;>#2437) Some of Gson's API is still lenient by default, but you can now use the newly added methods GsonBuilder#setStrictness, JsonReader#setStrictness and JsonWriter#setStrictness with Strictness.STRICT to override this behavior and to instead strictly adhere to the JSON specification when parsing. New FormattingStyle class to allow configuring line breaks in JSON output (https://github.com/mihnita;>@mihnita, https://redirect.github.com/google/gson/issues/2231;>#2231) Can be set using GsonBuilder#setFormattingStyle and JsonWriter#setFormattingStyle. TypeToken can no longer capture type variables by default (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2376;>#2376) This was previously a common source of issues. The newly thrown exception refers to a https://github.com/google/gson/blob/main/Troubleshooting.md#typetoken-type-variable;>Troubleshooting Guide article which explains this in more detail and provides suggestions for updating affected code. Added serialization support for anonymous and local classes with a custom adapter (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2498;>#2498) This affects for example List implementations returned by libraries such as Guava which are implemented as anonymous class, which were previously serialized as null. Anonymous and local classes without custom adapter will still be serialized as null. Added dependency on com.google.errorprone:error_prone_annotations Your project can use Maven or Gradle dependency exclusions to remove the transitive error_prone_annotations dependency from Gson. Or if you are manually maintaining dependencies as JARs in your project you can omit error_prone_annotations. And it should still work correctly. But Gson itself does declare it as a required dependency, and if you don't perform any custom configuration, then Maven or Gradle will by default try to download and use it. Many exception messages now refer to the https://github.com/google/gson/blob/main/Troubleshooting.md;>Troubleshooting Guide (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2357;>#2357) Feedback regarding the Troubleshooting Guide is appreciated! Officially documented that JVM languages other than Java might not be fully supported, see the https://github.com/google/gson/blob/main/README.md;>README. Guarantee that JsonElement#toString produces JSON output (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2659;>#2659) Other changes Bug fixes Fixed incorrect JsonPrimitive#equals results for large BigInteger values (https://github.com/MaicolAntali;>@MaicolAntali, https://redirect.github.com/google/gson/issues/2311;>#2311) Fixed incorrect JsonPrimitive#equals results for large BigDecimal values (https://github.com/MaicolAntali;>@MaicolAntali, https://redirect.github.com/google/gson/issues/2364;>#2364) Fixed JsonReader throwing NumberFormatException instead of MalformedJsonException for malformed Unicode escape sequences (https://github.com/MaicolAntali;>@MaicolAntali, https://redirect.github.com/google/gson/issues/2337;>#2337) Fixed TypeToken#getParameterized returning bogus ParameterizedType for non-generic types (https://github.com/Marcono1234;>@Marcono1234, https://redirect.github.com/google/gson/issues/2447;>#2447) Fixed Java Record adapter not working for GraalVM Native Image (https://github.com/eamonnmcmanus;>@eamonnmcmanus, https://redirect.github.com/google/gson/issues/2465;>#2465) Fixed JsonWriter#name not throwing exception when no JSON object is currently being written (https://github.com/shivam-sehgal;>@shivam-sehgal,
[PR] build(deps): bump org.owasp:dependency-check-maven from 9.1.0 to 9.2.0 [myfaces-tobago]
dependabot[bot] opened a new pull request, #5170: URL: https://github.com/apache/myfaces-tobago/pull/5170 Bumps [org.owasp:dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 9.1.0 to 9.2.0. Release notes Sourced from https://github.com/jeremylong/DependencyCheck/releases;>org.owasp:dependency-check-maven's releases. Version 9.2.0 Refer to the https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md#change-log;>CHANGELOG.md for information about improvements and upgrade notes. Changelog Sourced from https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md;>org.owasp:dependency-check-maven's changelog. https://github.com/jeremylong/DependencyCheck/releases/tag/v9.2.0;>Version 9.2.0 (2024-05-15) docs: update logo per intellj (https://redirect.github.com/jeremylong/DependencyCheck/issues/6660;>#6660) feat: Carthage analyzer (https://redirect.github.com/jeremylong/DependencyCheck/issues/6614;>#6614) fix: Ensure valid JSON output for gitlab report (https://redirect.github.com/jeremylong/DependencyCheck/issues/6630;>#6630) feat: Support Package.swift version 3 Specification (https://redirect.github.com/jeremylong/DependencyCheck/issues/6578;>#6578) chore: Update the packaged suppressions to include new hosted suppressions (https://redirect.github.com/jeremylong/DependencyCheck/issues/6567;>#6567) See the full listing of https://github.com/jeremylong/DependencyCheck/milestone/82?closed=1;>changes. Commits https://github.com/jeremylong/DependencyCheck/commit/192b4cdb1e8245c1b202287eadd55d9241ea21d2;>192b4cd build: prepare release v9.2.0 https://github.com/jeremylong/DependencyCheck/commit/e50e20de54b468b2c4e30e939092ecdd0b6d86a8;>e50e20d docs: update changelog https://github.com/jeremylong/DependencyCheck/commit/5ce66cf46ca5ff5bb0ceb2ea44bcd9255e7ea5a0;>5ce66cf build(deps): bump org.apache.maven.plugin-tools:maven-plugin-annotations from... https://github.com/jeremylong/DependencyCheck/commit/61edfd1e9a72b9f96c53cf084e5fcd1f16acc174;>61edfd1 docs: update logo per intellj (https://redirect.github.com/jeremylong/DependencyCheck/issues/6660;>#6660) https://github.com/jeremylong/DependencyCheck/commit/8b1746eb4d141c919e05728519b7bc636d7cfea5;>8b1746e build(deps): bump com.github.spotbugs:spotbugs-annotations from 4.8.4 to 4.8 https://github.com/jeremylong/DependencyCheck/commit/754dec1cdc8457bcd8062e87b1021ae4e60ac543;>754dec1 build(deps): bump maven-plugin-plugin (https://redirect.github.com/jeremylong/DependencyCheck/issues/6646;>#6646) https://github.com/jeremylong/DependencyCheck/commit/969bc2741d02803ddf6b4eeb98e55368beaceef8;>969bc27 build(deps): bump org.apache.maven.plugins:maven-surefire-report-plugin from ... https://github.com/jeremylong/DependencyCheck/commit/57b916a0494f656c27ab2abf38ba1bcae56e5df2;>57b916a build(deps): bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.4.0 to 4... https://github.com/jeremylong/DependencyCheck/commit/9c9c466ee3bab322e9c163409c275a6fce2ab1fb;>9c9c466 build(deps): bump commons-codec:commons-codec from 1.16.1 to 1.17.0 (https://redirect.github.com/jeremylong/DependencyCheck/issues/6633;>#6633) https://github.com/jeremylong/DependencyCheck/commit/e26096dc15b3cc08a0e90be983c5087c554400ad;>e26096d build(deps): bump commons-cli:commons-cli from 1.6.0 to 1.7.0 (https://redirect.github.com/jeremylong/DependencyCheck/issues/6629;>#6629) Additional commits viewable in https://github.com/jeremylong/DependencyCheck/compare/v9.1.0...v9.2.0;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.owasp:dependency-check-maven=maven=9.1.0=9.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore
[jira] [Resolved] (MYFACES-4668) Quarkus: Programmatic Views not working
[ https://issues.apache.org/jira/browse/MYFACES-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Melloware resolved MYFACES-4668. Fix Version/s: (was: 4.0.3) (was: 4.1.0-RC3) Resolution: Fixed > Quarkus: Programmatic Views not working > --- > > Key: MYFACES-4668 > URL: https://issues.apache.org/jira/browse/MYFACES-4668 > Project: MyFaces Core > Issue Type: Bug > Components: Extension Feature >Affects Versions: 4.0.2, 4.1.0-RC1, 5.0.0 >Reporter: Melloware >Assignee: Melloware >Priority: Major > > Original report: [https://github.com/melloware/quarkus-faces/issues/444] > > I tried to add a programmatic view with the `@View` annotation, but when I > access http://localhost:8080/facelet.xhml it returns 404 > > {code:java} > @View("/facelet.xhtml") > @ApplicationScoped > public class FaceletView extends Facelet { > @Override > public void apply(FacesContext facesContext, UIComponent parent) { > if > (!facesContext.getAttributes().containsKey(IS_BUILDING_INITIAL_STATE)) { > return; > } > var components = new ComponentBuilder(facesContext); > var rootChildren = parent.getChildren(); > var doctype = new UIOutput(); > doctype.setValue(""); > rootChildren.add(doctype); > var htmlTag = new UIOutput(); > htmlTag.setValue("http://www.w3.org/1999/xhtml\;>"); > rootChildren.add(htmlTag); > HtmlBody body = components.create(HtmlBody.COMPONENT_TYPE); > rootChildren.add(body); > HtmlForm form = components.create(HtmlForm.COMPONENT_TYPE); > form.setId("form"); > body.getChildren().add(form); > HtmlOutputText message = > components.create(HtmlOutputText.COMPONENT_TYPE); > message.setId("message"); > HtmlCommandButton actionButton = > components.create(HtmlCommandButton.COMPONENT_TYPE); > actionButton.setId("button"); > actionButton.addActionListener( > e -> message.setValue("Hello, World! Welcome to Faces 4.0 on > Jakarta EE 10")); > actionButton.setValue("Greet"); > form.getChildren().add(actionButton); > parent.getChildren().add(message); > htmlTag = new UIOutput(); > htmlTag.setValue(""); > rootChildren.add(htmlTag); > } > private static class ComponentBuilder { > FacesContext facesContext; > ComponentBuilder(FacesContext facesContext) { > this.facesContext = facesContext; > } > @SuppressWarnings("unchecked") > T create(String componentType) { > return (T) > facesContext.getApplication().createComponent(facesContext, componentType, > null); > } > } > } > > {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)
Re: [PR] MYFACES-4668: 5.0 Quarkus add programmatic views [myfaces]
tandraschko merged PR #715: URL: https://github.com/apache/myfaces/pull/715 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] MYFACES-4668: 4.0 Quarkus add programmatic views [myfaces]
tandraschko merged PR #716: URL: https://github.com/apache/myfaces/pull/716 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] MYFACES-4668: 4.1 Quarkus add programmatic views [myfaces]
tandraschko merged PR #714: URL: https://github.com/apache/myfaces/pull/714 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org