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.

136 lines
5.7 KiB

2 years ago
2020 November 28 Breaking Changes Update (#11053) * Branch point for 2020 November 28 Breaking Change * Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) * Add support for soft serial to ATmega32U2 (#10204) * Change MIDI velocity implementation to allow direct control of velocity value (#9940) * Add ability to build a subset of all keyboards based on platform. * Actually use eeprom_driver_init(). * Make bootloader_jump weak for ChibiOS. (#10417) * Joystick 16-bit support (#10439) * Per-encoder resolutions (#10259) * Share button state from mousekey to pointing_device (#10179) * Add hotfix for chibios keyboards not wake (#10088) * Add advanced/efficient RGB Matrix Indicators (#8564) * Naming change. * Support for STM32 GPIOF,G,H,I,J,K (#10206) * Add milc as a dependency and remove the installed milc (#10563) * ChibiOS upgrade: early init conversions (#10214) * ChibiOS upgrade: configuration file migrator (#9952) * Haptic and solenoid cleanup (#9700) * XD75 cleanup (#10524) * OLED display update interval support (#10388) * Add definition based on currently-selected serial driver. (#10716) * New feature: Retro Tapping per key (#10622) * Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638) * Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530) * Rescale both ChibiOS and AVR backlighting. * Reduce Helix keyboard build variation (#8669) * Minor change to behavior allowing display updates to continue between task ticks (#10750) * Some GPIO manipulations in matrix.c change to atomic. (#10491) * qmk cformat (#10767) * [Keyboard] Update the Speedo firmware for v3.0 (#10657) * Maartenwut/Maarten namechange to evyd13/Evy (#10274) * [quantum] combine repeated lines of code (#10837) * Add step sequencer feature (#9703) * aeboards/ext65 refactor (#10820) * Refactor xelus/dawn60 for Rev2 later (#10584) * add DEBUG_MATRIX_SCAN_RATE_ENABLE to common_features.mk (#10824) * [Core] Added `add_oneshot_mods` & `del_oneshot_mods` (#10549) * update chibios os usb for the otg driver (#8893) * Remove HD44780 References, Part 4 (#10735) * [Keyboard] Add Valor FRL TKL (+refactor) (#10512) * Fix cursor position bug in oled_write_raw functions (#10800) * Fixup version.h writing when using SKIP_VERSION=yes (#10972) * Allow for certain code in the codebase assuming length of string. (#10974) * Add AT90USB support for serial.c (#10706) * Auto shift: support repeats and early registration (#9826) * Rename ledmatrix.h to match .c file (#7949) * Split RGB_MATRIX_ENABLE into _ENABLE and _DRIVER (#10231) * Split LED_MATRIX_ENABLE into _ENABLE and _DRIVER (#10840) * Merge point for 2020 Nov 28 Breaking Change
3 years ago
  1. # Breaking Changes
  2. This document describes QMK's Breaking Change process. A Breaking Change is any change which modifies how QMK behaves in a way that in incompatible or potentially dangerous. We limit these changes so that users can have confidence that updating their QMK tree will not break their keymaps.
  3. This also includes any keyboard moves within the repository.
  4. The breaking change period is when we will merge PR's that change QMK in dangerous or unexpected ways. There is a built-in period of testing so we are confident that any problems caused are rare or unable to be predicted.
  5. ## What has been included in past Breaking Changes?
  6. * [2022 May 28](ChangeLog/20220528.md)
  7. * [2022 Feb 26](ChangeLog/20220226.md)
  8. * [2021 Nov 27](ChangeLog/20211127.md)
  9. * [2021 Aug 28](ChangeLog/20210828.md)
  10. * [2021 May 29](ChangeLog/20210529.md)
  11. * [2021 Feb 27](ChangeLog/20210227.md)
  12. * [2020 Nov 28](ChangeLog/20201128.md)
  13. * [2020 Aug 29](ChangeLog/20200829.md)
  14. * [2020 May 30](ChangeLog/20200530.md)
  15. * [2020 Feb 29](ChangeLog/20200229.md)
  16. * [2019 Aug 30](ChangeLog/20190830.md)
  17. ## When is the next Breaking Change?
  18. The next Breaking Change is scheduled for August 27, 2022.
  19. ### Important Dates
  20. * [x] 2022 May 28 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions.
  21. * [ ] 2022 Jul 31 - `develop` closed to new PR's.
  22. * [ ] 2022 Jul 31 - Call for testers.
  23. * [ ] 2022 Aug 13 - Last day for merges -- after this point `develop` is locked for testing and accepts only bugfixes
  24. * [ ] 2022 Aug 25 - `master` is locked, no PR's merged.
  25. * [ ] 2022 Aug 27 - Merge `develop` to `master`.
  26. * [ ] 2022 Aug 27 - `master` is unlocked. PR's can be merged again.
  27. ## What changes will be included?
  28. To see a list of breaking change candidates you can look at the [`breaking_change` label](https://github.com/qmk/qmk_firmware/pulls?q=is%3Aopen+label%3Abreaking_change+is%3Apr). New changes might be added between now and when `develop` is closed, and a PR with that label applied is not guaranteed to be merged.
  29. If you want your breaking change to be included in this round you need to create a PR with the `breaking_change` label and have it accepted before `develop` closes. After `develop` closes no new breaking changes will be accepted.
  30. Criteria for acceptance:
  31. * The PR is complete and ready to merge
  32. * The PR has a ChangeLog file describing the changes under `<qmk_firmware>/docs/Changelog/20220827`.
  33. * This should be in Markdown format, with a name in the format `PR12345.md`, substituting the digits for your PR's ID.
  34. * One strong recommendation that the ChangeLog document matches the PR description on GitHub, so as to ensure traceability.
  35. ## Checklists
  36. This section documents various processes we use when running the Breaking Changes process.
  37. ### 4 Weeks Before Merge
  38. * `develop` is now closed to new PR's, only fixes for current PR's may be merged
  39. * Post call for testers
  40. * [ ] Discord
  41. * [ ] GitHub PR
  42. * [ ] https://reddit.com/r/olkb
  43. ### 2 Weeks Before Merge
  44. * `develop` is now closed to existing PR merges, only bugfixes for previous merges may be included
  45. * Post call for testers
  46. * [ ] Discord
  47. * [ ] GitHub PR
  48. * [ ] https://reddit.com/r/olkb
  49. ### 1 Week Before Merge
  50. * Announce that master will be closed from <2 Days Before> to <Day of Merge>
  51. * [ ] Discord
  52. * [ ] GitHub PR
  53. * [ ] https://reddit.com/r/olkb
  54. ### 2 Days Before Merge
  55. * Announce that master is closed for 2 days
  56. * [ ] Discord
  57. * [ ] GitHub PR
  58. * [ ] https://reddit.com/r/olkb
  59. ### Day Of Merge
  60. * `qmk_firmware` git commands
  61. * [ ] `git checkout develop`
  62. * [ ] `git pull --ff-only`
  63. * [ ] Edit `readme.md`
  64. * [ ] Remove the notes about `develop`
  65. * [ ] Roll up the ChangeLog into one file.
  66. * [ ] `git commit -m 'Merge point for <DATE> Breaking Change'`
  67. * [ ] `git push upstream develop`
  68. * GitHub Actions
  69. * [ ] Create a PR for `develop`
  70. * [ ] **Turn off 'Automatically delete head branches' for the repository** -- confirm with @qmk/directors that it is done before continuing
  71. * `qmk_firmware` git commands
  72. * [ ] `git checkout master`
  73. * [ ] `git pull --ff-only`
  74. * [ ] `git merge --no-ff develop`
  75. * [ ] `git tag <next_version>` # Prevent the breakpoint tag from confusing version incrementing
  76. * [ ] `git push upstream <next_version>`
  77. * [ ] `git push upstream master`
  78. ## Post-merge operations
  79. ### Updating the `develop` branch
  80. This happens immediately after the previous `develop` branch is merged to `master`.
  81. * `qmk_firmware` git commands
  82. * [ ] `git checkout master`
  83. * [ ] `git pull --ff-only`
  84. * [ ] `git checkout develop`
  85. * [ ] `git pull --ff-only`
  86. * [ ] `git merge --no-ff master`
  87. * [ ] Edit `readme.md`
  88. * [ ] Add a big notice at the top that this is a testing branch.
  89. * [ ] Include a link to this document
  90. * [ ] `git commit -m 'Branch point for <DATE> Breaking Change'`
  91. * [ ] `git tag breakpoint_<YYYY>_<MM>_<DD>`
  92. * [ ] `git push upstream breakpoint_<YYYY>_<MM>_<DD>`
  93. * All submodules under `lib` now need to be checked against their QMK-based forks:
  94. * [ ] `git submodule foreach git log -n1`
  95. * [ ] Validate each submodule SHA1 matches the qmk fork, e.g. for ChibiOS:
  96. * Go to [qmk/ChibiOS](https://github.com/qmk/ChibiOS)
  97. * Compare the commit hash in the above output to the commit hash in the repository
  98. * If there's a mismatch:
  99. * [ ] `cd lib/chibios`
  100. * [ ] `git fetch --all`
  101. * [ ] `git checkout master`
  102. * [ ] `git reset --hard <commit hash>`
  103. * [ ] `git push origin master --force-with-lease`
  104. * (Optional) [update ChibiOS + ChibiOS-Contrib on `develop`](chibios_upgrade_instructions.md)