Releases: hyprwm/hyprlock
v0.6.0
Another 2 months of fixes and new features. :)
Notes for packagers
- new dep: hyprgraphics
Breaking Changes
- general:pam_module -> auth:pam:module
- general:enable_fingerprint -> auth:fingerprint:enabled
- general:fingerprint_ready_message -> auth:fingerprint:ready_message
- general:fingerprint_present_message -> auth:fingerprint:present_message
Fixes
- widget: fixed time for TIME12 at 12AM/PM.
MRs
- config: make the default widget position be 0,0 by @PaideiaDilemma in #529
- input-field: fix invert_numlock regression by @PaideiaDilemma in #530
- widgets: check current_zone pointer by @PaideiaDilemma in #527
- widgets: remove debug remnants from #527 by @PaideiaDilemma in #532
- misc: make Debug::log flush stdout by @PaideiaDilemma in #542
- auth: make fingerprint initialization async by @moggiesir in #544
- widgets: add support for specifing size and position options via percentages of output dimensions by @PaideiaDilemma in #541
- core: add border shader and border gradients by @PaideiaDilemma in #548
- core: add support for composed keys by @PaideiaDilemma in #551
- widgets: render frambuffers with alpha 1.0 by @PaideiaDilemma in #554
- config: make configStringToInt support rgb(a) with decimal values by @PaideiaDilemma in #558
- input-field: fix colorConfig caps, num and both when they are empty by @PaideiaDilemma in #559
- config: use removeEmpty for the gradient varlist by @PaideiaDilemma in #565
- Core: move to hyprgraphics by @vaxerski in #570
- renderer: round boxes by @PaideiaDilemma in #571
- core: move to Hyprutils::OS::CProcess for spawning processes by @PaideiaDilemma in #575
- input-field: fix width animations by @PaideiaDilemma in #582
- auth: add an interface for different authentication methods by @PaideiaDilemma in #578
- nix/overlays: gcc13 -> gcc14; flake.lock: update by @khaneliman in #584
- core: terminate auth after recieving
finished
by @PaideiaDilemma in #586
Full Changelog: v0.5.0...v0.6.0
v0.5.0
New large update, tons of stuff :D
Notes for packagers
- new dep: sdbus-cpp>=2.0.0
Fixes/New stuff
- core: added
--version
MRs
- misc: add issue templates by @PaideiaDilemma in #440
- widgets: move asset updates out of the draw function by @PaideiaDilemma in #442
- core: refactor command line options parse (minor) by @davc0n in #441
- auth: use pam_faillock log as $FAIL by @PaideiaDilemma in #447
- renderer: add
--no-fade-in
by @alba4k in #453 - fix alignment in help message by @alba4k in #455
- core: add fractional_scaling option by @PaideiaDilemma in #456
- lockSurface: fix dynamic output mode and scale updates by @PaideiaDilemma in #462
- fix crash caused by exiting without joining running thread by @yangyingchao in #464
- input-field: refactor updateColors and other improvements by @PaideiaDilemma in #469
- core: support desc: prefix for widget monitor options by @PaideiaDilemma in #470
- fix symlinked images not picking up extension by @dqrk0jeste in #473
- nix: add wayland-scanner native build input by @andresilva in #475
- asyncResourceGatherer: do not detach worker threads by @yangyingchao in #477
- asyncResourceGatherer: stop worker threads when application is going to exit by @yangyingchao in #481
- core: set capslock and numlock states on startup by @PaideiaDilemma in #496
- widgets: add 12h time format by @davc0n in #500
- core: make attemptRestoreOnDeath faster and hyprland exclusive by @PaideiaDilemma in #506
- config: add input-field dots_fade_time option by @The-Emperor10 in #508
- misc: use hyprutils for string replaceAll by @PaideiaDilemma in #512
- input-field: add dots_text_format to support setting arbitrary chars as the input indicator by @PaideiaDilemma in #510
- misc: use Vector2D, Box and Mat3x3 from hyprutils by @PaideiaDilemma in #515
- renderer: log framebuffer creation as trace by @andresilva in #518
- auth: Support parallel fingerprint auth by @moggiesir in #514
New Contributors
- @yangyingchao made their first contribution in #464
- @dqrk0jeste made their first contribution in #473
- @The-Emperor10 made their first contribution in #508
- @moggiesir made their first contribution in #514
Full Changelog: v0.4.1...v0.5.0
v0.4.1
A small update to fix slow behavior with hyprland-git, and a few fixes.
MRs
- hyprlock: ensure members are accessed direct by @gulafaran in #404
- "LockSurface: Some bug fixing" by @JassonCordones in #405
- core: add option to render solid background immediatly when bg assets are not ready by @PaideiaDilemma in #407
- core: handle missing wayland protocol support by @PaideiaDilemma in #408
- readme: add official repo package to arch install by @davc0n in #411
- [Draft] auth: don't start pam conversation before the initial input happens by @PaideiaDilemma in #409
- Label exception handling + Frambuffer checks + headers by @JassonCordones in #413
- config: add input-field fail_timeout option by @davc0n in #406
- asyncResourceGatherer: trace logs and exit behaviour by @PaideiaDilemma in #414
- core: handle ext_session_lock_v1::finished as defined by the protocol by @PaideiaDilemma in #418
- core: immediately create session lock surfaces by @PaideiaDilemma in #421
- Config: use hyprutils helper by @fufexan in #422
- core: grace unlock improvements and auth fixes for grace/SIGUSR1 unlocks by @PaideiaDilemma in #424
- core: make sure m_sLockState.lock is present in onLockFinished and releaseSessionLock by @PaideiaDilemma in #432
- asyncResourceGatherer: deduplicate image rendering code by @PaideiaDilemma in #433
Full Changelog: v0.4.0...v0.4.1
v0.4.0
A sizeable update with tons of community contributions :)
Notes for packagers
- new dep: hyprutils
Fixes
- image: fix build with libc++
- core: update renderer on late scale changes
- core: avoid sending duplicate acks for surface
- session-lock: use logicalSize in lateConfigure
- restore: move to runtime dir and check his
- core: move to hyprutils for utils
What's Changed
- core: avoid double unlocks with no_fade_out by @PaideiaDilemma in #257
- input-field: fade in when checkWaiting is true by @PaideiaDilemma in #265
- core: use --immediate for attemptRestoreOnDeath by @PaideiaDilemma in #270
- widgets: add Shape + minor image improve by @bvr-yr in #266
- auth: implement a full pam conversation by @PaideiaDilemma in #205
- input-field: increase default fade_timeout by @PaideiaDilemma in #276
- label: add
text_align
option for multi-line text by @bvr-yr in #278 - fix initialization issues in LockSurface by @andresilva in #285
- Add support for JPEG and WEBP background images by @mensinda in #286
- readme: add new line for clarity by @Vagahbond in #302
- add libmagic dependency to README by @acheong08 in #307
- renderer: add text trim with option to disable by @davc0n in #310
- gatherer: use absolute path in magic guess by @bvr-yr in #321
- Fixed getconf command in build instructions by @pebble-24 in #326
- core: add key repeat for backspace and make del clear the input by @PaideiaDilemma in #277
- add zindex option to widgets by @shezdy in #334
- cmake: macro-prefix-map, compile_commands.json by @rtgiskard in #338
- few reported leaks by asan by @gulafaran in #349
- handle null timers in destructors by @andresilva in #350
- readme: Add Arch instructions by @gual in #352
- core: move to hyprutils for utils by @vaxerski in #362
- fix second instance of hyprlock unlocking session by @thecodinglab in #376
- Inproved error handling and arg parsing by @JassonCordones in #380
- core: stabilize label updates and revision locking in the asyncResourceGatherer by @PaideiaDilemma in #384
- core: fix sourcing config files by @PaideiaDilemma in #387
- core: improve dynamic output handling by @PaideiaDilemma in #386
- asyncResourceGatherer: add dma frames before starting the asyncLoopThread by @PaideiaDilemma in #394
- Remove dupe input-field rounding from listKeysForSpecialCategory by @davc0n in #395
- label: do not error when using cmd[] for a static label cmd by @PaideiaDilemma in #396
- config: don't crash when getenv HOME returns null by @PaideiaDilemma in #398
- auth: pam fallback log message and always call pam_end after pam_authenticate by @PaideiaDilemma in #399
- helpers: fix jpeg and webp OOM error by @daywalker-dev in #401
New Contributors
- @andresilva made their first contribution in #285
- @mensinda made their first contribution in #286
- @Vagahbond made their first contribution in #302
- @acheong08 made their first contribution in #307
- @davc0n made their first contribution in #310
- @pebble-24 made their first contribution in #326
- @shezdy made their first contribution in #334
- @rtgiskard made their first contribution in #338
- @gulafaran made their first contribution in #349
- @gual made their first contribution in #352
- @thecodinglab made their first contribution in #376
- @JassonCordones made their first contribution in #380
- @daywalker-dev made their first contribution in #401
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Chonker update with tons of community work to bring 0.3.0! Thank you to all the contributors :)
MRs
- asyncResourceGatherer: skip processing screenshot paths and remove initThread by @PaideiaDilemma in #189
- label: add
$FAIL
and$ATTEMPTS
by @bvr-yr in #186 - core: mmap keymap buffer with MAP_PRIVATE by @PaideiaDilemma in #190
- renderer, Nix/HM module: add fade out animation and property to disable by @Sasikuttan2163 in #188
- input-field: fix missing
fail_text
whenplaceholder_text
is empty by @Sasikuttan2163 in #192 - core: fix libc++ compatibility by @PaideiaDilemma in #195
- core: fade out improvements by @PaideiaDilemma in #194
- widgets: add Image by @bvr-yr in #191
- input-field: various fixes by @bvr-yr in #198
- Add missing destructors causing segfaults by @stazio in #199
- config: add -c, --config commandline options by @bvr-yr in #202
- input-field: new color features by @bvr-yr in #201
- input-field: only render the current output on fade out callback by @PaideiaDilemma in #206
- Use getpwuid(getuid()) instead of getlogin() by @kcirick in #204
- label: add
$LAYOUT
variable by @bvr-yr in #211 - Nix/HM module: empty defaults for images and labels by @PaideiaDilemma in #217
- config: add option to ignore empty input by @YoussefAswad in #218
- config: allow mon description for
monitor
value by @bvr-yr in #216 - README: fix a typo by @mrunix00 in #227
- Make Ctrl+u clear password input by @noahgitsham in #226
- label: destroy texture by @PaideiaDilemma in #230
- Nix/HM module: add sources and extraConfig by @fufexan in #232
- Nix/HM module: add ignore_empty_input option by @PaideiaDilemma in #236
- widgets: add
rotate
option to label and image by @bvr-yr in #234 - Nix/HM module: fix rotate options by @bvr-yr in #245
- widgets: add user description variable by @mrivnak in #248
- nix/hm-module: add shadowable to images by @khaneliman in #251
- image: add reload options by @bvr-yr in #247
New Contributors
- @Sasikuttan2163 made their first contribution in #188
- @stazio made their first contribution in #199
- @kcirick made their first contribution in #204
- @YoussefAswad made their first contribution in #218
- @mrunix00 made their first contribution in #227
- @noahgitsham made their first contribution in #226
- @fufexan made their first contribution in #232
- @mrivnak made their first contribution in #248
Full Changelog: v0.2.0...v0.3.0
v0.2.0
A pretty sizeable update featuring numerous fixes and new features from a ton of volunteers - thanks!!
New stuff
- Added shadows
- Added a few options to input-field: rounding, more colors, customizable error messages
- Added a few new variables
- Added an option to force refresh labels on SIGUSR2
- Probably more I forgot
Fixes
- Fixed repeating key events
- Fixed missing locks on new monitor connect
- Fixed a few edge cases on exit
- Lock will now attempt restarting if it crashes
- Fixed pam stuff - will now use
hyprlock
andsu
only as fallback
MRs
- render: remove alpha check for input-field by @bvr-yr in #90
- core: use raw key values for tracking keypresses by @EastArctica in #92
- core: add help message by @LOSEARDES77 in #88
- Show autentication failReason without additional input by @PaideiaDilemma in #98
- grace: ignore key up and fix typo by @PaideiaDilemma in #113
- Revert "core: dispatch on exit instead of roundtrip" by @PaideiaDilemma in #114
- Adding a pam configuration file by @alba4k in #115
- Fix unlock sync by @PaideiaDilemma in #119
- hidden-input-field: add seed for random colors in hidden input field outline by @p4rfait in #125
- Test if user is submiting empty string for password by @BranchManager in #126
- Add rounding option to input field by @matteo4375 in #127
- input-field: add dots rounding option by @bvr-yr in #130
- Support background paths relative to the home directory by @PaideiaDilemma in #96
- Fix nix home manager module by @matteo4375 in #132
- Input fade out timeout #3 by @PaideiaDilemma in #142
- Allow and fix empty passwords by @PaideiaDilemma in #140
- core: add commandline switch to lock immediately by @0xC0ncord in #145
- label: higher precision resource ids by @PaideiaDilemma in #148
- label: fix rendering with multiple timers that fire at the same time by @PaideiaDilemma in #147
- Fix label update by @PaideiaDilemma in #152
- core: terminate the poll thread by @PaideiaDilemma in #150
- Nix/HM module: add shadow options by @Jappie3 in #141
- input-field: fail display improvments by @bvr-yr in #154
- background: handle missing assets by @PaideiaDilemma in #158
- Handle slow pam verification by @abihf in #157
- input-field: display utf-8 codepoint length by @PaideiaDilemma in #164
- misc: path handling improvements by @PaideiaDilemma in #163
- core: force update labels on
SIGUSR2
by @bvr-yr in #169 - input-field:
check_color
+ some fixes by @bvr-yr in #172 - README: improve docs for dependencies by @arijit79 in #161
- input-field: fix alignment on multi-monitors by @bvr-yr in #175
- Nix/HM module: remove shadow options from backgrounds by @PaideiaDilemma in #165
- input-field: add capslock and numlock options by @bvr-yr in #182
New Contributors
- @EastArctica made their first contribution in #92
- @PaideiaDilemma made their first contribution in #98
- @p4rfait made their first contribution in #125
- @BranchManager made their first contribution in #126
- @matteo4375 made their first contribution in #127
- @0xC0ncord made their first contribution in #145
- @Jappie3 made their first contribution in #141
- @abihf made their first contribution in #157
- @arijit79 made their first contribution in #161
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Initial release of hyprlock
Thanks to all contributors for being so active in your help from the beginning :)
MRs
- input-field: add font color config option by @LOSEARDES77 in #11
- Use local time for $TIME variable by @CIAvash in #17
- nix: fix hm module by @jacekpoz in #21
- nix: add color option to backgrounds in the hm module by @jacekpoz in #22
- nix: add package to home.packages in hm module by @jacekpoz in #23
- input-field: allow configure dots size by @bvr-yr in #24
- Nix: add hide_input to hm module + correctly convert bools to strings by @leon-erd in #25
- Add support for 90/270 degree rotated monitors by @mauricekraus in #26
- Clear password buffer with escape key by @CIAvash in #37
- Nix: HM module: add dots options + convert input fields and labels to type = listOf submodule by @leon-erd in #40
- Nvidia and stuff fixes by @vaxerski in #44
- nix: add dots_center by @khaneliman in #49
- nix: add general:grace by @khaneliman in #50
- config: add source parsing by @mauricekraus in #28
- add libdrm dependency in README by @alba4k in #57
- Nix: add blur settings and no_fade_in by @retchohrips in #61
- Unbreak build on FreeBSD by @jbeich in #71
- Unbreak build with libc++ by @jbeich in #73
- fix libc++ compatibility v2 by @MrDuartePT in #75
- renderer: restrict maximum dot amount w.r.t to input width by @mauricekraus in #56
- Allow send SIGUSR1 to unlock by @singer233 in #82
- input-field: dots improvements by @bvr-yr in #84
New Contributors
- @LOSEARDES77 made their first contribution in #11
- @CIAvash made their first contribution in #17
- @jacekpoz made their first contribution in #21
- @bvr-yr made their first contribution in #24
- @leon-erd made their first contribution in #25
- @mauricekraus made their first contribution in #26
- @vaxerski made their first contribution in #44
- @khaneliman made their first contribution in #49
- @alba4k made their first contribution in #57
- @retchohrips made their first contribution in #61
- @jbeich made their first contribution in #71
- @MrDuartePT made their first contribution in #75
- @singer233 made their first contribution in #82
Full Changelog: https://github.com/hyprwm/hyprlock/commits/v0.1.0