Skip to content

Releases: hyprwm/hyprlang

v0.5.3

05 Oct 22:52
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.5.2...v0.5.3

v0.5.2

23 May 10:09
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.5.1...v0.5.2

v0.5.1

14 Apr 19:04
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0

08 Mar 16:19
Compare
Choose a tag to compare

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

07 Mar 18:17
Compare
Choose a tag to compare

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

28 Feb 01:04
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.4.0...v0.4.1

v0.4.0

17 Feb 23:37
Compare
Choose a tag to compare

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

15 Feb 14:09
Compare
Choose a tag to compare

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 a CConfigValue&
  • 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

12 Feb 21:49
Compare
Choose a tag to compare

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

  • Fix compilation and tests on 32bit architectures by @earboxer in #20

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

09 Feb 20:36
Compare
Choose a tag to compare

This update mostly brings minor fixes alongside a bunch of QoL util functions needed by hyprland.

Breaking changes

  • API: CConfig::parseFile now takes a const 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

Full Changelog: v0.2.1...v0.3.0