Yii Framework 34k+
  • News
  • Guide
  • API
  • Wiki
  • Forum
  • Community
    • Places
    • Members
    • Hall of Fame
    • Badges
  • More
    • Learn
    • Books
    • Resources
    • Develop
    • Download Yii
    • Extensions
    • Report an Issue
    • Report a Security Issue
    • Contribute to Yii
    • Donate
    • About
    • Release Cycle
    • License
    • Team
    • Official Logos and Design
Login

Yii Hydrator 1.5

Sep 17, 2024

Version 1.5 of Yii Hydrator package has been released. Here are the list of improvements included in the new version:

  • added EnumTypeCaster that cast values to enumerations;
  • fixed populating readonly properties from parent classes.

Yii Validator 2.1

Sep 12, 2024

Version 2.1 of Yii Validator package has been released. Here is the list of changes included in the new version:

  • merge rules from PHP attributes with rules provided via getRules() method;
  • use Yiisoft\NetworkUtilities\IpRanges in Ip rule: add getIpRanges() method and deprecate getRanges(), getNetworks(), isAllowed() methods;
  • use NEGATION_CHARACTER constant from network-utilities package in IpHandler instead of declaring its own constant.

Yii Swagger 2.1

Sep 4, 2024

Version 2.1 of Yii Swagger package has been released. Here is the list of changes included in the new version:

  • Added support for psr/http-message of versions ^2.0.
  • Raised required yiisoft/yii-view version to ^7.1.
  • Added \Yiisoft\Swagger\Action\SwaggerJson and \Yiisoft\Swagger\Action\SwaggerUi actions, mark \Yiisoft\Swagger\Middleware\SwaggerJson and \Yiisoft\Swagger\Middleware\SwaggerUi clases as deprecated (they will be removed in the next major version).
  • Added support for swagger-api/swagger-ui of version 5.

Yii Network Utilities 1.2

Sep 2, 2024

Version 1.2 of Yii Network Utilities package has been released. Here is the list of changes included in the new version:

  • Added IP_PATTERN and IP_REGEXP constants to IpHelper for checking IP of both IPv4 and IPv6 versions.
  • Added NEGATION_CHARACTER constant to IpRanges used to negate ranges.
  • Added isIpv4(), isIpv6(), isIp() methods to IpHelper.

Yii Form Model 1.0

Aug 27, 2024

First release of Yii Form Model package was done. It provides a base for form models and helps to fill, validate and display them.

For usage define a form model:

use Yiisoft\FormModel\Attribute\Safe;
use Yiisoft\FormModel\FormModel;
use Yiisoft\Validator\Rule\Email;
use Yiisoft\Validator\Rule\Length;
use Yiisoft\Validator\Rule\Required;

Read more

Yii Form 1.0

Aug 26, 2024

First release of Yii Form package was done. It provides a set of widgets to help with dynamic server-side generation of HTML forms. The following widgets are available out of the box:

  • input fields: Checkbox, CheckboxList, Date, DateTimeLocal, Email, File, Hidden, Image, Number, Password, RadioList, Range, Select, Telephone, Text, Textarea, Time, Url;
  • buttons: Button, ResetButton, SubmitButton;
  • group widgets: ButtonGroup, Fieldset.
  • other: ErrorSummary.

General usage:

use Yiisoft\Form\PureField\Field;

echo Field::text('firstName', theme: 'horizontal')
  ->label('First Name')
  ->autofocus();
echo Field::text('lastName', theme: 'horizontal')
  ->label('Last Name');
echo Field::select('sex')
  ->label('Sex')
  ->optionsData(['m' => 'Male', 'f' => 'Female'])
  ->prompt('—');
echo Field::number('age')
  ->label('Age')
  ->hint('Please enter your age.');
echo Field::submitButton('Submit')
  ->buttonClass('primary');

Yii Hydrator 1.4

Aug 23, 2024

Version 1.4 of Yii Hydrator package has been released. Here are the list of improvements included in the new version:

  • added ToArrayOfStrings parameter attribute;
  • added backed enumeration support to Collection.

Yii HTML 3.6

Aug 23, 2024

Version 3.6 of Yii HTML package is released. There are some improvements and fixes:

  • Throw InvalidArgumentException in Html::renderAttribute() when attribute name is empty or contains forbidden symbols.
  • Add Stringable and array values support to textarea tag.
  • Add backed enumeration value support to CheckboxList and RadioList widgets.
  • Fix output of null value attributes in Html::renderTagAttributes().

Yii Auth JWT 2.1

Aug 20, 2024

Version 2.1 of Yii Auth JWT package has been released. Here are the list of changes included in the new version:

  • Replaced multiple web-token/* packages in dependencies with one - web-token/jwt-library, updated min version of PHP to 8.1.
  • Added support for psr/http-message for versions ^2.0.

Yii Hydrator 1.3

Aug 7, 2024

Version 1.3 of Yii Hydrator package has been released. Here are the list of improvements included in the new version:

  • Added support for collections via Collection PHP attribute;
  • Added hydrator dependency and withHydrator() method to ParameterAttributesHandler.
  • Added hydrator dependency and getHydrator() method to ParameterAttributeResolveContext.
  • Allowed hydration of non-initialized readonly properties.

Yii Network Utilities 1.1

Aug 6, 2024

Version 1.1 of Yii Network Utilities package is released. There are some improvements:

  • added IpRanges that represents a set of IP ranges that are either allowed or forbidden;
  • fixed error while converting IP address to bits representation in PHP 8.0+.

Yii Validator 2.0

Aug 2, 2024

Major version of Yii Validator were tagged.

  • Add the Each::PARAMETER_EACH_KEY validation context parameter that available during Each rule handling and containing the current key
  • Include attribute name in error messages when it's present
  • Add PHP attribute that sets property label for usage in error messages
  • Add InEnum rule

Read more

Yii 2.0.51

Jul 18, 2024

We are pleased to announce the release of Yii Framework version 2.0.51.

Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version.

This release fixes regressions in 2.0.50, compatibility of error handler with PHP 8.3 and a number of bugs.

Read more

Yii HTTP Runner 3.0

Jul 16, 2024

Major version of Yii HTTP Runner were tagged. In this version made several changes.

  • Added ability to change the size of the buffer to send the content of the message body.
  • Allowed to use any PSR logger, NullLogger by default.
  • Removed ServerRequestFactory.
  • Mark SapiEmitter as internal.

Read more

Yii Error Handler 3.3

Jul 11, 2024

Yii Error Handler package was updated with the following enhancements:

  • add copy cURL button, sort request headers, fix UI;
  • simplify error log;
  • show full argument by click;
  • remove @anonymous postfix;

Read more

Yii HTML 3.5

Jul 11, 2024

Version 3.5 of Yii HTML package is released. There are some improvements:

  • added class for tag hr and method Html::hr();
  • added support for multiple elements in aria-describedby attribute.

Yii Logging Library 2.1

Jul 3, 2024

Yii Logging Library package was updated with the following enhancements and new features:

  • added new static methods Logger::assertLevelIsValid(), Logger::assertLevelIsString() and Logger::assertLevelIsSupported();
  • added support of nested values in message templates' variables, e. g. {foo.bar};
  • added context providers;
  • added DateTime and DateTimeImmutable support as time in log context;

Read more

Yii Mailer Library 5.1

Jul 2, 2024

Minor version of Yii Mailer Library was tagged. There are some improvements and fixes:

  • allowed to set default "from" value in MessageFactory;
  • raised minimal PHP version to ^8.1;
  • raised required yiisoft/view version to ^10.0.

Yii View Renderer 7.1

Jul 1, 2024

Minor version of Yii View Renderer were tagged.

  • Raised required yiisoft/view version to ^10.0.

Yii View 10.0

Jun 28, 2024

Version 10.0 of Yii View package was released.

Changed logic of template file searching in ViewInterface::render():

  • the absolute path to the view file, e.g. "/path/to/view.php";
  • the name of the view starting with // to join the base path, e.g. "//site/index";
  • the name of the view starting with ./ to join the directory containing the view currently being rendered (i.e., this happens when rendering a view within another view), e.g. "./widget";
  • the name of the view without the starting // or ./ (e.g. "site/index"), so view file will be looked for under the view path of the context set via withContext() (if the context instance was not set withContext(), it will be looked for under the base path).

Removed ViewInterface::renderFile().

Changed exception from RuntimeException to LogicException when the view cannot be resolved in ViewInterface::render().

  • «
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (47)
  • 2025 (92)
  • 2024 (80)
  • 2023 (90)
  • 2022 (82)
  • 2021 (101)
  • 2020 (64)
  • 2019 (75)
  • 2018 (32)
  • 2017 (35)
  • 2016 (30)
  • 2015 (9)
  • 2014 (6)
  • 2013 (11)
  • 2012 (14)
  • 2011 (10)
  • 2010 (10)
  • 2009 (23)
  • 2008 (5)

Popular Tags

  • yii3 386
  • extensions 233
  • release 109
  • yii2 74
  • debug 30
  • view 28
  • html 25
  • auth client 23
  • bootstrap 21
  • redis 20
  • Yii 1.1
  • Guide
  • API
  • Wiki
  • Yii 2
  • Guide
  • API
  • Wiki
  • Yii3
  • Guide
  • API
  • Cookbook
  • Terms of service
  • License
  • Contact Us
  • Supported by
  • Your donations
  • JetBrains logo
  • © 2008 - 2026 Yii (Website Source Code)