Skip to content

Releases: JSQLParser/JSqlParser

jsqlparser-5.1

02 Jan 00:45
Compare
Choose a tag to compare

What's Changed

Changes and new Features

  • Avoid private tokens to be white listed and allow any word character in token value by @ssteinhauser in #2044
  • Resolve parsing error for CHARACTER SET and COLLATE in MySQL ALTER TABLE (issue 2027) by @minleejae in #2045
  • fix truncate parsing to capture multiple tables by @nick-redfearn in #2048
  • fix insert default values statements not parsing by @nicky6s in #2050
  • chore adding extra details to unit test scenarios by @nicky6s in #2051
  • feature/fix: parsing inserts/updates/delete within CTEs by @nicky6s in #2055
  • chore removing system.out.println lines + minor clean up of unit test scripts by @nicky6s in #2060
  • Exasol support by @ssteinhauser in #2046
  • Unparenthesized SubSelect as FromItem by @ssteinhauser in #2073
  • Skyline syntax (preferring clause) by @ssteinhauser in #2078
  • Failure to parse query with PRIOR in select list by @hannes92 in #2083
  • Fix parsing ALTER TABLE ... ADD COLUMNS (...) by @njaremko in #2087
  • Fix issue 2090: Correctly parse LOCK clause in ALTER TABLE statements by @minleejae in #2095
  • Fix issue 2089: Add parsing functionality for MySQL CONVERT TO statement by @minleejae in #2097
  • Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements by @minleejae in #2107
  • Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements(2) by @minleejae in #2108
  • fix: Issue #2109 true and false value parsed as column instead of BooleanValue by @lucarota in #2110
  • Fix issue 2106: Add parsing functionality for MySQL ALTER Table option statements by @minleejae in #2115
  • Fix issue 2089: Enhance MySQL CONVERT Statement Parsing by @minleejae in #2117
  • Fix issue 2118: Enhance MySQL ALTER TABLE Parsing by @minleejae in #2121
  • fix: [FEATURE] TablesNamesFinder does not support CREATE VIEW #2123 by @cptnricard in #2124
  • add support for MATERIALIZED in WITH clause by @tomershay in #2128
  • feat: add support MATCH_ANY MATCH_ALL MATCH_PHRASE MATCH_PHRASE_PREFIX MATCH_REGEXP by @dengliming in #2132
  • build(deps): bump org.junit.jupiter:junit-jupiter-engine from 5.11.3 to 5.11.4 by @dependabot in #2129
  • Fix null exception in ExpressionVisitorAdapter with simple INTERVAL expression by @tomershay in #2133

New Contributors

Full Changelog: jsqlparser-5.0...jsqlparser-5.1

jsqlparser-5.0

30 Jun 21:06
Compare
Choose a tag to compare

What's Changed

Changes and new Features

New Contributors

Full Changelog: jsqlparser-4.9...jsqlparser-5.0

jsqlparser-4.9

09 Mar 22:22
Compare
Choose a tag to compare

What's Changed

Changes and new Features

New Contributors

Full Changelog: jsqlparser-4.8...jsqlparser-4.9

jsqlparser-4.8

28 Dec 00:35
Compare
Choose a tag to compare

What's Changed

Changes and new Features

New Contributors

Full Changelog: jsqlparser-4.7...jsqlparser-4.8

jsqlparser-4.7

01 Sep 22:37
Compare
Choose a tag to compare

New API

This is an API breaking release! Please see the migration guide: https://jsqlparser.github.io/JSqlParser/migration.html
Detailed Change Log: https://jsqlparser.github.io/JSqlParser/changelog.html

What's Changed

Changes and new Features

New Contributors

Full Changelog: jsqlparser-4.6...jsqlparser-4.7

jsqlparser-4.6

23 Feb 21:44
Compare
Choose a tag to compare

What's Changed

Changes and new Features

New Contributors

Full Changelog: jsqlparser-4.5...jsqlparser-4.6

jsqlparser-4.5

22 Jul 22:59
Compare
Choose a tag to compare
  • UnsupportedStatement support instead of throwing Exceptions
  • support for RETURNING clause of a DELETE statement
  • Add support for ... ALTER COLUMN ... DROP DEFAULT
  • INSERT supports SetOperations (e. g. INSERT INTO ... SELECT ... FROM ... UNION SELECT ... FROM ...), those SetOperations are used both for SELECT and VALUES clauses (API change) in order to simplify the Grammar
  • (WITH ... SELECT ...) statements within brackets are now supported
  • Postgres NATURAL { INNER | LEFT | RIGHT } JOIN support
  • extended support for Hive dialect GROUPING SETS
  • support for Postgresql drop function
  • support table option character set and index options
  • support Postgresql optional TABLE in TRUNCATE
  • support for ANALYZE mytable
  • PostgreSQL INSERT INTO ... ON CONFLICT ... DO ... statements
  • implement Parser Timeout Feature, e. g. CCJSqlParserUtil.parse(sqlStr, parser -> parser.withTimeOut(60000));
  • extended support Postgres' Extract( field FROM source) where field is a String instead of a Keyword
  • support for DROP column IF EXISTS

What's Changed

Changes and new Features

JSqlParser 4.4

10 Apr 20:41
Compare
Choose a tag to compare
  • support for timestamp with local time zone
  • improved support for quoted identifiers in casts
  • support for top with ties
  • support for operators <-> and <#>
  • improvement of test methods
  • validation bugfixes
  • Json function Improvements and Bugfix #1506

jsqlparser-4.3

12 Dec 15:36
Compare
Choose a tag to compare
  • moved to JUnit 5 as a test framework
  • added IGNORE NULLS to window functions
  • Postgres compliant ALTER TABLE schema.oldTableName RENAME TO newTableName
  • added use of * or mytable.* as a function parameter
  • enhanced support for ddl drop of indexes
  • support alias for Unpivot statement
  • support for limit and offset expressions
  • support for special JSON_OBJECT function parsing
  • allow ComplexExpressions for CASE expression (preview)
  • support MYSQL modifiers for DELETE / UPDATE
  • support for Postgres Dollar quotation: $$mystring$$
  • support for expression in escaping of a like expression: LIKE ? ESCAPE ?
  • support for CREATE OR REPLACE TABLE
  • support for multi column unpivot
  • support for RESTART in Postgres ALTER SEQUENCE
  • improved support of IGNORE NULLS in window functions
  • upgraded some maven plugin versions

JSqlParser 4.2

08 Sep 09:52
Compare
Choose a tag to compare
  • API change: Support SELECT ... without a FROM clause, making SELECT 1, 2 and SELECT * parsable statements (before those failed)
  • API change: Support complex UPDATE sets (using multiple SubQuery or ValueList or Single Values, in combination)
  • Support nested CASE expressions with complex expression arguments
  • API change: Support JOIN with multiple trailing ON Expressions (JOIN ... JOIN ... ON ... ON ...)
  • Support Oracle Hierarchical CONNECT_BY_ROOT Operator
  • Support Transact-SQL IF ... ELSE ... Statement Control Flows.
  • Allow optional parameters for the ALTER TABLE ... statement (e.g. ALTER TABLE ... MOVE TABLESPACE ...)
  • Support Oracle ALTER SYSTEM ... statement
  • Support Oracle Named Function ParametersFunc( param1 => arg1, ...
  • Add Gradle build
  • Allow JdbcParameter or JdbcNamedParameter for MySQL FullTextSearch
  • Allow Cast into Row Constructor
  • Support Oracle RENAME ... TO ... statement
  • Support Oracle PURGE statement
  • Support JSON functions JSON_OBJECT(), JSON_ARRAY(), JSON_OBJECTAGG(), JSON_ARRAYAGG()
  • API change: merge ALL and ANY expressions class
  • Allow DB2 compliant CURRENT DATEin addition to CURRENT_DATE (without underscore)