Releases: codeigniter4/shield
Releases · codeigniter4/shield
v1.2.0
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 updatelast_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()
andRegisterController
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
- lang: [de] Update Auth.php - add missing translation by @sba in #1152
- lang: [fa] update error message for email verification failure by @datamweb in #1157
- lang: [ja] translate updated
invalidEmail
by @kenjis in #1158 - lang: [tr] Language additions by @YusufDurmaz in #1218
- lang: [nl] fix incorrect translation by @christianberkman in #1231
- lang: [pt-BR] translation completed by @xgrind in #1265
New Contributors
- @pmagictech made their first contribution in #1125
- @obozdag made their first contribution in #1138
- @warcooft made their first contribution in #1148
- @alxjzx100 made their first contribution in #1169
- @FrancoisChaumont made their first contribution in #1174
- @christianberkman made their first contribution in #1178
- @grimpirate made their first contribution in #1185
- @YusufDurmaz made their first contribution in #1216
- @amiraiman made their first contribution in #1223
- @emaceda made their first contribution in #1242
- @CosDiabos made their first contribution in #1219
- @xgrind made their first contribution in #1265
Full Changelog: v1.1.0...v1.2.0
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