-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
# Changelog | ||
|
||
## [1.0.0](https://github.com/max397574/care.nvim/compare/v0.1.0...v1.0.0) (2024-10-13) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* **presets:** rename some presets and extend a lot | ||
* better scrollbar config | ||
* rename lsp source to just lsp | ||
* rename setup to initialization and use setup for configuration | ||
* only use config module for configuration | ||
|
||
### Features | ||
|
||
* adapt menu to changes in window class ([c9f4c85](https://github.com/max397574/care.nvim/commit/c9f4c85b467f1a4fd13ae33240dc3115bf1cbc89)) | ||
* adapt to code style ([f2a3930](https://github.com/max397574/care.nvim/commit/f2a393004282401a8248025a9284408b97b93752)) | ||
* add api to check if menu is reversed ([b5199b1](https://github.com/max397574/care.nvim/commit/b5199b1708145de6a6c2537c41e33a280e528490)) | ||
* add away from cursor sorting ([8cfea18](https://github.com/max397574/care.nvim/commit/8cfea184fef21c6f1fa726b6ce22e7b47f8e53d4)) | ||
* add code style document ([8d250ae](https://github.com/max397574/care.nvim/commit/8d250ae3c2158a14cf9e4e9b0698d2fd97c52022)) | ||
* add colored block to completion menu ([aea434f](https://github.com/max397574/care.nvim/commit/aea434f0e14bf13fee1cd3af752032f920782e63)) | ||
* add config option to limit displayed entries ([d486485](https://github.com/max397574/care.nvim/commit/d4864853085b2e8273df4de27aae22cb762cf5b0)) | ||
* add deprecated as data to format ([964cc22](https://github.com/max397574/care.nvim/commit/964cc22648dd5e1f61196ac26df2402b366adcfb)) | ||
* add editorconfig ([44a33da](https://github.com/max397574/care.nvim/commit/44a33da03a169507a55760b3137db74c6b643c3a)) | ||
* add execute to sources ([4f1a828](https://github.com/max397574/care.nvim/commit/4f1a8284e7c1686549beb00aac0a9d7001654bc3)) | ||
* add initial healthcheck ([a201df9](https://github.com/max397574/care.nvim/commit/a201df94ae87b9f5720186ed1bb12510d3d5b127)) | ||
* add logo ([d851715](https://github.com/max397574/care.nvim/commit/d8517153fd839f74ff9c5f130ba53c5f3c1b1ef5)) | ||
* add lsp source to main repo ([74e5fd3](https://github.com/max397574/care.nvim/commit/74e5fd3fd339841679ced2a592a0d54700638b35)) | ||
* add new api function `get_index` ([5c2bbdb](https://github.com/max397574/care.nvim/commit/5c2bbdbebe5565f404921b0416c25ea2a7c78193)) | ||
* add preselect support ([f949bb3](https://github.com/max397574/care.nvim/commit/f949bb3563fd98f5d4b7c8a64780cf6c4edba95b)) | ||
* add preset utils and recipes ([6cf8c1a](https://github.com/max397574/care.nvim/commit/6cf8c1a57165636331eab6dbfaacc769f602575a)) | ||
* add test for new bug ([e124078](https://github.com/max397574/care.nvim/commit/e124078b6c242b1e7b623bfb6deee1c8e220ab99)) | ||
* add type annotation to config setup ([5663b3a](https://github.com/max397574/care.nvim/commit/5663b3a472875e3b6b3a43a5121652f452e7bc2a)) | ||
* add type annotations to care.setup ([e32beab](https://github.com/max397574/care.nvim/commit/e32beabfe734dbe44818355c2f4a64a8ae8fe7db)) | ||
* added filter to core ([98e7c9c](https://github.com/max397574/care.nvim/commit/98e7c9c17b569a902285a12e8a3a5b4e336b400a)) | ||
* allow filtering sources for completion ([aaab984](https://github.com/max397574/care.nvim/commit/aaab984dcf6b849c5834712d7d5a2619d7ef4c86)) | ||
* allow insert and replace edit range ([cb5577c](https://github.com/max397574/care.nvim/commit/cb5577c3751fa86e4346441afa192fc76f2d6b22)) | ||
* **api:** add function to select visible entry ([15a40a0](https://github.com/max397574/care.nvim/commit/15a40a066e981bf9e2fe7e65f1d4bb69e942e9fb)) | ||
* **api:** add function to set index ([90d96b4](https://github.com/max397574/care.nvim/commit/90d96b4b7480e8d3ae67fcfa98d6b134c7d6d2fb)) | ||
* avoid completing and filtering at the same time ([941e8d9](https://github.com/max397574/care.nvim/commit/941e8d9cfb5d505f3c2d63dbe44d3f998c8b4a66)) | ||
* avoid duplicate draw ([0fc5ea9](https://github.com/max397574/care.nvim/commit/0fc5ea9568e45b67b3d78141d9170a17804ae723)) | ||
* better confirming and debugging ([b1a268f](https://github.com/max397574/care.nvim/commit/b1a268fc325e53a6619ff056f9a7b291411e5e1b)) | ||
* better docs for presets ([b452039](https://github.com/max397574/care.nvim/commit/b452039f3ad3750ef432f58dd9eedb074715537e)) | ||
* better scrollbar config ([77ce911](https://github.com/max397574/care.nvim/commit/77ce911ca4cf0de9cfc9154903fc30fda6bddea0)) | ||
* better width and position calculation for docs view ([c2dfc9a](https://github.com/max397574/care.nvim/commit/c2dfc9abeb40b1adfb7ada68faf3740cc00d39bd)) | ||
* check if source.execute is nil before executing ([91d1734](https://github.com/max397574/care.nvim/commit/91d1734150b5a0a76f5e8c92cb6a3bdd228b95f8)) | ||
* **config:** better icons ([fe02e6c](https://github.com/max397574/care.nvim/commit/fe02e6cf7c778d72e08da483a5f1ca771239dab1)) | ||
* **config:** mark deprecated items specially ([3cd8202](https://github.com/max397574/care.nvim/commit/3cd8202cd4557832a64242e00898b88e58ed3dbb)) | ||
* **configuration_recipes:** add common fields section ([e5cb4d3](https://github.com/max397574/care.nvim/commit/e5cb4d36a94fddc1c171ef6ef889aed07f333748)) | ||
* **configuration_recipes:** add snippet for usage with autopairs ([c98b01b](https://github.com/max397574/care.nvim/commit/c98b01bcc2e772e5c1d8496dd4bb795d70969740)) | ||
* **config:** use some better icons ([677290e](https://github.com/max397574/care.nvim/commit/677290e84ea07cc6f10bd19f67790a679cebc241)) | ||
* default kind to text ([57e32b4](https://github.com/max397574/care.nvim/commit/57e32b416d0bf4a9d0033e415accff3965826aca)) | ||
* **docgen:** add link to source config ([ff85256](https://github.com/max397574/care.nvim/commit/ff852564f845c6dc8c7bf29cb38c621d1780574a)) | ||
* **docgen:** add new type files for presets ([a644de4](https://github.com/max397574/care.nvim/commit/a644de437c84136c1a1e0d3d8d653d2fff26465b)) | ||
* **docs:** add api documentation ([ed0a1a2](https://github.com/max397574/care.nvim/commit/ed0a1a258e87376801eb7d6d4b3720187b506883)) | ||
* **docs:** add configuration menu for bindings with reversed menu ([bedf993](https://github.com/max397574/care.nvim/commit/bedf9932d659084625b6f1c24ebbbc20e1b22d46)) | ||
* **docs:** don't mark all config fields as optional ([d7c433c](https://github.com/max397574/care.nvim/commit/d7c433c9642c08ae4acebe87346aaf0fb4d74527)) | ||
* don't redraw scrollbar so often ([8737db8](https://github.com/max397574/care.nvim/commit/8737db82e4e9c7653fb90759d2ee2c9e456c32c0)) | ||
* extend healthcheck ([ed9aa52](https://github.com/max397574/care.nvim/commit/ed9aa52519c9f9b22813d9bed5da2695a58d01fb)) | ||
* **format_data:** add source ([1cef1fc](https://github.com/max397574/care.nvim/commit/1cef1fc6d928e9100342cf7ddfd0e6c2e4daf5b4)) | ||
* generate config docs automatically ([1f7549f](https://github.com/max397574/care.nvim/commit/1f7549f6f051125dce12ff058a8aa145680d03db)) | ||
* **gitignore:** add .repro folder ([4a58209](https://github.com/max397574/care.nvim/commit/4a58209bb19c41d56f40f4234504d84199e48347)) | ||
* **issue_template:** add non-luarocks version to minimal repro ([26928db](https://github.com/max397574/care.nvim/commit/26928dbd20ddc6ab922bd32d8721ce51dce41a29)) | ||
* make linter happy ([8d77d02](https://github.com/max397574/care.nvim/commit/8d77d02bdd8150774eafc02c0d408d2c44025f34)) | ||
* make luacheck happy ([768582a](https://github.com/max397574/care.nvim/commit/768582a789654d9c633f1b2a06def98bc856427e)) | ||
* make typecheck happy ([40243a7](https://github.com/max397574/care.nvim/commit/40243a7b50fa844fe3a7f098fc84318b68f83473)) | ||
* **menu:** always use close function to close things ([3e16c53](https://github.com/max397574/care.nvim/commit/3e16c534eb3b222dcdbe26a791f8fecf8960f2ae)) | ||
* **menu:** better logic for highlighting matches ([78f621c](https://github.com/max397574/care.nvim/commit/78f621c1574941c4315c3384ce78a65c713844e1)) | ||
* more logging ([d85b170](https://github.com/max397574/care.nvim/commit/d85b170579ff9994dfb3cc638110b487a7055bf0)) | ||
* move api documentation to type annotations ([8a59193](https://github.com/max397574/care.nvim/commit/8a591936aebd4576c07ef9fb3289741647ab912a)) | ||
* new docgen ([eed8586](https://github.com/max397574/care.nvim/commit/eed858670f72cfed436947007bdca72ba1ab6ee9)) | ||
* only complete if keyword pattern has matches ([6fdc1c0](https://github.com/max397574/care.nvim/commit/6fdc1c05aa2363daae9721a22d7d3b32250a4192)) | ||
* only use config module for configuration ([5bd9e6a](https://github.com/max397574/care.nvim/commit/5bd9e6a89b66d0a3638944f7c1cb33cffda84282)) | ||
* pass additional data to format function ([feeb1c5](https://github.com/max397574/care.nvim/commit/feeb1c547bf99af86da52830c756cd04f89e47b7)) | ||
* **presets:** make better looking and more components ([02d3d25](https://github.com/max397574/care.nvim/commit/02d3d25afb65fe126c082bc1a3116eec890111af)) | ||
* **presets:** remove padding in fron of atom ([cb17af5](https://github.com/max397574/care.nvim/commit/cb17af56fbd13cfaa11730c2e7373684fd051278)) | ||
* **presets:** rename some presets and extend a lot ([67a9bc9](https://github.com/max397574/care.nvim/commit/67a9bc9788112226f09e3048e350398aeb483780)) | ||
* redraw when closing menu ([c1a828c](https://github.com/max397574/care.nvim/commit/c1a828c14951bc88480f7a08ec831b3f2330cabe)) | ||
* rename lsp source to just lsp ([7f4fd72](https://github.com/max397574/care.nvim/commit/7f4fd72f547f2126dea6b7926492381eb7064b85)) | ||
* rename setup to initialization and use setup for configuration ([785cd78](https://github.com/max397574/care.nvim/commit/785cd78b18137b54bd629cdcb0e5ef6d0adaee43)) | ||
* rename sorter to matcher ([d498295](https://github.com/max397574/care.nvim/commit/d49829563688f17f72af219933dbbb93e0a25a1f)) | ||
* reset scroll when opening docs ([bee30e8](https://github.com/max397574/care.nvim/commit/bee30e8a5b6ee30b4536e7d9077cebaa173707e4)) | ||
* rework get_offset function of entry ([cd3f338](https://github.com/max397574/care.nvim/commit/cd3f338df705b55bf8c8a3fd561b82f7860b05ea)) | ||
* setup logging ([94b6f18](https://github.com/max397574/care.nvim/commit/94b6f1871f4ef6c690f438e45328517f69d690b5)) | ||
* simplify confirm logic ([645147a](https://github.com/max397574/care.nvim/commit/645147af0388380672c77cc616b267fcfde3669a)) | ||
* **sources:** return no entries if prefix is just space ([343bdcd](https://github.com/max397574/care.nvim/commit/343bdcd8b1baaa862f1adb0323d9dbe04bc8f6be)) | ||
* **types:** mark fields in config as optional and more docs ([bda0dc0](https://github.com/max397574/care.nvim/commit/bda0dc0b6ba87d5ea20bffadec576030909d506d)) | ||
* update contributing.md ([a49f26e](https://github.com/max397574/care.nvim/commit/a49f26e392de8e7d4726b24e3e1bd35bffc081fa)) | ||
* update docgen ([466a9ff](https://github.com/max397574/care.nvim/commit/466a9ff56f616ee4b22e872051bb77293553ba30)) | ||
* update docs to reflect changes to setup ([f00a8e0](https://github.com/max397574/care.nvim/commit/f00a8e0a70bc80eb024985a0144715744cdbd14a)) | ||
* update issue template ([405b820](https://github.com/max397574/care.nvim/commit/405b8204e217579b11b70850f8a1f9d4b090a6fc)) | ||
* update issue template ([e4af624](https://github.com/max397574/care.nvim/commit/e4af624e9df63d1e8ed9adc3820055004cd25a9c)) | ||
* update issue template ([583e210](https://github.com/max397574/care.nvim/commit/583e210ca6dd1928ee8357afffc85a49d17c05bf)) | ||
* update issue template ([2c873d7](https://github.com/max397574/care.nvim/commit/2c873d76ad50930b86adce2e2e6d3250b031ede7)) | ||
* update minimal_init.lua ([651c187](https://github.com/max397574/care.nvim/commit/651c187bc792151ba29d8a781f0336ffc4a28d60)) | ||
* update some docs ([d2f831e](https://github.com/max397574/care.nvim/commit/d2f831ef640d5151806c45a57c321bf4a7ea2c2b)) | ||
* use winhighlight to make highlight groups usable ([8f99ed4](https://github.com/max397574/care.nvim/commit/8f99ed4fe7763ee672459faa6dcd44722f190cf3)) | ||
* **utils/window:** calculate space based on whole editor ([b476c17](https://github.com/max397574/care.nvim/commit/b476c173a3529862503aa3a8b1f0a62dac47d036)) | ||
* warn users when using setup to configure ([5056d02](https://github.com/max397574/care.nvim/commit/5056d028c7b4f4510a62b09b8d41ba3a10e378cb)) | ||
* **window:** better logic for opened_at column ([ba7a300](https://github.com/max397574/care.nvim/commit/ba7a300e827fdd9c8ae4e58a3e86a940bf27bd64)) | ||
* **window:** place relative to editor and make scrollbar win only scrollbar height ([bc7420b](https://github.com/max397574/care.nvim/commit/bc7420b915fcff274879f0926a16d599c4167105)) | ||
* **window:** respect border setting when opening scrollbar win ([83afd0f](https://github.com/max397574/care.nvim/commit/83afd0f1d7b7bd65bd03f0208339ef79c1de57a4)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **annotations:** make options argument to setup optional ([b5b9047](https://github.com/max397574/care.nvim/commit/b5b9047f48d2080a80b4c186eed1af81af1b122e)) | ||
* **config:** adapt type annotations ([c84a1dc](https://github.com/max397574/care.nvim/commit/c84a1dce9dad8426387d5635a52d3e41bd5dc279)) | ||
* **config:** check type_icons for nil ([a97d7f7](https://github.com/max397574/care.nvim/commit/a97d7f7292b46416469f79a10deb1f7b1e4fe3a2)) | ||
* **core:** also open menu if last source had no entries and close menu if no entries ([9e73343](https://github.com/max397574/care.nvim/commit/9e73343ca710566b6c0c5e4fc95caf6d529cbdec)) | ||
* **core:** don't open menu in normal mode ([37fd3cf](https://github.com/max397574/care.nvim/commit/37fd3cf0174f86461e9a6a28d15d43eb4e8f49c8)) | ||
* **core:** don't schedule opening multiple times ([35f56d4](https://github.com/max397574/care.nvim/commit/35f56d473d0edcdca43aa39708d4fb2b1d86a5c1)) | ||
* **core:** fix sorting function ([afebbfc](https://github.com/max397574/care.nvim/commit/afebbfccde24e82bcd680260ad8b089df5d460d4)) | ||
* **core:** resort by score with all entries combined ([2a8d401](https://github.com/max397574/care.nvim/commit/2a8d4012495515aaf774009a89ffb238b670263b)) | ||
* docgen ([1221cfc](https://github.com/max397574/care.nvim/commit/1221cfc719bb201703819ed23f964c8ea0381719)) | ||
* **docgen:** remove old parameter ([c0869e5](https://github.com/max397574/care.nvim/commit/c0869e5fd9615c82e38c2ada54674fef6045f759)) | ||
* **docgen:** remove questionmarks if not mark_optionals ([528c130](https://github.com/max397574/care.nvim/commit/528c130cea78e23fd1e899094935de9d5a48467b)) | ||
* **docs:** broken link ([2c1dab9](https://github.com/max397574/care.nvim/commit/2c1dab9eeb79ca38c8263deb5550c7aba4e1a512)) | ||
* **docs:** broken link ([2c8945c](https://github.com/max397574/care.nvim/commit/2c8945ce1ce520ae2ea81ddfcc9b528f501dd737)) | ||
* **docs:** broken link ([443da16](https://github.com/max397574/care.nvim/commit/443da1611436d86e0e9cc8b99a4305cee7d19030)) | ||
* **docs:** update title ([8d936ff](https://github.com/max397574/care.nvim/commit/8d936ff827f4dcb936b3c8733e6329e4f0f082cc)) | ||
* don't show entries when used tab ([bdb3036](https://github.com/max397574/care.nvim/commit/bdb3036f52037594077682e89e586a8ecba6d734)) | ||
* don't try to draw docs when no entry is selected ([d3d9765](https://github.com/max397574/care.nvim/commit/d3d97656b1fbbd80e86ee0bad775cefb5e535fbb)) | ||
* **entry:** fallback to empty string in whitespace check ([01aa061](https://github.com/max397574/care.nvim/commit/01aa0618200d048f594ce15218bc6d8548bb05c9)) | ||
* fallback for textEdit insertText ([3520991](https://github.com/max397574/care.nvim/commit/3520991bbf532702dd7dccbb2552ca721ca849ca)) | ||
* **health:** add missing fields in format data ([800741c](https://github.com/max397574/care.nvim/commit/800741c255939c0f345239662ec268557ac3eefa)) | ||
* **log:** correctly work with key value pairs ([636aa32](https://github.com/max397574/care.nvim/commit/636aa32f3c3f7caa56e4617a3c81397214c3e58f)) | ||
* **luacheck:** remove trailing whitespace ([bd784de](https://github.com/max397574/care.nvim/commit/bd784deda1428050123daade6cd15946b871753a)) | ||
* memory leak in entry class ([1947d64](https://github.com/max397574/care.nvim/commit/1947d644da9a481d37d381c193bd0cfdc16479a4)) | ||
* **menu:** don't preselect when drawing ([7c3b78a](https://github.com/max397574/care.nvim/commit/7c3b78abc4e7f9dd2a1d4393317ba96e9c5913db)) | ||
* **menu:** prevent errors when closing instantly after selecting ([9b52b5d](https://github.com/max397574/care.nvim/commit/9b52b5d3e7d07929a236b58407d073223830b5f3)) | ||
* **menu:** reset index when closing ([74cc5a7](https://github.com/max397574/care.nvim/commit/74cc5a7f1b5df1a92fe5281fa76f1df21e65b449)) | ||
* **menu:** scrolling regression ([70adb95](https://github.com/max397574/care.nvim/commit/70adb9506b0754858ef522a084ef66f39632349c)) | ||
* remove old type file ([d9093b0](https://github.com/max397574/care.nvim/commit/d9093b0cda0ea3066aeb0b19d6c54686290d228f)) | ||
* rename variable ([56637cf](https://github.com/max397574/care.nvim/commit/56637cf7cc108c814dcd52666aef66f1fefda9ba)) | ||
* **scripts:** add missing parentheses ([1f086a4](https://github.com/max397574/care.nvim/commit/1f086a450291170e0080b148b507d0c90ab4336d)) | ||
* **sorter:** overwrite fzy.filter to always have the same api ([f26a7cd](https://github.com/max397574/care.nvim/commit/f26a7cd11408ec280b85d400df02be7690c624e1)) | ||
* **sorter:** set score to 0 for non matching entries ([6984ab0](https://github.com/max397574/care.nvim/commit/6984ab0cbd6d7ec43d6f0d696c84da5f97b232bb)) | ||
* **sources:** don't complete after whitespace ([5a35b6c](https://github.com/max397574/care.nvim/commit/5a35b6c09697be8cd7570be2af0f915c88bbbae7)) | ||
* **types:** rename preset components file ([8128120](https://github.com/max397574/care.nvim/commit/8128120a8b34089ca7e27fea812ccecf34660d32)) | ||
* use strdisplaywidth to get width of elements ([a7d77fc](https://github.com/max397574/care.nvim/commit/a7d77fceede76feaede726402d60f339967ffec3)) | ||
* **utils/format:** look at each column separately for get_width ([d5a1b58](https://github.com/max397574/care.nvim/commit/d5a1b58b46a34a61aebf1969062fb833e08e7300)) | ||
* **utils/window:** adapt to option renaming ([9acbdd5](https://github.com/max397574/care.nvim/commit/9acbdd50edd22c51b22961ab8e2a74f93e1ee3c1)) | ||
* **utils/window:** off by one error for calculating available space ([9c1ce01](https://github.com/max397574/care.nvim/commit/9c1ce01061327a94e9d5400cda4fa256100e93e0)) | ||
* **utils/window:** use correct config ([1719717](https://github.com/max397574/care.nvim/commit/1719717d597b11115db9aa90ae78c7300618fe27)) | ||
* various issues with vertical cursor movement ([f98f552](https://github.com/max397574/care.nvim/commit/f98f5522a6aeffce2f6a935f37d38a647ee28b58)) | ||
* **window:** detection of border was wrong ([3031c68](https://github.com/max397574/care.nvim/commit/3031c68cc1e3ad94a2fd7135ecfab027d5343137)) | ||
* **window:** fix various issues regardin wrapped lines ([0fbe01c](https://github.com/max397574/care.nvim/commit/0fbe01ccaf927a29dbae848b63e308a1d10d29d7)) | ||
* **window:** issues with scrollbar with windows without border ([65d72b7](https://github.com/max397574/care.nvim/commit/65d72b7991895f658cba4a723f7787efd2e64aa5)) | ||
* **windows:** error when scrolling to top of window ([8b57625](https://github.com/max397574/care.nvim/commit/8b576250eab8e24568c6c4b131e23b8e561f7758)) | ||
|
||
|
||
### Performance Improvements | ||
|
||
* don't sort in sorter ([401fb56](https://github.com/max397574/care.nvim/commit/401fb56e1916b2f6e6029dd350babb6b84c702f3)) |