Releases: tempestphp/tempest-framework
Releases Β· tempestphp/tempest-framework
v1.0.0-alpha.4
π Features
- commandbus: async commands (#685) (bfa1706)
- console: support negative arguments (#660) (1cdf158)
- console: support "no prompt" mode (#661) (687e333)
- console: add
name
parameter to#[ConsoleArgument]
(#617) (2a73033) - console: ensure
tempest serve
supports routes with file extension (#704) (6300617) - console: support dynamic style injections (#703) (6847a79)
- console: accept
BackedEnum
as command arguments (#722) (c21f24e) - console: add
make:controller
andmake:model
commands (#647) (0bdee91) - console: add
make:request
command (#730) (987eabf) - console: infer binary path for scheduler (#758) (25e5d81)
- console: add
make:response
command (#760) (e76c1f8) - container: support injecting properties using
#[Inject]
(#690) (ab0eecd) - core: install main namespace (#751) (3f9bdde)
- core: partial discovery cache (#763) (2049f6e)
- database: add json data type (#709) (d599d50)
- database: add
set
data type (#725) (f0db5c8) - filesystem: add new
Filesystem
component (#441) (25d4a47) - framework: add
config:show
command (#732) (2124577) - http: map uploaded files into the request properties (#702) (a97014c)
- http: add
Delete
attribute (#733) (613b884) - http: add
Put
andPatch
attributes (#742) (3621006) - log: allow usage of multiple same log channels (#718) (68d7e54)
- mapper: json file to object mapper (#748) (99933ff)
- routing: add regex chunking to route regex (#714) (3eb0c59)
- support: add sorting methods to
ArrayHelper
(#659) (8f52e4a) - support: add
wrap
andunwrap
toStringHelper
(#693) (a0fffe9) - support: support not specifying a value to
ArrayHelper::pop
andArrayHelper::unshift
(#692) (6a56d94) - support: add
start
toStringHelper
(#713) (f719c20) - support: add methods
reduce
,chunk
andfindKey
toArrayHelper
(#720) (c8a31db) - support: add more methods to
ArrayHelper
andStringHelper
(#721) (bdf5efc) - validation:
ArrayList
rule (#745) (ddda992) - validation: enhance enum validation (#755) (ca7a226)
- view: add boolean attributes (#700) (04000ac)
- view: add raw html element (#738) (df6a418)
- optimize routing (#626) (83f1dac)
- multiple routes per controller method (#667) (166912d)
- route enum binding support (#668) (f055fc1)
- exception handler improvements (#670) (0f97964)
- middleware callables (#672) (d2e8a4e)
π Bug fixes
- commandbus: disallow having two
#[CommandHandler]
for the same command (#706) (f3054f9) - console: handle nested
style
tags (#726) (779973e) - core: discovery location loading order (#663) (6fc2d95)
- core: discovery errors being silenced (#688) (f5b848c)
- core: installers not updating docblock references (#696) (7b7e2ca)
- generation: simplify traits and method parameter attributes (#753) (3cca6bc)
- http: collision between route and query params for uri generator (#687) (e22492a)
- http: use document root instead of env in
tempest serve
(#717) (ccc1ece) - http: use default log config only if no config is provided (#719) (fbaf866)
- support: support calling
first
andlast
on emptyArrayHelper
(#691) (9021c6e) - view: several bugfixes (#662) (5034d0a)
- view: attributes for raw elements (#734) (f89eb5d)
- view: extra null check for node attributes (#740) (5fa27bc)
- query param name collision in uri function (#679) (59fe4fb)
- rector (#680) (7fdff1d)
π Refactor
- console: exit codes as enum + int (#741) (b014f40)
- console: update
make:controller
command parameters to be simpler (#761) (9835d2e) - routing: split route construction (#666) (32bf4d0)
- support: convert
PathHelper
to immutable class (#743) (0dacd10) - update
ModelQueryBuilder
generics to support static analysis (cea122e) - replace
ramsey/uuid
withsymfony/uid
(#724) (8e6b650)
β‘ Performance
...
v1.0.0-alpha.3
π¨ Breaking changes
- [breaking] add support for specifying an optional port in serve command (b8b9167)
- [breaking] add the ability to use custom regex for route params (871dda9)
π Features
- console: support string keys in
MultipleChoiceComponent
(#567) (78f2794) - container: add ability to invoke arbitrary closures (#535) (c1da5f1)
- core: add root_path helper (#607) (ccfcf94)
- event-bus: support closure-based listeners (#540) (0fa02bc)
- generation: add
ClassGenerator
(#544) (f54a0e0) - support: improve helpers (#538) (6d60b9b)
- support: improve array helper with additional methods (#557) (57e6cd8)
- support: refactor dd() method to use logger in string helper and add the dump() method (#563) (3349cf1)
- support: add implode()/explode() methods in string helper (#564) (5718796)
- support: add methods to array helper (#590) (b16f797)
- support: add inline documentation on helper classes (#611) (c5fdcad)
- validation: support validating by closure (#570) (450bc58)
- match all method for string helper class (#536) (0f33a44)
- enhance matchAll method to support flags and offset (9da79f4)
- add named hasOne relation (#549) (58906b7)
- add initializer for builtin types (#541) (bd64f5a)
- add boolean data type (#547) (#555) (6776fff)
- add
isList()
andisAssoc()
methods in ArrayHelper for array type checking (#566) (f465060) - event bus improvements (#623) (bf7ff15)
- add defer helper (#624) (15cd46e)
- install command (#625) (10f3388)
- add inline documentation on all namespaced functions (#616) (bef5af7)
- publish imports (#643) (52ca58d)
π Bug fixes
- #275: implement weekly log rotation (#548) (14fea7d)
- container: fix caching of autowire discovered classes (#630) (6a5a5d5)
- http: fix so referer header is resolved depending on request class in invalid response (#604) (d463258)
- phpstan: fix phpstan issues (#556) (b1495b2)
- phpstan: fix last phpstan issues (#589) (e719dfa)
- view: consume dynamic attributes (#644) (972595c)
- terminal line clearing (#576) (ce2b6c4)
- low terminal frame rate causing keystrokes to be dropped (#577) (8f414d6)
- rector config (#581) (83c103d)
- view argument casing (#585) (158b2db)
- nullable properties not seen as nullable by TypeReflector (#591) (6e7dc59)
- disable rector ci (#595) (88dfdfb)
- type reflector uses wrong definition when converting to class (#592) (94071c3)
- view components with multiple attributes (#599) (e00d0cd)
- console cache dependency (#603) (2acdf9a)
- duplicate command completion (#600) (effb684)
- publish file root namespace (#638) (2051dd4)
π Refactor
- http: resolve
HttpApplication
via the container (#606) (4680289) - reflection: replace
eval
call inTypeReflector
(7ffe2d7) - support: move
LanguageHelper#join
toArrayHelper
andStringHelper
(#612) (75d902b) - validation: improve readability of
validateValue
(#586) (fef15c0)
π οΈ Build
- add release script (e1a1107)
v1.0.0-alpha.2
π Features
- core: add
Composer
util (#519) (40c5f03) - database: implement table naming strategies (#453) (519f44f)
- discovery: add ability to hide classes from discovery (#512) (c09cdf4)
- discovery: allow exceptions on
DoNotDiscover
classes (#521) (1dcacae) - generation: add
ClassManipulator
(#531) (92ccb7d) - string-helper: add replacement and concatenation methods (#517) (6e3a63a)
- support: adds string pluralizer (32fb3e9)
- support: add
StringHelper
(ccb1e65) - refactor string helper to object (#433) (5eca329)
- add array helper (#434) (988f28d)
- request::has methods (#448) (82e6522)
- add base uri support (#449) (f243a1f)
- always log errors in production handler (#454) (0652e9c)
- cache (#474) (00fd2de)
- add str::startswith and endswith (#484) (3ac79d6)
- cache:clear command (#487) (c1f6cc4)
- use directories instead of file names to allow default server config setup (#479) (140f9eb)
- add output to schedule:run command (#489) (c57b1ac)
- allow hard-coded uris in router::touri (#490) (72e88c8)
- add autowire/autodiscovery/auto-initialization of interfaces to classes (#501) (1572122)
- array helper::map-to (#505) (e4bb059)
- authenticator (#493) (5017c5f)
- adds
enctype
within the form component (#500) (7c4f12d) - str match (#527) (ce899cd)
- str regex functions (#528) (672ea02)
- allow object to define how they are mapped to array (#532) (19d001b)
π Bug fixes
- console: support
default
parameter on textbox component (#518) (3c86f8e) - view: join generic elements with an empty string (3ad5461)
- Missing descriptions in composer files (5c28483)
- package validation reading the license from composer files (3701b64)
- view renderer bug fixes (#439) (d60d26f)
- view renderer bug fixes (#440) (6a85ef8)
- improved error handling for warnings and deprecations (#443) (1e7ad4d)
- response sender improvements for download and file responses (#447) (3132bed)
- extra check for existing file (#455) (f466b7d)
- properly detect application (#456) (ee84b94)
- view component attribute fixes (#459) (4622298)
- package dependencies (#461) (e1e8470)
- dependency loop between kernel and event-bus (#475) (53a9c86)
- rename console component interfaces (#476) (d96f98e)
- database component tests (#477) (02a85e1)
- typo in readme (#473) (df14709)
- handle invalid discovery cache (#492) (bc44eb9)
- validation referer (#511) (a3710a8)
- datetime caster with datetime object (#514) (e361f26)
- static generate error handling (#529) (02b4db8)