Releases: hyprwm/hyprlock
v0.8.2
Another patch release with a few fixes :)
MRs
- clang-tidy: fix some errors by @Honkazel in #751
- core: correct $LAYOUT replacement by @PaideiaDilemma in #755
- core: avoid calling wl_display_read_events after poll returned due to EINTR by @PaideiaDilemma in #757
- core: use enqueueUnlock for unlocks via SIGUSR1 by @PaideiaDilemma in #756
Full Changelog: v0.8.1...v0.8.2
v0.8.1
A small patch release with a few fixes :)
MRs
- image: remove a left over raw pointer to COutput by @PaideiaDilemma in #735
- renderer: fix gradient copy size in renderBorder by @PaideiaDilemma in #742
- config: default to center for label halign and valign by @PaideiaDilemma in #748
Full Changelog: v0.8.0...v0.8.1
v0.8.0
A new release of the fan-favorite screen locker.
Breaking changes
- removed the loading bar (and thus also
general:disable_loading_bar
) input-field:fail_timeout
has been moved togeneral:fail_timeout
MRs
- config: make sure disabled animation don't need a valid speed or bezier by @PaideiaDilemma in #698
- core: more hyprutils smart pointer usage and safe references to widgets by @PaideiaDilemma in #686
- image: set resourceId in configure by @PaideiaDilemma in #701
- label: fix crashes when keymap is a nullptr after suspend by @PaideiaDilemma in #699
- core: print hyprlock version in the logs by @PaideiaDilemma in #703
- core: some guards for reconnecting monitors by @PaideiaDilemma in #704
- nix: mesa -> libgbm by @andresilva in #707
- core: move password buffer clearing to handleInput by @PaideiaDilemma in #708
- CMake: require wayland-protocols>=1.35 by @PaideiaDilemma in #713
- renderer: remove loading bar by @davc0n in #714
- assets: update example.conf by @davc0n in #709
- core: remove attemptRestoreOnDeath by @PaideiaDilemma in #720
- core: move fail_timeout from input-field to general by @PaideiaDilemma in #718
- input-field: decouple outer color and base for hidden input random colorsco… by @PaideiaDilemma in #727
- fingerprint: allow fprint to suspend and cancel verify for us by @BlueZeeKing in #722
- output: refuse to create session lock surfaces with size 0x0 by @PaideiaDilemma in #729
- fingerprint: update widgets after changing prompt by @BlueZeeKing in #730
- auth: use static for getValue by @PaideiaDilemma in #732
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Hyprlock 0.7.0 anyone?
Breaking Changes
Animations:
- Removed input-field:dots_fade_time. Now configured via animation=inputFieldDots,...
- Removed input-field:fail_transition. Now configured via animation=inputFieldColors,...
- Removed general:no_fade_in and general:no_fade_out. Now configured
- globally via animations:enabled or via animation=fadeIn,... and
- animation=fadeOut,...
For example:
- Turn off fade in and fade out:
animation=fade,0,0,default
- Turn off fade out only:
animation=fadeOut,0,0,default
- Turn off dots fading:
animation=inputFieldDots,0,0,default
See the updated wiki about hyprlock's animations.
Placeholders:
- Removed $PROMPT and $FPRINTFAIL
- Added $PAMPROMPT, $FPRINTPROMPT, and $FPRINTFAIL
Fixes
- core: clean up pointer logic
- core: bind to wl_seat v8
- core: add mallopt to modify trim threshold
MRs
- widgets: add TZ env var support for $TIME by @davc0n in #627
- Unbreak build on FreeBSD >= 13.4 by @jbeich in #630
- config: fix gradient rgb(a) parsing with spaces (for real this time) by @PaideiaDilemma in #628
- fingerprint: add a delay after an unrecognized fingerprint by @BlueZeeKing in #625
- output: fix setting transform by @PaideiaDilemma in #636
- core: introduce animation manager and animation config by @PaideiaDilemma in #631
- helpers: fix absolutePath relative with tilde by @davc0n in #640
- animations: fix overshoot beziers and cleanup animation config parsing by @PaideiaDilemma in #642
- example.conf. Add default animations by @izmyname in #643
- animation: allow adding vars during ::tick by @PaideiaDilemma in #644
- cmake: explicitly require GLES3 component by @pastalian in #645
- auth: fixup prompt and fail substitution by @PaideiaDilemma in #641
- animation: small gradient fail transition fixup by @PaideiaDilemma in #648
- core: move wayland event reading into the poll thread by @PaideiaDilemma in #655
- core: fix background screenshot on nvidia by @PaideiaDilemma in #656
- widgets: unbreak libc++ < 19 build by @jbeich in #659
- core: don't attempt to unlock when we are not locked yet by @PaideiaDilemma in #661
- core: move to hyprlang config value wrapper by @PaideiaDilemma in #667
- input-field: fix color updates for BORDERLESS swap_font_color false by @PaideiaDilemma in #669
- input-field: Fix crash when numlock is on and numlock_color is fallback by @nasirHo in #673
- input-field: improve dynamic width by @PaideiaDilemma in #647
- fingerprint: handle failed dbus connection by @PaideiaDilemma in #676
- clang-tidy and comp fixes by @Honkazel in #679
- nix/cmake: make it print the version hash by @PaideiaDilemma in #683
- core: don't rely on the locked event to create lock surfaces dynamically by @PaideiaDilemma in #687
- animations: linear bezier for gradient, warp behavior by @PaideiaDilemma in #689
- cmake: bump hyprutils version by @PaideiaDilemma in #693
New Contributors
- @BlueZeeKing made their first contribution in #625
- @izmyname made their first contribution in #643
- @pastalian made their first contribution in #645
- @nasirHo made their first contribution in #673
- @Honkazel made their first contribution in #679
Full Changelog: v0.6.1...v0.7.0
v0.6.2
This is a minor release with some patches backported from git.
Fixes backported
- widgets: add TZ env var support for $TIME (#627)
- core: add missing header for BSDs (#630)
- config: fix gradient rgb(a) parsing with spaces (#628)
- output: fix setting transform (#636)
- core: bind to wl_seat v8
- helpers: fix absolutePath relative with tilde (#640)
Full Changelog: v0.6.0...v0.6.2
v0.6.1
A minor update with some stuff.
Binary releases have been dropped, (cuz no point bad practice anyways) please build manually.
Notes for packagers
- new dep: hyprwayland-scanner>=0.4.4
Fixes
- core: cleanup pointer logic
MRs
- Reload backgrounds and not just images by @robin-carlier in #583
- Unbreak build with libc++ by @jbeich in #589
- misc: add git commit hash to --version when not on tag v${VERSION} by @PaideiaDilemma in #590
- core: fix parsing grad with decimal rgb(a) colors by @PaideiaDilemma in #595
- label: fix redrawing shadow on label updates by @PaideiaDilemma in #599
- misc: move to std::print by @PaideiaDilemma in #592
- auth: assert username by @PaideiaDilemma in #604
- input-field: use IWidget::formatString for placeholder_text and fail_text by @PaideiaDilemma in #603
- widgets: use absolutePath to get last_write_time and ignore when no reloadTime by @PaideiaDilemma in #615
- Better feedback from fingerprint auth and don't clear password field on retry (only on failure) by @rickyelopez in #613
- misc: print the correct commit hash by @PaideiaDilemma in #619
- widgets: algin rect outline radius with inner border radius by @PaideiaDilemma in #614
- Core: move to hyprwayland-scanner by @vaxerski in #624
- input-field: don't change outer color when numlock_color is not set by @PaideiaDilemma in #621
New Contributors
- @robin-carlier made their first contribution in #583
- @rickyelopez made their first contribution in #613
Full Changelog: v0.6.0...v0.6.1
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