This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
from 42fc8050 Bump to next development version
add ce0cdb91 JEXL: remove old release notes, keep last (aka 3.6.x)
add 2a42d386 Use max-parallel: 20 as asked by Apache Infra
add 223c45ec Merge branch 'release'
add 23fc55e9 Updates for the next release
add 41dfb086 Updates for the next release
add 8d27b08e Bump actions/cache from 5.0.2 to 5.0.3
add e292688f Bump actions/cache from 5.0.1 to 5.0.3
add 622c955a JEXL-456: perform cleanup in parent parser if child parser
emits a parsing exception;
add 0d419e5e Clarify JEXL-456 comment in Issues400Test
add ecd892ca JEXL-456: perform cleanup in parent parser if child parser
emits a parsing exception;
add 64057263 JEXL-456: introducing feature flag ignoreTemplatePrefix; -
modify grammar to allow ignoring identifier tokens; - add JexlInfo derived
TemplateInfo to carry tokens to be ignored by token manager; - updated tests;
add 8d2e20de JEXL-456: checkstyle;
add 42888792 JEXL-456: checkstyle;
add f37a2335 JEXL-456: addressing review comment;
add 1f835e85 Update
src/main/java/org/apache/commons/jexl3/JexlFeatures.java
add 34ed4173 JEXL-456: addressing review comment;
add aee24dce Update TemplateInfo.java
add 274397f2 Merge pull request #398 from apache/JEXL-456
add c27b0f5e JEXL: code cleanup; - remove final parameters from method
declarations (no body); - set/get attributes caching was broken; - try and
please PMD and spotbugs;
add 613f6f59 JEXL: release notes;
add c2b02566 Add security page.
add d8dc6cd8 Bump org.apache.commons:commons-parent from 96 to 97.
add 88c18aea JEXL-457: updating RESTRICTED to deny all java.lang
sub-packages; - tighten permission computation so that explicit allow must be
present; - ensure class constructor is explicitly allowed;
add 3a6df535 JEXL-457: checkstyle;
add 9f1f7e05 Bump github/codeql-action from 4.32.0 to 4.32.6
add 27cb3fe4 JEXL-457: checkstyle, release notes, changes;
add 29d168e1 Bump commons-logging:commons-logging from 1.3.5 to 1.3.6.
add 9a0d89a7 Bump actions/upload-artifact from 6.0.0 to 7.0.0
add 856f4374 Add a reference to safe deserlialization
add ad8803d3 Bump github/codeql-action from 4.32.6 to 4.34.0
add 54c7f6d3 Javadoc
add 842331aa Bump github/codeql-action from 4.34.0 to 4.34.1
add ed088183 Bump Bump actions/cache from 5.0.3 to 5.0.4
add e84385cb Bump actions/dependency-review-action from 4.8.2 to 4.9.0
add 860e4d58 Bump github/codeql-action from 4.34.1 to 4.35.1
add d405f44b Run builds only on push to master and pull requests
add d3b6ab5f Use static imports only for JUnit
add ad0504e3 Fix broken Javadoc HTML tags
add aa486f56 Bump org.apache.commons:commons-parent from 97 to 98
add eedfcc2b Bump actions/cache from 5.0.4 to 5.0.5
add c436223c Bump actions/upload-artifact from 7.0.0 to 7.0.1
add 611e548f No need to end exception messages with an exclamation!
add 898770aa Bump github/codeql-action from 4.35.1 to 4.35.2
add cc88f57d Bump org.apache.commons:commons-parent from 98 to 99
add 5fdd3a0a JEXL-458: added +/- syntax for permission package parsing; -
refined ability to specify and correctly apply class permissions; - added new
JexlPermissions methods (allow(class, method), allow(class, field);
add e01612be JEXL-458: added +/- syntax for permission package parsing; -
refined ability to specify and correctly apply class permissions; - added new
JexlPermissions methods (allow(class, method), allow(class, field); - use
specific test permissions in tests (sic);
add ae4cdbba JEXL-458: checkstyle fixes;
add d7d8d8c2 Merge branch 'master' into JEXL-458
add a2657854 Apply suggestions from code review
add 5abc31ce JEXL-458: merge fixes;
add 16c614fd JEXL-458: fixing review merge;
add 5937dd69 JEXL-458: addressing last checkstyle & review comments;
add 68278546 JEXL-458: javadoc;
add 2d273b22 JEXL-458: review comments; - add test LoggingPermissions to
help debug granted permissions;
add 6d1e1906 JEXL-458: review comments;
add 9aa3c013 JEXL-458: checkstyle;
add ac298d34 Merge pull request #400 from apache/JEXL-458
add 2b6ad78b Bump github/codeql-action from 4.35.2 to 4.35.3
add daec4ed0 Bump github/codeql-action from 4.35.3 to 4.35.4
add c5731f89 Bump github/codeql-action from 4.35.4 to 4.35.5
add e77c6025 Bump org.apache.commons:commons-parent from 99 to 100
add ea691e1d Bump github/codeql-action from 4.35.5 to 4.36.0
add 5b55304e Fix the @return tags in the Javadoc for toBigInteger()
overloads.
add 11c878a2 Merge pull request #403 from davidcostanzo/javadoc-fix
add 61268f79 Fix the @return tags in the Javadoc for
JexlArithmetic.toBigInteger() overloads (#403)
add d6c1a046 JEXL-459: fix empty/size functions to handle exceptions
properly;
add 180434f6 JEXL-459 : checkstyle;
add eb8e9222 JEXL-459 : improve exception cleansing and logging in
JexlArithmetic::evaluate;
add db3a393b JEXL-459 : refactor exception handling and enhance test
coverage for substring operations;
add 9601cd1c JEXL-459 : refactor exception handling and enhance test
coverage for substring operations;
add 16c2aefe JEXL-459 : refactor evaluation handling to return TRY_FAILED
on exceptions and improve logging;
add e73f8f0b Merge pull request #402 from apache/JEXL-459
add 1d2f3d3a JEXL-461 : add specific test that illustrates namespace
identifier feature usage
add 62927f5a JEXL-461 : add specific test that illustrates namespace
identifier feature usage
add f7373f49 Add a missing space to a Javadoc comment
add cf05e587 Merge pull request #405 from
davidcostanzo/javadoc-fix-jexloptions
add 359c1716 Bump github/codeql-action from 4.36.0 to 4.36.2
add f0f76689 Bump org.apache.commons:commons-parent from 100 to 101
add 30def079 Bump GH CI actions/checkout from 6.0.2 to 6.0.3
add 19ec0f3c Bump GH CI actions/dependency-review-action from 4.9.0 to
5.0.0
add 16cc5ee7 JEXL-461: Updates and improvements to syntax doc
add d49a433a Merge pull request #404 from
davidcostanzo/jexl-461-doc-updates
add 4aefca84 Bump org.apache.commons:commons-parent from 101 to 102.
add fb629d90 Update legacy GitHub links in CONTRIBUTING.md
add c9b3e240 JEXL-461 : changes & release notes;
add d0558b71 Bump com.google.code.gson:gson from 2.13.2 to 2.14.0.
add 8ac71b8c Bump commons-logging:commons-logging from 1.3.6 to 1.4.0.
add 810c5761 Prepare for the next release candidate
No new revisions were added by this update.
Summary of changes:
.github/workflows/codeql-analysis.yml | 11 +-
.github/workflows/dependency-review.yml | 4 +-
.github/workflows/maven.yml | 11 +-
.github/workflows/scorecards-analysis.yml | 6 +-
README.md | 7 +-
RELEASE-NOTES.txt | 80 ++++-
pom.xml | 12 +-
src/changes/changes.xml | 15 +
src/main/config/findbugs-exclude-filter.xml | 30 +-
src/main/config/pmd.xml | 3 +
.../org/apache/commons/jexl3/JexlArithmetic.java | 54 ++-
.../java/org/apache/commons/jexl3/JexlBuilder.java | 10 +-
.../java/org/apache/commons/jexl3/JexlCache.java | 6 +-
.../org/apache/commons/jexl3/JexlException.java | 72 +++-
.../org/apache/commons/jexl3/JexlFeatures.java | 32 +-
.../java/org/apache/commons/jexl3/JexlInfo.java | 4 +-
.../org/apache/commons/jexl3/JexlOperator.java | 42 +--
.../java/org/apache/commons/jexl3/JexlOptions.java | 2 +-
.../org/apache/commons/jexl3/internal/Engine.java | 14 +-
.../org/apache/commons/jexl3/internal/Frame.java | 10 +-
.../apache/commons/jexl3/internal/Interpreter.java | 21 +-
.../commons/jexl3/internal/InterpreterBase.java | 67 ++--
.../commons/jexl3/internal/TemplateDebugger.java | 2 +-
.../commons/jexl3/internal/TemplateEngine.java | 256 +++++++--------
.../commons/jexl3/internal/TemplateInfo.java} | 30 +-
.../commons/jexl3/internal/TemplateScript.java | 6 +-
.../jexl3/internal/introspection/ClassMap.java | 22 +-
.../jexl3/internal/introspection/Permissions.java | 364 +++++++++++++++------
.../internal/introspection/PermissionsParser.java | 50 ++-
.../jexl3/internal/introspection/Uberspect.java | 3 +-
.../jexl3/introspection/JexlPermissions.java | 316 ++++++++++++------
.../apache/commons/jexl3/parser/JexlParser.java | 46 ++-
.../org/apache/commons/jexl3/parser/Parser.jjt | 62 ++--
.../apache/commons/jexl3/parser/ParserVisitor.java | 34 +-
.../commons/jexl3/scripting/JexlScriptEngine.java | 23 +-
src/site/site.xml | 2 +-
src/site/xdoc/download_jexl.xml | 26 +-
src/site/xdoc/reference/syntax.xml | 51 ++-
src/site/xdoc/relnotes.xml | 201 ++++++++++++
src/site/xdoc/relnotes33.xml | 105 ------
src/site/xdoc/relnotes35.xml | 323 ------------------
src/site/xdoc/security.xml | 56 ++++
.../org/apache/commons/jexl3/ArithmeticTest.java | 39 ++-
.../jexl3/{JexlTest.java => ExpressionsTest.java} | 6 +-
.../org/apache/commons/jexl3/FeaturesTest.java | 6 +-
src/test/java/org/apache/commons/jexl3/Foo.java | 5 +-
.../org/apache/commons/jexl3/Issues300Test.java | 27 +-
.../org/apache/commons/jexl3/Issues400Test.java | 239 ++++++++++++--
.../java/org/apache/commons/jexl3/JXLTTest.java | 9 +-
src/test/java/org/apache/commons/jexl3/Jexl.java | 3 +-
.../org/apache/commons/jexl3/JexlTestCase.java | 334 ++++++++-----------
.../java/org/apache/commons/jexl3/LambdaTest.java | 5 +-
.../apache/commons/jexl3/LoggingPermissions.java | 94 ++++++
.../java/org/apache/commons/jexl3/MethodTest.java | 4 +-
.../java/org/apache/commons/jexl3/SwitchTest.java | 45 +--
.../apache/commons/jexl3/examples/StreamTest.java | 30 +-
.../internal/introspection/DiscoveryTest.java | 16 +-
.../jexl3/internal/introspection/NoJexlTest.java | 2 +-
.../internal/introspection/PermissionsTest.java | 156 +++++++--
.../commons/jexl3/introspection/SandboxTest.java | 12 +-
.../scripting/JexlScriptEngineOptionalTest.java | 8 +
.../jexl3/scripting/JexlScriptEngineTest.java | 51 ++-
.../package-info.java => example/Pair.java} | 21 +-
63 files changed, 2216 insertions(+), 1387 deletions(-)
copy src/{test/java/org/apache/commons/jexl3/internal/OptionsContext.java =>
main/java/org/apache/commons/jexl3/internal/TemplateInfo.java} (61%)
create mode 100644 src/site/xdoc/relnotes.xml
delete mode 100644 src/site/xdoc/relnotes33.xml
delete mode 100644 src/site/xdoc/relnotes35.xml
create mode 100644 src/site/xdoc/security.xml
rename src/test/java/org/apache/commons/jexl3/{JexlTest.java =>
ExpressionsTest.java} (99%)
create mode 100644
src/test/java/org/apache/commons/jexl3/LoggingPermissions.java
copy
src/test/java/org/{apache/commons/jexl3/internal/introspection/nojexlpackage/package-info.java
=> example/Pair.java} (70%)