Skip to content

v0.3.4

Choose a tag to compare

@titpetric titpetric released this 12 Nov 10:27
· 420 commits to main since this release

The v0.3.4 release of phpscript contains 18 commits since v0.3.3. The changes focus on interfaces, string interpolation and instanceof across the parser, runner and formatter, the rebuilt throwable model, key-order-preserving JSON with new array, math, string and encoding builtins and credential-keyed database migrations through mig.

pie title v0.3.4 commits by category
    "feature" : 5
    "docs" : 4
    "fix" : 3
    "build" : 2
    "test" : 2
    "refactor" : 1
    "other" : 1

Changelog

feature

  • d01dfb7 feat(stdlib): open migrations through a :migrate credential
  • 305948a feat(stdlib): add array, math, string and encoding builtins
  • 66aab4f feat(formatter,lint): print interface declarations and report a violated contract
  • c65e369 feat(runner,flatstack): evaluate the new syntax and rebuild the throwable model
  • fe588e5 feat(parser,model): parse string interpolation, instanceof and interfaces

docs

  • 82cec93 docs: regenerate the fixture report
  • 9f3e219 docs: regenerate the API reference for json_decode's optional arguments
  • 2e24606 docs: replace typographic punctuation with ASCII
  • 7fba0c6 docs: record the no-OOP decision and correct the reference

fix

  • 16abfd3 fix(stdlib): key the connection cache on the credential that answered
  • cd4ac96 fix(stdlib): decode a JSON object in document order
  • 33c6940 fix(stdlib): keep the key order json_encode was given

build

  • 67e811e build(stdlib): update mig to v0.6.0 and run migrations through its manager
  • 5ae4dd8 build: tear down the compose environment when the pipeline ends

test

  • fbacb4d test(parser): cover interface declarations and what they reject
  • e7e3279 test: cover the new syntax, the throwable model and the new builtins

refactor

  • 01b0dfc refactor(stdlib): decouple logger from mig's interface

other

  • a5265d6 demos: dbadmin update for minitpl 1.3 escaping

v0.3.3...v0.3.4