Releases: hyprwm/hyprlang
v0.5.3
A small update with various fixes and improvements.
Notes for packagers
- new dep: hyprutils
Fixes
- core: properly handle unscoped keywords
- core: don't populate linesContainingVar on dynamic requests
MRs
- core: Move to hyprutils for util functions by @vaxerski in #48
- core: handle scoped keywords if flags are not allowed by @aurelien-brabant in #49
- config.cpp: fix parsing invalid hex by @MAKMED1337 in #53
- Return an error on invalid hex values. by @MAKMED1337 in #54
- CMake: Use library aliases instead of library names by @kobalicek in #55
New Contributors
- @aurelien-brabant made their first contribution in #49
- @MAKMED1337 made their first contribution in #53
- @kobalicek made their first contribution in #55
Full Changelog: v0.5.2...v0.5.3
v0.5.2
This is a small update to fix an annoying bug with dynamic parsing.
Fixes
- fixed a bug with dynamic parsing and keyword categories
- fixed clang ci
MRs
- Update README.md by @retif in #42
- Fixed getconf command in build instructions by @pebble-24 in #44
New Contributors
- @retif made their first contribution in #42
- @pebble-24 made their first contribution in #44
Full Changelog: v0.5.1...v0.5.2
v0.5.1
A small patch with a few fixes, a new noerror feature, and special selectors.
New features
- Special categories can now have inline keys, e.g.
device[my-mouse-v1]:sensitivity = 1
- You can now mark areas to not throw errors with
# hyprlang noerror true
and then later# hyprlang noerror false
to revert back
Fixes
- core: Fix recursive variables in RHS of variable assignment
MRs
- config.cpp: fix environ for Apple by @barracuda156 in #34
- Fix: Comment escaping with multiple
#
by @Micovec in #38
New Contributors
- @barracuda156 made their first contribution in #34
- @Micovec made their first contribution in #38
Full Changelog: v0.5.0...v0.5.1
v0.5.0
A major release to fix some easy to miss ABI breaks with structs.
Version 0.4.2 was not ABI compatible due to a mistake from my side.
This version is also not ABI compatible, but it is API compatible.
Fixes
- Fixed easy ABI breaks with new struct members in options
Full Changelog: v0.4.2...v0.5.0
v0.4.2
Small update with a few nice utils for hyprcursor and a license change.
This release is ABI-compatible with 0.4.1 Please see 0.5.0
Notes for packagers
- License changed to LGPL-3.0-Only
API Changes
- added pathIsStream to SConfigOptions
Other changes
- Fixed value name in configSetValueSafe
- Added -O3 for release builds
v0.4.1
A minor update with just a few internal QoL fixes.
This update is ABI-compatible with 0.4.0.
Fixes
- Fixed dynamic variable updates within special categories
- Custom value errors will now be properly thrown
MRs
- Fix the overlay and re-export properly by @spikespaz in #26
New Contributors
- @spikespaz made their first contribution in #26
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Major update, however, ABI-compatible with v0.3.2.
Despite that, as requested in #21 the sover has been bumped to 1 and will be bumped from now on every breaking ABI change.
API Additions
- Added
CConfig::listKeysForSpecialCategory
- Added anonymous special categories. They behave like key-based, but do not have a key (key is automatically assigned by hyprlang)
Fixes
- fix bugs on non-existent dynamic special requests
Full Changelog: v0.3.2...v0.4.0
v0.3.2
Minor update to fix some bugs and improve docs
Breaking changes
- API/ABI has been broken in ebffe8f -> worth noting most sources will still compile just fine.
- ^
CConfig::addSpecialConfigValue
now takes aCConfigValue&
- For XDPH and hyprpaper users: this does not break any API used in these, so no need for recompiling.
Fixes
- static special config values can now be acquired instantly after creation (you don't have to wait until a
CConfig::parse()
- improvements to docs
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Various edge-case improvements to the core; especially those that came up in hyprwm/Hyprland#4656
This release is ABI-compatible with v0.3.0.
Fixes
- errors while parsing ints will now be reported instead of silently ignored
- escaping
#
with a##
is now properly parsed - stability improvements
- moving / changing a symlink'd config file will now not break parsing
MRs
New Contributors
Full Changelog: v0.3.0...v0.3.1
v0.3.0
This update mostly brings minor fixes alongside a bunch of QoL util functions needed by hyprland.
Breaking changes
- API:
CConfig::parseFile
now takes aconst char*
(oops!) - ABI got broken somewhere apart from that - xdph / hyprpaper / etc will need a recompile - oops
API Additions
CCustomValueType::getData()
CConfigValue(const CConfigValue&)
CConfigValue::m_bSetByUser
CConfig::unregisterHandler
CConfig::removeSpecialCategory
CConfig::removeSpecialConfigValue
CConfig::specialCategoryExistsForKey
MRs
- cmake: use CMAKE_INSTALL_LIBDIR for the installation dir by @solopasha in #15
- cmake: install pkgconfig in CMAKE_INSTALL_LIBDIR by @solopasha in #17
- use CMAKE_INSTALL_FULL_LIBDIR in pkgconfig instead of hardcoded lib by @solopasha in #18
New Contributors
- @solopasha made their first contribution in #15
Full Changelog: v0.2.1...v0.3.0