You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

216 lines
16 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # QMK Breaking Changes - 2022 May 28 Changelog
  2. ## Notable Features :id=notable-features
  3. ### Caps Word ([#16588](https://github.com/qmk/qmk_firmware/pull/16588)) :id=caps-word
  4. This is a new feature that allows for capslock-like functionality that turns itself off at the end of the word.
  5. For instance, if you wish to type "QMK" without holding shift the entire time, you can either tap both left and right shift, or double-tap shift, to turn on _Caps Word_ -- then type `qmk` (lowercase) without holding shift. Once you hit any key other than `a`--`z`, `0`--`9`, `-`, `_`, delete, or backspace, this will go back to normal typing!
  6. There are other activation mechanisms as well as configurable options like timeout and the like -- see the [Caps Word documentation](feature_caps_word.md) for more information.
  7. ### Quantum Painter ([#10174](https://github.com/qmk/qmk_firmware/pull/10174)) :id=quantum-painter
  8. QMK has had support for small OLED displays for some time now, but hasn't really gained too much ability to draw to panels other than the SSD1306 or SH1106 panels.
  9. Quantum Painter is a new drawing subsystem available to suitable ARM and RISC-V boards that is capable of drawing to large panel RGB LCDs and RGB OLEDs. It also allows for a lot more flexibility with a larger set of drawing APIs -- lines, rectangles, circles, ellipses, text, images, and even animations.
  10. The QMK CLI has new commands added to be able to generate images and fonts for Quantum Painter to digest -- it's even capable of converting animated gifs for display on screen.
  11. See the [Quantum Painter documentation](quantum_painter.md) for more information on how to set up the displays as well as how to convert images and fonts.
  12. !> Quantum Painter is not supported on AVR due to complexity and size constraints. Boards based on AVR such as ProMicro or Elite-C builds will not be able to leverage Quantum Painter.
  13. ### Encoder Mapping ([#13286](https://github.com/qmk/qmk_firmware/pull/13286)) :id=encoder-mapping
  14. One of the long-standing complaints with Encoders is that there has been no easy way to configure them in user keymaps. [#13286](https://github.com/qmk/qmk_firmware/pull/13286) added support for [Encoder Mapping](feature_encoders.md#encoder-map), which allows users to define encoder functionality in a similar way to their normal keymap.
  15. !> This is not yet supported by QMK Configurator. It is also unlikely to ever be supported by VIA.
  16. ## Changes Requiring User Action :id=changes-requiring-user-action
  17. ### `RESET` => `QK_BOOT` ([#17037](https://github.com/qmk/qmk_firmware/pull/17037)) :id=reset-2-qk_boot
  18. QMK is always in the process of picking up support for new hardware platforms. One of the side-effects for future integrations has shown that QMK's usage of `RESET` as a keycode is causing naming collisions. As a result, [#17037](https://github.com/qmk/qmk_firmware/pull/17037) changed usages of `RESET` to the new keycode `QK_BOOT` in the majority of default-like keymaps. At this stage the old keycode is still usable but will likely be removed in the next breaking changes cycle. Users with keymaps containing `RESET` should also move to `QK_BOOT`.
  19. ### Sendstring keycode overhaul ([#16941](https://github.com/qmk/qmk_firmware/pull/16941)) :id=sendstring-keycodes
  20. Some keycodes used with `SEND_STRING` and its relatives have been deprecated and may have their old keycode usages removed at a later date. The list of [deprecated keycodes](https://github.com/qmk/qmk_firmware/blob/ebd402788346aa6e88bde1486b2a835684d40d39/quantum/send_string_keycodes.h#L456-L505) should be consulted to determine if you're using one of the older names (the first identifier after `#define`) -- you should swap to the newer variant (the second identifier on the same line).
  21. ### Pillow Installation ([#17133](https://github.com/qmk/qmk_firmware/pull/17133)) :id=pillow-install
  22. The merge of Quantum Painter added some new dependencies in the QMK CLI, most notably _Pillow_, which requires some installation in order for the CLI to function. If you've got an existing installation, you'll need to run some commands in order to get things working:
  23. On Windows, if using _QMK MSYS_ or _msys2_, you'll need to run the following command:
  24. ```sh
  25. pacman --needed --noconfirm --disable-download-timeout -S mingw-w64-x86_64-python-pillow
  26. python3 -m pip install --upgrade qmk
  27. ```
  28. On macOS:
  29. ```sh
  30. brew update
  31. brew upgrade qmk/qmk/qmk
  32. ```
  33. On Linux or WSL:
  34. ```sh
  35. python3 -m pip install --user --upgrade qmk
  36. ```
  37. ### Updated Keyboard Codebases :id=updated-keyboard-codebases
  38. The following keyboards have had their source moved within QMK:
  39. | Old Keyboard Name | New Keyboard Name |
  40. |----------------------|--------------------|
  41. | absinthe | keyhive/absinthe |
  42. | amj40 | amjkeyboard/amj40 |
  43. | amj60 | amjkeyboard/amj60 |
  44. | amj96 | amjkeyboard/amj96 |
  45. | amjpad | amjkeyboard/amjpad |
  46. | at101_bh | viktus/at101_bh |
  47. | ergosaurus | keyhive/ergosaurus |
  48. | gmmk/pro/ansi | gmmk/pro/rev1/ansi |
  49. | gmmk/pro/iso | gmmk/pro/rev1/iso |
  50. | honeycomb | keyhive/honeycomb |
  51. | lattice60 | keyhive/lattice60 |
  52. | melody96 | ymdk/melody96 |
  53. | mt40 | mt/mt40 |
  54. | mt64rgb | mt/mt64rgb |
  55. | mt84 | mt/mt84 |
  56. | mt980 | mt/mt980 |
  57. | navi10 | keyhive/navi10 |
  58. | omnikey_bh | viktus/omnikey_bh |
  59. | opus | keyhive/opus |
  60. | smallice | keyhive/smallice |
  61. | southpole | keyhive/southpole |
  62. | uno | keyhive/uno |
  63. | ut472 | keyhive/ut472 |
  64. | wheatfield/blocked65 | mt/blocked65 |
  65. | wheatfield/split75 | mt/split75 |
  66. | z150_bh | viktus/z150_bh |
  67. ---
  68. ## Full changelist :id=full-changelist
  69. Core:
  70. * Quantum Painter ([#10174](https://github.com/qmk/qmk_firmware/pull/10174))
  71. * Add support for encoder mapping. ([#13286](https://github.com/qmk/qmk_firmware/pull/13286))
  72. * Add support for multiple switchs/solenoids to Haptic Feedback engine ([#15657](https://github.com/qmk/qmk_firmware/pull/15657))
  73. * Add compile/make macro to core ([#15959](https://github.com/qmk/qmk_firmware/pull/15959))
  74. * Add Reboot keycode to core ([#15990](https://github.com/qmk/qmk_firmware/pull/15990))
  75. * Add support for multiple sensors to pmw3360 ([#15996](https://github.com/qmk/qmk_firmware/pull/15996))
  76. * Asymmetric encoders, encoder tests. ([#16068](https://github.com/qmk/qmk_firmware/pull/16068))
  77. * Add hacky via support for RGB Matrix ([#16086](https://github.com/qmk/qmk_firmware/pull/16086))
  78. * Allow usage of AVRs minimal printf library ([#16266](https://github.com/qmk/qmk_firmware/pull/16266))
  79. * Squeeze AVR some more with `-mrelax` and `-mcall-prologues` ([#16269](https://github.com/qmk/qmk_firmware/pull/16269))
  80. * Heatmap incorrect matrix effect workaround ([#16315](https://github.com/qmk/qmk_firmware/pull/16315))
  81. * Add SN74x154 driver and convert AL1 custom matrix ([#16331](https://github.com/qmk/qmk_firmware/pull/16331))
  82. * Add customizable snake and knight animation increments ([#16337](https://github.com/qmk/qmk_firmware/pull/16337))
  83. * Chibios USB protocol: allow overriding RAW Capacity ([#16339](https://github.com/qmk/qmk_firmware/pull/16339))
  84. * HD44780 driver rework ([#16370](https://github.com/qmk/qmk_firmware/pull/16370))
  85. * Update wb32-dfu ([#16438](https://github.com/qmk/qmk_firmware/pull/16438))
  86. * Remove `send_unicode_hex_string()` ([#16518](https://github.com/qmk/qmk_firmware/pull/16518))
  87. * Add :flash target for UF2 bootloaders ([#16525](https://github.com/qmk/qmk_firmware/pull/16525))
  88. * Move `has_mouse_report_changed` function to `report.c` ([#16543](https://github.com/qmk/qmk_firmware/pull/16543))
  89. * Move Doxygen docs to subdirectory ([#16561](https://github.com/qmk/qmk_firmware/pull/16561))
  90. * Add Caps Word feature to core ([#16588](https://github.com/qmk/qmk_firmware/pull/16588))
  91. * Add non blackpill F4x1 config files ([#16600](https://github.com/qmk/qmk_firmware/pull/16600))
  92. * Force platform pin defs to be included ([#16611](https://github.com/qmk/qmk_firmware/pull/16611))
  93. * Refactor CTPC logic to allow future converters ([#16621](https://github.com/qmk/qmk_firmware/pull/16621))
  94. * Use a mutex guard for split shared memory ([#16647](https://github.com/qmk/qmk_firmware/pull/16647))
  95. * Rename TICK to TICK_EVENT ([#16649](https://github.com/qmk/qmk_firmware/pull/16649))
  96. * Add GET_TAPPING_TERM macro to reduce duplicate code ([#16681](https://github.com/qmk/qmk_firmware/pull/16681))
  97. * add the ability to change the pwm frequency for the IS31FL3737B ([#16718](https://github.com/qmk/qmk_firmware/pull/16718))
  98. * Joystick feature updates ([#16732](https://github.com/qmk/qmk_firmware/pull/16732))
  99. * Add emulated eeprom support for STM32F303xE ([#16737](https://github.com/qmk/qmk_firmware/pull/16737))
  100. * Refactor writePin to work with statements ([#16738](https://github.com/qmk/qmk_firmware/pull/16738))
  101. * Add mechanism to limit available converters ([#16783](https://github.com/qmk/qmk_firmware/pull/16783))
  102. * Implement XAP 'secure' core requirements ([#16843](https://github.com/qmk/qmk_firmware/pull/16843))
  103. * rgblight: Add functions to stop blinking one or all but one layer ([#16859](https://github.com/qmk/qmk_firmware/pull/16859))
  104. * Expose API for hardware unique ID ([#16869](https://github.com/qmk/qmk_firmware/pull/16869))
  105. * Added support for Wb32fq95 ([#16871](https://github.com/qmk/qmk_firmware/pull/16871))
  106. * Provide better config defaults for bluepill boards ([#16909](https://github.com/qmk/qmk_firmware/pull/16909))
  107. * Joystick: Simplify report descriptor and clean up error messages ([#16926](https://github.com/qmk/qmk_firmware/pull/16926))
  108. * Rename keymap_extras headers for consistency ([#16939](https://github.com/qmk/qmk_firmware/pull/16939))
  109. * Sendstring keycode overhaul ([#16941](https://github.com/qmk/qmk_firmware/pull/16941))
  110. * Move disable_jtag to platforms ([#16960](https://github.com/qmk/qmk_firmware/pull/16960))
  111. * Remove ARM pgm_read_word workaround in rgblight ([#16961](https://github.com/qmk/qmk_firmware/pull/16961))
  112. * Warn about LTO with arm_atsam, not ChibiOS. ([#17106](https://github.com/qmk/qmk_firmware/pull/17106))
  113. CLI:
  114. * Rework generate-api CLI command to use .build directory ([#16441](https://github.com/qmk/qmk_firmware/pull/16441))
  115. * Change data driven "str" type to represent a quoted string literal ([#16516](https://github.com/qmk/qmk_firmware/pull/16516))
  116. * Bump the 'jsonschema' version ([#16635](https://github.com/qmk/qmk_firmware/pull/16635))
  117. * Add frameworking for development board presets ([#16637](https://github.com/qmk/qmk_firmware/pull/16637))
  118. * Extend 'qmk info' to handle keymap level overrides ([#16702](https://github.com/qmk/qmk_firmware/pull/16702))
  119. * Data driven `g_led_config` ([#16728](https://github.com/qmk/qmk_firmware/pull/16728))
  120. * Allow new-keyboard to use development_board presets ([#16785](https://github.com/qmk/qmk_firmware/pull/16785))
  121. * Also format *.hpp files. ([#16997](https://github.com/qmk/qmk_firmware/pull/16997))
  122. Submodule updates:
  123. * ChibiOS 21.11.1 update. ([#16251](https://github.com/qmk/qmk_firmware/pull/16251))
  124. * Update ChibiOS-Contrib ([#16915](https://github.com/qmk/qmk_firmware/pull/16915))
  125. Keyboards:
  126. * chore: Add personal GMMK Pro keymap ([#15320](https://github.com/qmk/qmk_firmware/pull/15320))
  127. * move melody96 to ymdk vendor folder ([#15680](https://github.com/qmk/qmk_firmware/pull/15680))
  128. * move amj keyboards into amjkeyboard vendor folder ([#15733](https://github.com/qmk/qmk_firmware/pull/15733))
  129. * move z150_bh at101_bh omnikey_bh to viktus/ ([#16004](https://github.com/qmk/qmk_firmware/pull/16004))
  130. * MS Sculpt Mobile refactor ([#16038](https://github.com/qmk/qmk_firmware/pull/16038))
  131. * move keyhive exclusive boards into /keyhive ([#16084](https://github.com/qmk/qmk_firmware/pull/16084))
  132. * move 麦田 boards into /mt ([#16095](https://github.com/qmk/qmk_firmware/pull/16095))
  133. * Convert Wasdat Code custom matrix to SN74x138 driver ([#16257](https://github.com/qmk/qmk_firmware/pull/16257))
  134. * Move GMMK Pro to allow for multiple revisions ([#16423](https://github.com/qmk/qmk_firmware/pull/16423))
  135. * Updated pin mapping and readme. ([#16505](https://github.com/qmk/qmk_firmware/pull/16505))
  136. * Map data driven `DESCRIPTION` as string literal ([#16523](https://github.com/qmk/qmk_firmware/pull/16523))
  137. * remove unecessary layers ([#16559](https://github.com/qmk/qmk_firmware/pull/16559))
  138. * Helix/rev2 move to split common ([#16723](https://github.com/qmk/qmk_firmware/pull/16723))
  139. * Remove some layout exceptions ([#16957](https://github.com/qmk/qmk_firmware/pull/16957))
  140. * Refactor legacy quantum keycodes in default-ish keymaps ([#17037](https://github.com/qmk/qmk_firmware/pull/17037))
  141. * Refactor legacy quantum keycodes in default-ish keymaps ([#17150](https://github.com/qmk/qmk_firmware/pull/17150))
  142. Keyboard fixes:
  143. * gboards/gergoplex: move `COMBO_ENABLE` to keymap level ([#16667](https://github.com/qmk/qmk_firmware/pull/16667))
  144. * usb-usb converter: community layout support ([#16773](https://github.com/qmk/qmk_firmware/pull/16773))
  145. * Fix build of `keyhive/uno`. ([#16891](https://github.com/qmk/qmk_firmware/pull/16891))
  146. * Fix uno ([#16892](https://github.com/qmk/qmk_firmware/pull/16892))
  147. * converter/usb_usb: remove surplus commas ([#17024](https://github.com/qmk/qmk_firmware/pull/17024))
  148. * Various fixes for g_led_config lint warnings ([#17104](https://github.com/qmk/qmk_firmware/pull/17104))
  149. Others:
  150. * Add warning for CTPC/CONVERT_TO_PROTON_C. ([#16782](https://github.com/qmk/qmk_firmware/pull/16782))
  151. * Add bluepill/blackpill development board presets ([#16806](https://github.com/qmk/qmk_firmware/pull/16806))
  152. * Recommend pillow as part of manual MSYS install ([#17133](https://github.com/qmk/qmk_firmware/pull/17133))
  153. Bugs:
  154. * Fix one-shot locked modifiers ([#16114](https://github.com/qmk/qmk_firmware/pull/16114))
  155. * Fix missing definition for non-encoder case. ([#16593](https://github.com/qmk/qmk_firmware/pull/16593))
  156. * Fixup builds. ([#16596](https://github.com/qmk/qmk_firmware/pull/16596))
  157. * Missed some erroneous prints. ([#16597](https://github.com/qmk/qmk_firmware/pull/16597))
  158. * Workaround for pin_def errors on KINETIS based builds ([#16614](https://github.com/qmk/qmk_firmware/pull/16614))
  159. * Fix flipped logic bug with One Shot `OS_ON` / `OS_OFF` keys ([#16617](https://github.com/qmk/qmk_firmware/pull/16617))
  160. * Redo workaround for pin_def errors on KINETIS ([#16620](https://github.com/qmk/qmk_firmware/pull/16620))
  161. * Fix oneshot toggle logic ([#16630](https://github.com/qmk/qmk_firmware/pull/16630))
  162. * Mousekeys fix ([#16640](https://github.com/qmk/qmk_firmware/pull/16640))
  163. * Ignore transport defaults if SPLIT_KEYBOARD is unset ([#16706](https://github.com/qmk/qmk_firmware/pull/16706))
  164. * Fixes #16705 : digital rain follows val ([#16716](https://github.com/qmk/qmk_firmware/pull/16716))
  165. * Fix AVR backlight breathing: low brightness limit & exceeding breathing table max index ([#16770](https://github.com/qmk/qmk_firmware/pull/16770))
  166. * Fixed usb read loops not reading until timeout ([#16827](https://github.com/qmk/qmk_firmware/pull/16827))
  167. * [QP] Check BPP capabilities before loading the palette ([#16863](https://github.com/qmk/qmk_firmware/pull/16863))
  168. * Fix #16859. ([#16865](https://github.com/qmk/qmk_firmware/pull/16865))
  169. * Preinstall python dependencies before executing `qmk`. ([#16874](https://github.com/qmk/qmk_firmware/pull/16874))
  170. * Fixup AVR builds. ([#16875](https://github.com/qmk/qmk_firmware/pull/16875))
  171. * Fix kinetic mouse mode ([#16951](https://github.com/qmk/qmk_firmware/pull/16951))
  172. * Enhancement and fixes of "Secure" feature ([#16958](https://github.com/qmk/qmk_firmware/pull/16958))
  173. * Check for ongoing transfers on the OUT endpoint ([#16974](https://github.com/qmk/qmk_firmware/pull/16974))
  174. * MSYS2 install: add some Python dependencies through Pacman ([#17025](https://github.com/qmk/qmk_firmware/pull/17025))
  175. * Revert "Fix kinetic mouse mode (#16951)" ([#17095](https://github.com/qmk/qmk_firmware/pull/17095))
  176. * Workaround for recent -Werror=array-bounds AVR issues ([#17136](https://github.com/qmk/qmk_firmware/pull/17136))
  177. * Bug fix: Continue Caps Word when AltGr (right Alt) is held. ([#17156](https://github.com/qmk/qmk_firmware/pull/17156))