Existing expiration settings have been deprecated but still work for the time being. Using the deprecated settings will emit a warning on application boot.
The reason being is that you can now set expiration settings per push type (Passwords, Files or Urls). These settings are now in their own namespaces. See Configuration.md for details.
In about 6 months I will remove these older settings entirely.
The list of deprecated settings are at the bottom of this release.
What’s Changed
- Updated Settings: Allow Setting Expiration per Push Type (#673) @pglombardo
- Latest language strings (#672) @pglombardo
⬆️ Dependencies updates
- ⬆️ Bump translation from 1.34 to 1.35 in /gemfiles/mysql (#670) @dependabot
- ⬆️ Bump translation from 1.34 to 1.35 (#662) @dependabot
- ⬆️ Bump mail from 2.8.0 to 2.8.0.1 in /gemfiles/mysql (#668) @dependabot
- ⬆️ Bump mail from 2.8.0 to 2.8.0.1 (#665) @dependabot
👥 List of contributors
@dependabot, @dependabot[bot] and @pglombardo
Deprecations
The list of deprecated settings are:
Settings.expire_after_days_default => Settings.pw.expire_after_days_default
Settings.expire_after_days_min => Settings.pw.expire_after_days_min
Settings.expire_after_days_max => Settings.pw.expire_after_days_max
Settings.expire_after_views_default => Settings.pw.expire_after_views_default
Settings.expire_after_views_min => Settings.pw.expire_after_views_min
Settings.expire_after_views_max => Settings.pw.expire_after_views_max
Settings.enable_retrieval_step => Settings.pw.enable_retrieval_step
Settings.retrieval_step_default => Settings.pw.retrieval_step_default
Settings.enable_deletable_pushes => Settings.pw.enable_deletable_pushes
Settings.deletable_pushes_default -> Settings.pw.deletable_pushes_default
Note that this includes the related environment variables such as
PWP__EXPIRE_AFTER_DAYS_DEFAULT => PWP__PW__EXPIRE_AFTER_DAYS_DEFAULT
etc...