Skip to content

Releases: daurnimator/lpeg_patterns

v0.5

15 Jul 12:19
v0.5
15f4d13
Compare
Choose a tag to compare
  • http: Cache-Control directives are case-normalised and grouped into pairs
  • http: Strict_Transport_Security now returns a table and doesn't match on duplicates
  • http: Public_Key_Pins capture format and validation
  • http: New Expect_CT and Referrer_Policy patterns

v0.4

22 Nov 14:14
v0.4
c96d457
Compare
Choose a tag to compare

This release includes:

  • Reduce memory usage by refactoring IPv6 pattern
    Also fixes lpeg 0.10 compatability
  • http: case-normalise cookie attribute names
  • http: fix captures of Via header
  • http: fixes some whitespace rules
  • uri: fix missing case-normalisation for percent encoded characters in hostnames
  • uri: export IP_literal and sub_delims patterns

v0.3

21 Nov 12:42
v0.3
797285c
Compare
Choose a tag to compare

This release includes:

  • New http module
    • Includes parsers for almost every HTTP header.
    • Expect this API to be unstable, it's a significant amount of new code
  • New language module that parses language codes e.g. "zh-Hans-CN"
  • New email.mailbox pattern (name + email like: "Bob [email protected]")
  • New uri.absolute_uri pattern that does not allow fragments
  • Expose some previously internal uri patterns
  • Fix: Don't percent decode in URIs when it could introduce ambiguity (thanks @torhve)
  • Lots more. check the git log for the details

v0.2

21 Nov 12:41
Compare
Choose a tag to compare

This release includes:

  • Fixed parsing of IPv6 addresses (thanks spc)
  • IPv6 zone support
  • Stricter uri matching (scheme is now compulsory)
  • "reference" (i.e. relative) URI matching