Skip to content

Releases: codeigniter4/shield

v1.2.0

14 Jul 10:28
2d1b217
Compare
Choose a tag to compare

What's Changed

Fixed Bugs

  • fix: escape string to prevent XSS attack by @warcooft in #1148
  • fix: add missing args to lang('Auth.invalidEmail') by @kenjis in #1159
  • fix: chain filter does not update last_active by @kenjis in #1160
  • fix: Shield ignores AuthToken::$authenticatorHeader config by @alxjzx100 in #1169
  • fix: cannot override emailer() function by @FrancoisChaumont in #1174
  • fix: shield:user create does not assign a default group by @kenjis in #1162
  • fix: add missing validation for group name to shield:user addgroup/removegroup by @kenjis in #1176
  • fix: confusing lang message invalidEmail by @kenjis in #1175
  • fix: CSP error in debugbar by @emaceda in #1242

Enhancements

  • feat: Updated email templates with user information by @pmagictech in #1125
  • feat: [Magic Link Login] add placeholder to invalidEmail to return user email. by @warcooft in #1145
  • feat: add -g option to shield:user create by @kenjis in #1164
  • feat: add UserModel::createNewUser() and RegisterController uses it by @kenjis in #1196
  • feat: Add expiration date to access token & hmac keys by @CosDiabos in #1219
  • feat: Add user relations loading methods for groups and permissions by @michalsn in #1257

Translations

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

13 Jun 08:56
22a8b3b
Compare
Choose a tag to compare

What's Changed

Fixed Bugs

  • fix: setup command cannot update Config\Autoload::$helpers with multiple lines by @kenjis in #1110
  • fix: change hardcoded user entity with declared return type by @MrFrost-Nv27 in #1105

Enhancements

  • feat: Change session manipulation methods from private to protected by @michalsn in #1113

Translations

  • lang: [de] Added missing translations in Auth.php by @sba in #1106
  • lang: [pl] add Polish translation by @mieszkou in #1117

New Contributors

Full Changelog: v1.0.3...v1.1.0

v1.0.3

14 Apr 09:00
3fbac7a
Compare
Choose a tag to compare

What's Changed

Fixed Bugs

  • fix: Can't create new users via CLI if username is disabled by @kenjis in #1078
  • fix: Call to a member function getErrors() on null in CheckQueryReturnTrait by @kenjis in #1088
  • fix: passing Time to Query Builder in UserModel by @kenjis in #1095

Refactoring

Full Changelog: v1.0.2...v1.0.3

v1.0.2

17 Mar 04:02
0b1cab5
Compare
Choose a tag to compare

What's Changed

Fixed Bugs

Translations

Refactoring

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

15 Feb 04:05
d97aa5f
Compare
Choose a tag to compare

What's Changed

Fixed Bugs

  • fix: Shield may not send correct HTML mail by @kenjis in #1020

Translations

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

27 Dec 06:59
7be6b60
Compare
Choose a tag to compare

Important!

What's Changed

Breaking Changes

  • refactor: remove supportOldDangerousPassword by @kenjis in #976

Enhancements

Translations

  • lang: [bg] Adjust translations for bg/Auth.php by @kpeu3u in #973

Refactoring

  • refactor: remove unneeded deleted_at in $allowedFields by @kenjis in #963

Full Changelog: v1.0.0-beta.8...v1.0.0

v1.0.0-beta.8

23 Nov 00:03
434e5a0
Compare
Choose a tag to compare
v1.0.0-beta.8 Pre-release
Pre-release

Important!

What's Changed

SECURITY

Breaking Changes

Fixed Bugs

Translations

Refactoring

  • [Rector] Apply StringifyStrNeedlesRector by @samsonasik in #891
  • refactor: replace /> with > for input tags by @kenjis in #894
  • test: update Config\Registrar by @kenjis in #901
  • refactor: update default value $hashCost to 12 by @datamweb in #916
  • test: refactor SessionFilterTest by rector 0.18.6 by @datamweb in #927

New Contributors

Full Changelog: v1.0.0-beta.7...v1.0.0-beta.8

v1.0.0-beta.7

09 Oct 05:51
5e4ebad
Compare
Choose a tag to compare
v1.0.0-beta.7 Pre-release
Pre-release

Important!

  • This version requires CodeIgniter 4.3.5 or later.
  • And it has breaking changes. See Upgrade Guide.

What's Changed

Breaking Changes

Fixed Bugs

  • fix: nothing personal validator error with bad email value by @GeorgKott in #723
  • fix: simplify extraction of email parts by @paulbalandan in #742
  • fix: Magic Link Login can be used even if $allowMagicLinkLogins is false by @datamweb in #778
  • fix: use short classname for config() by @kenjis in #796
  • fix: UserModel::assignIdentities() always produces a DB query by @michalsn in #806
  • fix: unauthorized users for groups and permissions are not redirected to the previous url by @sammyskills in #799
  • fix: property $table visibility in RegisterController by @kenjis in #825
  • fix: cannot register when you remove email from $validFields by @kenjis in #829
  • fix: [HMAC Auth] wrong header key by @kenjis in #844
  • fix: AccessTokens authenticator records all accesses to database by @kenjis in #843
  • fix: remove strong_password from shield:user validation rules by @kenjis in #853
  • fix: redirect inactive account to auth action page by @sammyskills in #869
  • fix: use named routes for redirects and form submission by @sammyskills in #883

New Features

Enhancements

Translations

Refactoring

  • fix: typo in getMaxLengthRule() method name by @bgeneto in #728
  • refactor: use ::class keyword in config() by @kenjis in #748
  • refactor: validation rules by @kenjis in #861
  • refactor: remove Composer autoloading of email helper by @kenjis in #872
  • refactor: update minimum CI4 version to 4.3.5 by @kenjis in #871
  • refactor: remove outdated code for CI 4.2 or before by @kenjis in #877

New Contributors

Full Changelog: v1.0.0-beta.6...v1.0.0-beta.7

v1.0.0-beta.6

26 Apr 08:33
b5fbc78
Compare
Choose a tag to compare
v1.0.0-beta.6 Pre-release
Pre-release

What's Changed

Fixed Bugs

  • fix: incorrect base class for exceptions by @kenjis in #703

New Features

Enhancements

  • fix: only validate data from POST request body by @miguel-rn in #695

Translations

New Contributors

Full Changelog: v1.0.0-beta.5...v1.0.0-beta.6

v1.0.0-beta.5

18 Mar 08:53
062d66b
Compare
Choose a tag to compare
v1.0.0-beta.5 Pre-release
Pre-release

What's Changed

Fixed Bugs

  • fix: add parent::initialize() to customized UserModel for access the table name by @datamweb in #670

Enhancements

  • feat: add shield version for Increase improvement by @datamweb in #675

Translations

New Contributors

Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5