Skip to content

Releases: wieni/wmmodel

2.2.2

29 Nov 12:58
b1b1791
Compare
Choose a tag to compare

Tip

Please migrate to drupal/entity_model.
See the upgrade guide for help.

What's Changed

Full Changelog: 2.2.1...2.2.2

2.2.1

14 Jun 11:44
df26b0d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.2.1

2.0.0

20 Jan 15:35
4d914eb
Compare
Choose a tag to compare

This release is compatible with Drupal 9.3.

We no longer need a patch 🎉

1.3.2

27 Oct 21:16
5c01f69
Compare
Choose a tag to compare

Return datetime in correct timezone.

1.1.1

04 Mar 04:58
Compare
Choose a tag to compare
Argument resolve snake_case

0.3.7

04 Mar 04:48
Compare
Choose a tag to compare
Argument resolve snake_case

0.3.3

17 Apr 10:56
023aa0f
Compare
Choose a tag to compare
Update Drush8Io.php

0.3.1

05 Mar 15:20
ddf8686
Compare
Choose a tag to compare

Before falling back to the default value we check if it's a model first.

// controller.php
public function show(Foobar $foo = null) {
   var_dump(is_null($foo));
}

Before:

GET /show : true
GET /show/5 : true 😓

Now:

GET /show : true
GET /show/5 : false 🎉

0.3.0

13 Feb 17:20
Compare
Choose a tag to compare
Use state instead of cache

A cache clear during deployment made sites crash while deploying.
Using State should prevent this.

0.2.7

10 Aug 08:33
Compare
Choose a tag to compare
Merge pull request #6 from wieni/feature/account-proxy-getaccount

AccountProxy->getAccount() now returns a fully loaded user model