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.6

Mar 14, 2025

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

  • added nested mapping support via new ObjectMap class;
  • changed PHP constraint in composer.json to 8.1 - 8.4;
  • improved psalm annotation in HydratorInterface::create() method.

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 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 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 Hydrator 1.2

Apr 3, 2024

Minor version of Yii Hydrator package is released.

  • Added ToDateTime parameter attribute.
  • Added Trim, LeftTrim and RightTrim parameter attributes.
  • Raised the minimum version of PHP to 8.1.

Yii Validating Hydrator 2.0

Mar 6, 2024

Major release of yiisoft/hydrator-validator was tagged.

  • Throws LogicException on call ValidatedInputInterface::getValidatedInput() method when object is not validated.

Yii Hydrator 1.1

Feb 9, 2024

Minor version of Yii Hydrator package is released.

  • Added NullTypeCaster.

Yii Validating Hydrator 1.0

Feb 2, 2024

First stable release of yiisoft/hydrator-validator was tagged.

The package provides a hydrator that also does validation, including raw data. It's useful when input data comes from a user, and you need to validate it and then put it into DTOs.

To use it, the object being validated must implement ValidatedInputInterface. You can use ValidatedInputTrait to easily create such object. The validation rules for raw values of the object are defined with Validate PHP attribute.

Read more

Hydrator 1.0.0

Jan 29, 2024

First stable release of yiisoft/hydrator was tagged.

The package provides a way to create and hydrate objects from a set of raw data. Features are:

  • supports properties of any visibility;
  • uses constructor arguments to create objects;
  • resolves dependencies when creating objects using PSR-11 compatible DI container provided;
  • supports nested objects;

Read more

Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (48)
  • 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 387
  • 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)