Skip to content

Releases: codeigniter4/shield

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

v1.0.0-beta.4

11 Mar 05:27
ea9688d
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release

What's Changed

SECURITY

Breaking Changes

Fixed Bugs

  • fix: remove username in $validFields by default by @kenjis in #498
  • fix: UserModel cannot save an array by @kenjis in #504
  • fix: TypeError when checking invalid permission by @kenjis in #510
  • fix: set only validated fields to User Entity in RegisterController by @kenjis in #501
  • fix: Error exception occurs when user with pending activation tries magic-link login by @kenjis in #503
  • fix: withIdentities() when user not exists by @michalsn in #514
  • fix: minimum password length check by @kenjis in #527
  • fix: findByCredentials() returns User when email is empty string by @kenjis in #548
  • bug: Call to a member function inGroup() on null after logging out by @cornejobarraza in #576
  • fix: update shield:setup for correct run in CI4.3.0+ by @datamweb in #594
  • Fix: groups and permissions filter redirects by @sammyskills in #589
  • fix: group entity can method by @jozefrebjak in #649
  • fix: Custom login fields should work for logging in. by @lonnieezell in #629

New Features

Enhancements

Refactoring

  • refactor: use ::class constants by @kenjis in #540
  • refactor: updateActiveDate query builder by @kpeu3u in #520
  • refactor: remove unused Auth::class by @datamweb in #588
  • refactor: remove namespace from language files by @datamweb in #619
  • refactor: replace deprecated Faker property access by @kenjis in #620
  • test: fix ForcePasswordResetTest::forceGlobalPasswordReset() by @kenjis in #621
  • refactor: UserIdentityModel::update() throws Exception by @kenjis in #622
  • refactor: use getIdentity() for improve action Email2FA by @datamweb in #625
  • refactor: change return type to void by @kenjis in #626

New Contributors

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