Releases: codeigniter4/shield
Releases · codeigniter4/shield
v1.1.0
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
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
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
What's Changed
Fixed Bugs
- fix:
JWT::loggedIn()
does not removeBearer
prefix by @kenjis in #1040 - fix: LoginModel cannot use uuid for id column by @MrFrost-Nv27 in #1046
Translations
- lang: [nl] add Dutch translation by @NotCoffee418 in #1067
Refactoring
- test: improve tests execution time by @datamweb in #1041
- refactor: remove hard coded
'Y-m-d H:i:s'
by @kenjis in #1027
New Contributors
- @MrFrost-Nv27 made their first contribution in #1046
- @NotCoffee418 made their first contribution in #1067
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
Fixed Bugs
Translations
- lang: [cs] Add Czech Translation by @MichalSkoula in #1015
New Contributors
- @MichalSkoula made their first contribution in #1015
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Important!
- This has breaking changes. See Upgrade Guide.
What's Changed
Breaking Changes
Enhancements
- Allow specifying namespace when generating routes. by @lonnieezell in #985
Translations
Refactoring
Full Changelog: v1.0.0-beta.8...v1.0.0
v1.0.0-beta.8
Important!
- This has breaking changes. See Upgrade Guide.
What's Changed
SECURITY
- Insertion of Sensitive Information into Log
- Cleartext Storage of Sensitive Information in HMAC SHA256 Authentication
Breaking Changes
- refactor: remove Composer autoloading of auth helper by @kenjis in #893
- feat: add redirect denied for filter by @datamweb in #790
- perf: refactor Auth by @kenjis in #908
Fixed Bugs
Translations
- lang: [id] add translation by @kikuKeii in #913
- lang: [uk] Adjust translations for uk/Auth.php by @ivanBell199 in #935
- lang: [ru] add Russian language by @ivanBell199 in #936
- lang: [uk] Update Auth.php by @vasylzavalko in #953
- lang: [tr]&[uk] fix Invalid param in
errorPasswordPwned
by @datamweb in #954
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
- @samsonasik made their first contribution in #891
- @kikuKeii made their first contribution in #913
- @ivanBell199 made their first contribution in #935
- @vasylzavalko made their first contribution in #953
Full Changelog: v1.0.0-beta.7...v1.0.0-beta.8
v1.0.0-beta.7
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
- feat: add 'DBGroup' for customization db group by @arashsaffari in #744
- feat: HMAC SHA256 Authentication by @tswagger in #795
- feat: add CLI command to manage users by @kenjis in #833
Enhancements
- feat: add login link to magic link form view by @GeorgKott in #730
- feat: Add InnoDB engine to migration create table methods by @kpeu3u in #745
- fix: add support for all request types when building a user from request. by @sammyskills in #747
- feat: add support for multiple permissions check for users by @sammyskills in #791
- feat: redirect after login to entrance url by @mshannaq in #793
- feat: improve user experience in forms by @sammyskills in #801
- feat: added
revokeAccessTokenBySecret()
by @WaaaghNL in #858 - fix: Change the visibility of validation properties for easier inheritance by @sammyskills in #868
- feat:
shield:setup
does Email setup by @kenjis in #876 - docs: reorganize (part 1) by @kenjis in #839
- docs: reorganize (part 2) by @kenjis in #841
- docs: reorganize (part 3/3) by @kenjis in #847
- mkdocs: improve dark mode by @datamweb in #859
- mkdocs: Improve site part2 by @datamweb in #860
- better website for docs by @datamweb in #855
Translations
- lang: [tr] - added translations by @emreozkartal in #718
- lang: [bg] Add translation for Bulgarian language by @kpeu3u in #719
- lang: [lt] add Lithuanian localization by @dgvirtual in #724
- lang: [id] add indonesian translation by @asnanmtakim in #760
- lang: [ar] Arabic translate by @mshannaq in #780
- lang: [sk] translate missing slovak sentences by @jozefrebjak in #784
- lang: [ar] translating missed by @mshannaq in #785
- lang: [ar] update arabic translate by @mshannaq in #810
- lang: [ar] fix issue #851 by @mshannaq in #854
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
- @emreozkartal made their first contribution in #718
- @dgvirtual made their first contribution in #724
- @bgeneto made their first contribution in #728
- @GeorgKott made their first contribution in #723
- @arashsaffari made their first contribution in #744
- @JamesShaver made their first contribution in #755
- @asnanmtakim made their first contribution in #760
- @mshannaq made their first contribution in #780
- @tswagger made their first contribution in #795
- @WaaaghNL made their first contribution in #858
Full Changelog: v1.0.0-beta.6...v1.0.0-beta.7
v1.0.0-beta.6
What's Changed
Fixed Bugs
New Features
Enhancements
- fix: only validate data from POST request body by @miguel-rn in #695
Translations
- lang: [pt] add portuguese language by @mpmont in #689
- lang: [es] Revision and Update translated to Spanish(Spain) language by @celiomarcos in #693
- lang: [pt-BR] Add translation for JWT by @robsonpiere in #707
- lang: [ja] update translations by @kenjis in #709
- lang: [uk] add ukrainian translation by @datamweb in #713
New Contributors
- @mpmont made their first contribution in #689
- @celiomarcos made their first contribution in #693
- @miguel-rn made their first contribution in #695
- @robsonpiere made their first contribution in #707
Full Changelog: v1.0.0-beta.5...v1.0.0-beta.6
v1.0.0-beta.5
What's Changed
Fixed Bugs
- fix: add
parent::initialize()
to customized UserModel for access the table name by @datamweb in #670
Enhancements
Translations
- lang: translate
errorPasswordTooLongBytes
forfa
by @datamweb in #663 - lang: translate errorPasswordTooLongBytes for ja by @kenjis in #664
- lang: update sk translation by @jozefrebjak in #665
- Added Swedish translations by @tangix in #666
- lang: translate new strings for de by @sba in #671
- lang: translate pt-BR strings by @onovaes in #673
- [sr] Serbian Language translation by @nebojsajsimic in #676
- Update French translation by @paul45 in #677
New Contributors
- @tangix made their first contribution in #666
- @onovaes made their first contribution in #673
- @nebojsajsimic made their first contribution in #676
Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5
v1.0.0-beta.4
What's Changed
SECURITY
Breaking Changes
- feat: User activation checks and utility functions. by @lonnieezell in #580
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
- Feat: Force password reset by @sammyskills in #601
- Feature: Banning Users by @davidnsai in #650
Enhancements
- feat: add request info to all emails by @jozefrebjak in #431
- Italian Translation by @virdb in #530
- feat: add Turkish lang file by @mcsaygili in #549
- Add filter permission and group by @lonnieezell in #535
- dev: Allow easier overriding of views in developer applications. by @lonnieezell in #565
- feat: add
shield:model
command by @paulbalandan in #558 - Fix: Unnamed Auth routes returns an error when inside a route group by @sammyskills in #577
- feat: customize name of Shield Tables w/o constant by @kenjis in #633
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 actionEmail2FA
by @datamweb in #625 - refactor: change return type to void by @kenjis in #626
New Contributors
- @michalsn made their first contribution in #514
- @activivan made their first contribution in #513
- @virdb made their first contribution in #530
- @mcsaygili made their first contribution in #549
- @kpeu3u made their first contribution in #520
- @cornejobarraza made their first contribution in #576
- @caosdp-rs made their first contribution in #618
- @totoprayogo1916 made their first contribution in #623
- @cijagani made their first contribution in #657
Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4