Skip to content

v3.0.0

Latest

Choose a tag to compare

@hosmelq hosmelq released this 16 Nov 01:32
d2f5d4c
  • Require the mbstring extension and brick/math 0.14.4 or newer, up to 1.x, and drop doctrine/lexer, archtechx/enums, and thecodingmachine/safe.
  • Rename AllowedField to Field and AllowedFieldItemRules to FieldItemRules.
  • Require uniquely named configured fields, return null when no filter or default remains, apply validated defaults, and remove ignored values.
  • Preserve typed values, canonical decimal strings, quoted text, and Unicode source positions, and compare members and ignored strings ignoring case.
  • Add field authorization, operator restrictions, aliases, dynamic keys, presence fields, text matching, storage conversions, leading wildcard permissions, and query limits.
  • Add date, enum, UUID, and ULID rules, including partial and relative dates, calendar-date semantics, clause intervals, and storage bounds.
  • Add wildcard nodes, compact ranges, string serialization, and directives and sorts outside the filter tree.
  • Add AST transformers, a shared clause compiler, and compile() clause trees with term targets, text patterns, directive clauses, and set complements for adapters.
  • Add Query\Matcher for in-memory matching, JSON descriptions of parsers, fields, and sorts, and field metadata for adapters.
  • Accept raw query input, throw SearchSyntaxException with grouped reasons, translation keys and parameters, and reject non-finite size bounds.
  • Replace the lexer, make the lexer and parser internal, and remove unused validation APIs.
  • Move the documentation from the README to docs/, excluded from archives, align the tooling, reorganize the tests, and drop the redundant framework CI job.

See UPGRADE.md for upgrade instructions.