Skip to content

Latest commit

 

History

History
718 lines (577 loc) · 28.4 KB

CHANGELOG.md

File metadata and controls

718 lines (577 loc) · 28.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.36.6] - 2024-10-28

Fixed

  • Fixed dilimater of sql builder alter raname (#398).

[0.36.5] - 2024-10-13

Fixed

  • Fixed migration always run latest batch instead using take option (#397).

[0.36.4] - 2024-10-08

Fixed

  • Fixed allowed CacheManager::setDriver() using closure (lazy load), register driver without initial driver (#395).

[0.36.3] - 2024-09-24

Fixed

  • Fixed lifecyle of TestCase::class, by adding method call to prevent null property (kernel or application) (#394).

[0.36.2] - 2024-09-23

Fixed

  • Fixed TestCase::class allowed null property, fixed test assign null (kernel) (#393).

[0.36.1] - 2024-09-23

Fixed

  • Fixed deleting gitignore when run Cache::clear() using file storage (#391).
  • Fixed prevent rendering error in production (#389).

Changed

  • Change or added default configuration for CACHE_STORAGE use by cache facade and BCRYPT_ROUNDS use by hash facade (bcrypt hasher) (#392).

[0.36.0] - 2024-09-18

Added

  • Added HandleExceptions::class for handle php error (#368), prevent production report.
  • Added console write stream using fwrite (#369).
  • Added Password hash (3 method) (#370) and hash facade (#377).
  • Added Cache (ArrayStorage, FileStorage) and CacheManager use (like) psr cache (#378).
  • Added TemplatorDirective::class to allow costume directive by user (#384).
  • Added JsonTemplator::class to convert php array to json data (#386).

Changed

  • Changed handler::class using debug mode status, and added http response exception (#371).
  • Changed http request global __get() (use all() instead of source()) (#382).
  • Allowed Templator cache when geting content from file (#383).

[0.35.6] - 2024-07-25

Fixed

  • Fixed container alias no load (#365).
  • Fixed Kernel test not load bootstrap, manualy call bootsrap (#366).

[0.35.5] - 2024-07-13

Added

  • Added support HTTP_AUTHORIZATION header to RequestFactory::class is available in $_SERVER.

[0.35.4] - 2024-07-12

Fixed

  • Fixed Schdeule time in class Schedule::schduler() must equal with Facades\Schedule::class time.

[0.35.3] - 2024-07-11

Fixed

  • Fiexed typo method name CronCommand::getSchedule().

[0.35.2] - 2024-07-11

Changed

  • Changed monorepo worker added AddTagToChangelogReleaseWorker::class, and removed TagVersionReleaseWorker::class and PushTagReleaseWorker::class to prevent insidental run tag and push to remote.

Added

  • Added monorepo-builder validate in composer test.
  • Added Schedule::setTime(int $time) to reset time.
  • Added CronCommand::getShedule() to merge shcedule in class with Shedule facade with reset time.

[0.35.1] - 2024-07-09

Changed

  • Changed ci work flows branch to master.

[0.35.0] - 2024-07-08

Added

  • Added Schedule::add($schedule) and Schedule::flush() to add schedule time pools and flush the pool (shedule time).
  • Added Schedule::class facades.
  • Added System\Integrate\Bootstrap\Register::class to register facade base application.
  • Added ConfigRepository::class facades.
  • Added Facade::flushInstance() to flush/clear registerd instance.
  • Added Application::isDebugMode() and allowed detect application environment using APP_ENV (equal with ENVIRONMENT).
  • Split package using github workflows. New 13 package will split Collection, Console, Container, Cron, Database, File, Http, Macroable, Router, Security, Support, Template, Text, Time, View.

Changed

  • Allowed set Facade::$app without initially construction, using Facade::setFacadeBase($app) and set Facade::$app to null.
  • Improved similarity in Console\Karnel::class using jaroWinkler algoritma.

[0.34.1] - 2024-06-21

Changed

  • Changed how call static use static instead of self, purpose to make property can call only in parent class `ServiceProvider::modules().
  • Changed typo method name from Collection::dumb() to Collection::dump().

[0.34.0] - 2024-06-20

Added

  • Added ServiceProvider::exports() to register files/folders needed in package.
  • Added PackagaDiscoveryCommand::class to find supported package has register by composer vendor.
  • Added PackageManifest::class to collect information what needed by ServiceProvider.
  • Added ConfigRepository::class to load all Application configure.
  • Added Migration::VendorPaths() to manually add costume path from vendor path (package manifest).
  • Added Karnel::handle() and Karnel::register to run command directly.
  • Added BootProviders::class, ConfigProviders::class and RegisterProviders::class.

Changed

  • Changed how Application load bootstrapper. Application now handle bootstrap manually.
  • Changed Karnel::call() call command using Application::call().
  • Changed Karnel::__constructor() parameter to Application::class instead of Container::class.
  • Changed load configure using Util::loadCommandFromConfig(), this propose to costume command register.

[0.33.0] - 2024-05-17

Removed

  • Removed support for php 7.4 due the new feature Container::alias() make modify another Container method.

Added

  • Added Container::alias register alias for calling register entries get, make, has.
  • Added Application::registerAlias() register alias for default application alias (#316).

Changed

  • Use Container::flush() to flush container and added termnited tobe flush.
  • Change or Added new Rector rule see #321 for more details (note bene php8.0 support).

Fixed

  • Fixed Application::setViewPaths added basePath() as prefix path.
  • Fixed Handler::handleHttpException() path not found, overwrite Templator instnace to register TemplatorFinder::class.

Deprecated

  • Deprecated snake case method name in Application::class (#318), we was changed to camel case but keep old method in trait helper call System\Integrate\Contracts\Paths.

[0.32.3] - 2024-05-14

Fixed

  • Fixed Handle::class render http exception with paths not found. Added base view path, so finder can located layout / component.

[0.32.2] - 2024-05-14

Fixed

  • Fixed set view paths start with base path (#324 ref from #319).

[0.32.1] - 2024-05-14

Fixed

  • Changed mixed return type to php doc return type.

[0.32.0] - 2024-05-06

Added

  • Added TemplateFider::class finder location for template engine (find, get path).

Changed

  • Changed Templator::__construct() using TemplatorFinder::class for handle find and get path.

[0.31.1] - 2024-05-01

Fixed

  • Fixed view template finder by hard code suffix and prefix view file, the next version will handle by ViewFinder::class.

[0.31.0] - 2024-04-30

Added

  • Application abort Application::abort() or abort() shorthand for throw HttpException::class.
  • Added Handler::class to catch exception in Karnel::class.
  • Added response json exception handler in Handler::class.
  • Added Handler::dont_report to except no report.
  • Added HttpResponse::class to register response in exception.
  • Added Templator::viewExist() to check template file exist.
  • Added handler::handleHttpException to transform httpException to Response view.

Changed

  • Container::class implements ArrayAccess.

[0.30.0] - 2024-04-20

Added

  • Added Templator multy section.
  • Added Application Storage Path.
  • Added Http Karnel terminate.
  • Added Application Maintenace Mode.

[0.29.0] - 2024-03-15

Added

  • Rewrite Model::class merge MyModel::class and MyCRUD::class, adding without deprecated/removing (yet).
  • Added Collection::pluck() pluck collection with key.
  • Added MyPdo::logs to get query logs and time execution.

Changed

  • Change stub file for Model::class default using Model::class.

Removed

  • Removed stub for MyCrud::class aka Model and MyModel::class aka Models.

[0.28.0] - 2024-02-11

Changed

  • Changed Tempaltor required dolar sign to declare variable (name, each, set and if).

[0.27.4] - 2024-02-09

Changed

  • Changed migration command migrate table info type.

Added

  • Added Templator imoport directive.
  • Added cron schedule skip when due time.

[0.27.3] - 2024-01-09

Changed

  • Support Templator slot in inline directive.

Added

  • Added suport cli command prompt to accept yes using option --yes.
  • Added function to check param exist Command::has.

[0.27.2] - 2024-01-12

Fixed

  • Remove double dolar sign in variable

[0.27.1] - 2024-01-11

Changed

  • Allowed templator each using key and value pairing.

[0.27.0] - 2024-01-09

Changed

  • Integrate command using pattern command instead of class command.
  • Run Migration command base on table migration (batch).
  • Changed parent parameter in templator template, $data -> $__ and $template -> $__file_name__.
  • Separate templator to small part/class.

Added

  • Added seeder option after run migration command.
  • Added Collection::max and Collection::min.
  • Added Style::outIf print/echo when condition true.
  • Added costume tick cosole progressbar ProgressBar::tickWith.

[0.26.1] - 2023-12-19

Fixed

  • Fixed adding multy premerykey and unique in schema builder.
  • Fixed when adding default constrait.

Changed

  • Changed add NULL when Constrait::notnull parameter is false.

Added

  • Added second parameter optional wrap quote value in Constrait::default.
  • Added new default constrait Constrait::defaultNull shortcut for add default is NULL.
  • Added Unsigned for integer data type in schema builder.

[0.26.0] - 2023-12-09

Changed

  • Changed App property and use MyPDO insted.
  • Changed native array map instead using Collection::map in Str::mask.
  • Changed folder structur for Macro trait.
  • Chenged Str::fill* using native string_pad.
  • Changed ServeCommand::serve named argument with option command --port.
  • Changed how Templator::getView include php file (encapsulation).

Added

  • Added new Collection method Collection::where, Collection::whereIn, Collection::whereNotIn.
  • Added Karnel::class command similar when cant match any command.
  • Added Url::parseRequest to parse url using Request::class.
  • Added ServeCommand::serve with new option --expose.
  • Added Templator::compile get compiled templator file without run php file.
  • Added new command ViewCommand::cache and ViewCommand::clear.
  • Added new Templator syntax {% set foo='bar' %} to set variable.
  • Added new Templator syntax {% raw %}{% endraw %} to give raw template without compile any variable.
  • Added new Templator syntax {% break %} and {% continue %}.

[0.25.0] - 2023-11-04

Fixed

  • Fixed HelpCommand using commandmap to find command helper.
  • Fixed prevent error when cmd not found in commandmap.

[0.25.0] - 2023-10-31

Added

  • Added response status code isInformational(), isSuccessful(), isRedirection(), isClientError(), isServerError().
  • Added response http protocol version.
  • Added Url::class object value for url parse.
  • Added Response::headers property to modify headers as collection.
  • Added new command map structur fn (array), pattern, match and default.
  • Added support Console Karnel to add default option using command map.
  • Added SeederCommand to run seeder using costume namespace (--name-space).

[0.24.0] - 2023-10-17

Added

  • Added exit prompt confirmation function exit_prompt().
  • Added redirect() and redirect_route() to redirect as RedirecResponse::class.
  • Added costume header class (collection) to handle/manage http header.

[0.23.0] - 2023-10-10

Added

  • Added support database schema builder with character set.
  • Added Integrate seeder (seeder command, seeder path, seeder abstract).
  • Added test response assertation.

[0.22.1] - 2023-09-01

Fixed

  • Removed MyCRUD::read() limit causing no result when fetching database.
  • Change return type from self to $this to make child can access chain from parent.

[0.22.0] - 2023-08-18

Added

  • Added method Collection::push to add item in collection without using key.
  • Added method Collection::diff, Collection::diffKeys, Collection::diffAssoc.
  • Added method Collection::complement, Collection::complementKeys, Collection::complementAssoc.
  • Added integrate command CronCommand::class, HelpCommand::class, MakeCommand::class, RouteCommand::class, MiggrationCommand::class.
  • Added console width via Terminal::width.
  • Added console method Style::replace, replace spesific line with new text.
  • Added terminal style ProgressBar::class print progressbar in console.

Changed

  • Change return type to bool|void in Colection::each(closure(): void|bool).

Deprecated

  • Deprecated new_lines and added new method newLines with same result.

[0.21.1] - 2023-07-29

Changed

  • Change RouteGroup::group return same with 1st parameter callback return (return ) (#197).

[0.21.0] - 2023-07-29

Added

  • Added Request format type (#186).
  • Added support litespeed_finish_request to send respone (#188).
  • Added database schema for raw queary MySchema::raw() (#189).
  • Added support StreamedResponseCallable to send stream to client (#192).
  • Added support Route::resource include only, except, map and misssing (#195).

Changed

  • Changed command parse support count alias, group value (array) (#190).
  • Changed Response::send now flush after send buffer (#191).

[0.20.0] - 2023-06-30

Added

  • Added Collection::reduse() method.
  • Added Str::after() finder and get text after some text.
  • Added public_path() to get public path.
  • Added Vite::class to access vite manifest (FE).
  • Added Style::rawReset(), Style::resetDecorate() to change style reset rule.
  • Added Collection::firstKey(), Collection::lastKey(), Collection::firsts(), Collection::lasts and Collection::take to get kay first and last in collection.
  • Added Style::yield() to print output and continue write style.
  • Added database alter table (modify database table) (#181).
  • Added Route::has() to check route name exist or not.

Changed

  • Make Schedule logging with interface schedule instead of creating custom class (extends).

[0.19.0] - 2023-05-12

Changed

  • Refactor the http kernel to handle middleware in a way that allows for short-circuiting and early return of a response.
  • Refactor console karnel, with new pipeline provide by library.
  • Refactor Collection::___clone() cloning collection using deep cloning array.

Added

  • Added a new method called Request::duplicate, which allows for modification of an incoming request by creating a duplicate request object.
  • Added new method Response::getStatusCode and Response::getContent to provide information usefull for testing or middleware during handle.
  • Added global function to find in array by using dot keys data_get().
  • Added global function to render template as response view().
  • Added a new method called Collection::assocBy(), which allows for modifying an item in an array with a new item that includes a new key.

[0.18.0] - 2023-04-13

Added

  • Added support encrypt decrypt plain text.
  • Added new html/php template engine Templator::class.
  • Added support command prompt inputs.

Changed

  • Generic type Collection.

Fixed

  • Update ColorVariant Colors Varian.

[0.17.0] - 2023-02-14

Added

  • Added Now::class formated standart date.
  • Added ValidationCommandTrait::trait, validation command input with display error in console.
  • Added Appcliaction::migration_path.
  • Added Command Prompt class to interact with console input select, option, text.

Changed

  • Now::class support costume timezone.
  • Command::option_maper parse include minus sign - in parameter key.
  • Command:class implement array access, get parse agrv using command.
  • Property Command::name change to Command::_.

[0.16.0] - 2023-01-21

Added

  • Added \System\Database\MySchema\Create::class, \System\Database\MySchema\Drop::class, \System\Database\MySchema\Truncate::class to crate/drop database or table. Or using shorthand 'MySchema::class`.

[0.15.0] - 2023-01-10

Added

  • Added Query::queryBind() method to return query string with the bind's.
  • Added support Query::class limit using offet.
  • Added Collection::shuffle(), Collection::rand(), Collection::current(), Collection::next() and Collection::prev().

Fixed

  • Fixed concat between join and where condition in query builder.
  • Fixed return query bind boolean return as boolean.

[0.14.0] - 2022-12-24

  • Allowed schadule logging event job execute has error (#90).
  • Fixed query limit less that 0 (#91).

Added

  • Added Request::macro to upload file (#92).
  • Added support database insert multy raw (#98).

Changed

  • Collection implements Countable, ArrayAccess and IteratorAggregate interface (#93) (#97).
  • Database query using Bind as Class Bind::class (#94).

[0.13.0] - 2022-11-14

Changed

  • Changed Request::all with check content type.
  • Changed Request from json request, return only json body from content.
  • Changed Requet::all return base on method and return files (if avilable). Post Method return only post, and Get Method return only get.
  • Change Str::class using Macro::trait.

Added

  • Added Request::isJson determinate request from json request.
  • Added Request::input() return merge post and query request.
  • Added Macro::trait to add macro in class.
  • Added integrate Request-Validation (servise provider) macro.
  • Added Collection::ref to add refrence (add collection in collection).
  • Added support cron job to retry and retryCondition().
  • Added Now::shortDay property.

Removed

  • Removed AbstractMiddleware::class.

[0.12.4] - 2022-11-09

Added

  • Added support Request Iterator interface (loop class-object).

[0.12.3] - 2022-11-04

Added

  • Added Request::getAttribute().
  • Added Request::initialize().

[0.12.2] - 2022-11-04

Added

  • Added Request::isAjax() detect ajax request.

Removed

  • Removed AbstracMiddleware::handle().

  • Added

[0.12.1] - 2022-10-21

Fixed

  • Fix error when create from global to get content body #66.

[0.12.0] - 2022-10-21

Added

  • Added Style::tap() push style class.
  • Request::class implement ArrayAccess.
  • Request::class supported higher order expectations.
  • Added Request::query(), Request::post() return collection $__GET, $__POST.

Changed

  • Change method name Request::allin() to Request::wrap().
  • Request::__constructor parameter not nullable.
  • Request::rawBody() return string|null.
  • Request::getJsonBody() throw exception when rawBody is not array/json and empty body.
  • Request::all() return body content if content length not equal zero or empty.

[0.11.0] - 2022-09-11

Deprecated

  • Deprecated set header from content['header'] in Respone::class.
  • Deprecated set header from content['header'] in View::render.
  • Deprecated Command::printHelp.

Added

  • Added trait to print help option and argument using array.
  • Added Respone::__toString to get respone content include http version, header, and content.

Changed

  • Using kay-val array instead of header line array.

[0.10.5] - 2022-08-19

Fixed

  • Added laravel dont-discover package.

Changed

  • Add composer branch alias for dev-master to 0.x-dev.

[0.10.4] - 2022-08-17

Fixed

  • Fixed default when route middleware group not found.
  • Fixed use apache_request_headers when function is exists.

[0.10.3] - 2022-12-08

Fixed

  • Fixed support Style::lenght with integer parameter.

[0.10.2] - 2022-04-08

Added

  • Added Style::textColor and Style::BgColor with paramter as ForegroundColor or BackgroundColor or string hex color.
  • Support color variant call directly uning magic call (eg Style::text_blue_500).
  • Added Style::lenght() count text lenght without count rule.

Changed

  • Style::raw will add specific on textColor or bgColor.

[0.10.1] - 2022-29-07

Added

  • Added method Colors::rgbText, Colors::rgbBg.
  • Added Style::repeat, Style::new_lines and Style::tabs.
  • Added property to define terminal color ForegroundColor::class and BackgroundColor::class.

Changed

  • Updated php-cs-fixer to "3.9".
  • Changed class from Rule::class to Style::class.
  • Style::push() return as self.
  • Change from 255 color to true color teminal Colors::class.
  • Changed method Colors::RawHexText to Colors::hexText, Colors::RawHexBg to Colors::hexBg.
  • Push no longger print out before method out call.
  • Use chr(27) intead of "\e" for escape charakter.

[0.10.0] - 2022-07-07

Added

  • Added default argument for parse console argument in Command::class.
  • Added more terminal color pallet.
  • Added reset parameter in method rule CommandTrait::rule($rule, $text, $rest, $reset_rule).
  • Added feature to remove qoute (single or double) in parse console argument.
  • Added console/terminal decoration with chainging way System\Console\Style\Rule::class;

Changed

  • Changed deafault method to call from Command::println to Command::main.
  • Use CommandTrait in Console::class is optional.

[0.9.1] - 2022-06-30

Changed

  • Rename NameSpace System\Support\Facedes to System\Support\Facades.
  • Rename class from Facede::class to Facade::class.
  • Changed mb_string instance of string function in Str::class.
  • Changed doc block MyCRUD::SetID() return as static instance of self.

[0.9.0] - 2022-06-24

Added

  • Added Facade::class abstract class.
  • Added System\Support\Facades\DB::class and System\Support\Facades\PDO::class
  • Added MyPDO::instance.
  • Added CrossJoin::class query builder for join table query.

Changed

  • PHPStan level 6 for System\Database exclude MyModel::class.

Removed

  • Remove MyQuery::getInstance.

[0.8.0] - 2022-06-17

Added

  • Added Str::limit for trucate text.
  • Added FileMultyUpload::class for handle multy files upload.
  • Added UploadFile::class support test UploadFile::markTest with use copy instance of move_uploaded_file.
  • Added UploadFile::get for get file content of uploaded file.

Changed

  • Changed UploadFile::folder_location not provide $_SERVER['root'].
  • Changed UploadFile::Success to UploadFile::success.
  • Changed visibility Time::class to prevent ilegal changes property witch make property not sync.

Security

  • Folder location check UploadFile::setFolderLocation.
  • File extention check UploadFile::validate.

Fixed

  • File size check UploadFile::validate always passed.

[0.7.1] - 2022-06-09

Added

  • Added Str::fill(), Str::fillEnd() and Str::mask().
  • Added Text::fill(), Text::fillEnd() and Text::mask().

Fixed

  • Fixed MyCRUD::setter() check MyCRUD::RESISTANT always true.
  • Fixed MyCRUD::getLastInsertID() cant set default id (if id is empty).
  • Fixed MyPDO::transaction return MyPDO::beginTransaction without run callable function.

Changed

  • Changed Str::class to final class.
  • Changed Select::class to final class.
  • Changed Application::class to final class.
  • Changed RouteDispatcher::class to final class.
  • Changed ServiceProvider::__construct() param from Container::class to Application::class.
  • Changed View::render throw exception when file not found.

Security

  • MyModel::call(), Unsafe usage of new static().
  • MyPDO::$Instance, Unsafe usage of new static().
  • AbstractJoin::ref(), Unsafe usage of new static().
  • Controller::static(), Unsafe usage of new static().
  • Router::getRoutes(), Call to an undefined method System\Router\Route::route().

[0.7.0] - 2022-06-06

Added

  • Added MyPDO::config() PDO connection configure.
  • Added string manipulation Str::chartAt, Str::concat, Str::indexOf, Str::lastIndexOf, Str::match, Str::repalce, Str::search, Str::slice, Str::split, Str::toLowerCase, Str::toUpperCase, Str::firstUpper, Str::firstUppeAll, Str::toPascalCase, Str::toCamelCase, Str::contains, Str::startsWith, Str::endsWith, Str::template, Str::slug, Str::repeat, Str::length, Str::isString, Str::isEmpty, Str::isMatch.
  • Added string macro System\Text\Str::macro.
  • Added common regex System\Text\Regex::class.
  • Added string class for manipulation string System\Text\Text::class.

Changed

  • Change composer require php version 7.4 and 8.0.

[0.6.2] - 2022-05-27

Changed

  • New MyPDO::__construct params, using array contain database configuration.
  • MyPDO::getInstance() return single instance.
  • New MyPDO::__construct throwing error without call die function.

Removed

  • Remove database defineder (DB_NAME, DB_HOST, DB_USER, DB_PASS).

Fixed

  • Fixed Route::group can't combine middleware.

[0.6.1] - 2022-05-19

Added

  • Prevent duplicate middleware call.
  • Added method (Route::middleware) to call middleware individualy.

Changed

  • Change Router::middleware param form middleware object to middlewar class-name.
  • RouterGroup::group retrun as callback param.

[0.6.0] - 2022-05-15

Added

  • Added RouteDispatcher::class dispatch request route.

Changed

  • Router::class run throw RouteDispatcher::class.
  • View::render return as Respone::class.
  • respone->html(), respone->json(), respone->planText() no longger send respone. Its just set content type.

[0.5.0] - 2022-04-29

Added

  • Added flush() method to reset application container.
  • Added global function now() instance of System\Time\Now::class.
  • Added function to load register service provider (in Application::class).

Changed

  • Application container have default config by default.

[0.4.0] - 2022-04-24

Added

  • Added ScheduleTime->interpolate() to execute closure. Action after schadule execute.
  • Added DI container Container::class.
  • Added core framework Appcliaction::class, witch load DI and application configuration.
  • Added abstract Karnel::class and ServiceProvider::class.
  • Added global function Application.

[0.3.0] - 2022-04-06

Added

  • Added Collection->immutable class.
  • Added Fetch->get() return as collection.
  • Added uploadfile class.
  • Added method close() to closed middleware.
  • Add Router::prefix()->group() group router base on prefix.
  • Add Router::name()->group() group router base on name.
  • Add Router::midleware()->group() group router base on midleware.
  • Add Router::controller()->group() group router base on controller.
  • Add Router::group(array, closure) costume group.
  • Add Router::current() get current route.
  • Router group can be combine with other router group.

Changed

  • Change MyCrud not implement CrudInterface

[0.2.1] - 2021-12-11

Added

  • Add collection::class method split, chunk, only, except and flatten

[0.2.0] - 2021-12-09

Added

  • Add Parameter pool (ConstPool, PropertyPool and MethodPool) in method Generate->consts(); Generate->propertys(); Generate->Methods()
  • Add feature command name (get option directly from object name) Command:class
  • Add MyQuery->whereExits() and MyQuery->whereNotExits()
  • Add MyModel->join() join method
  • Add MyCRUD RESISTANT to prevent changes from some table column
  • Add MyCRUD hasOne and hasMany
  • Add MyCRUD magic method __get and __set
  • MyQuery query quality, remove extra white space

Changed

  • MyQuery use ConditionTrait instead of ConditionInterface
  • MyQuery join method using AbstractJoin parameter instead of Join
  • Refactory MyCRUD
  • MyCRUD use MyQuery for database connection
  • MyCRUD change property ID to PRIMERY_KEY and IDENTIFER

[0.1.3] - 2021-11-07

Added

  • Add feature to generate::class class, property, const and method as string
  • Add feature to collact array Collection::class and CollectionImmutable::class

Removed

  • Remove Router::view

[0.1.2] - 2021-09-15

Added

  • Add class to render view View::class

Fixed

  • Router::view cant render using child controller class

[0.1.1] - 2021-09-14

Added

  • Add Request::class to handle http request
  • Add Response::class to handle http respone
  • Add RequestFactory::class to create request from global parameter
  • Router::class suport router name, route view (override), support HEAD request method
  • Route suport middleware Router::middleware

Changed

  • Rename class RouterFactory::class to RouteFactory::class
  • Rename class RouterProvider::class to RouteProvider::class

[0.1.0] - 2021-07-12

Added

  • Project init