From e4cfad3208161cdb676aac3d2b103658571e2325 Mon Sep 17 00:00:00 2001 From: max397574 <81827001+max397574@users.noreply.github.com> Date: Fri, 2 Aug 2024 11:28:38 +0200 Subject: [PATCH] chore(main): release 1.0.0 --- CHANGELOG.md | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..17e02b0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,109 @@ +# Changelog + +## 1.0.0 (2024-08-02) + + +### ⚠ BREAKING CHANGES + +* rename to care.nvim +* rename mappings to api + +### Features + +* add .luacheckrc ([b99da70](https://github.com/max397574/care.nvim/commit/b99da7020048bcf667b87df71afaa4c2cd4fa281)) +* add a mapping to complete manually ([32590af](https://github.com/max397574/care.nvim/commit/32590aff72c59accc88b6ef57870ab49bd1b6f51)) +* add annotation to fix type cheking ([c7c57e3](https://github.com/max397574/care.nvim/commit/c7c57e332dcdb542cb4c6bb5c3e3e93c4c9287f5)) +* add another make step for dev setup ([85f6bdb](https://github.com/max397574/care.nvim/commit/85f6bdb7efb01781d19b761d5eb9b841f8ec1126)) +* add build.lua for luarocks ([41691b3](https://github.com/max397574/care.nvim/commit/41691b3b61a0b559a99e88a291a128d1c0cb7317)) +* add config for sources ([a764c34](https://github.com/max397574/care.nvim/commit/a764c34ba6bd9813f0ba1bf28bae80a023ccb84b)) +* add default highlights for kind ([7e3d4df](https://github.com/max397574/care.nvim/commit/7e3d4df5d01aeaabbe2be9d589f53cf5c7afefee)) +* add doc scrolling to minimal init ([6dd19c5](https://github.com/max397574/care.nvim/commit/6dd19c512b37e93b542297268a3e391216c179aa)) +* add formatting to makefile ([47ebbc5](https://github.com/max397574/care.nvim/commit/47ebbc5b8b3748c2e306eba948f599f01300fdc8)) +* add function to check if menu is open ([78800f1](https://github.com/max397574/care.nvim/commit/78800f1d3eed33e475c55c2fe19e2bd51c96ab37)) +* add ghost text ([18ffde7](https://github.com/max397574/care.nvim/commit/18ffde7d38b5945d7747b85f719702c760d1f0fa)) +* add libraries for type annotations ([a9853db](https://github.com/max397574/care.nvim/commit/a9853db5f59c689ca26f84100977ce601c552cfa)) +* add mappings api ([#28](https://github.com/max397574/care.nvim/issues/28)) ([27a1313](https://github.com/max397574/care.nvim/commit/27a13131b386ed147c7344cb4ba794d945a2ec2c)) +* add minimal init ([089f362](https://github.com/max397574/care.nvim/commit/089f362eb8a4562532023a8108c2cf817976e7f2)) +* add module to get test data ([30a9bc3](https://github.com/max397574/care.nvim/commit/30a9bc3dac9f91bb4009d1909204df57fe02fced)) +* add new resolve method to source ([377ed58](https://github.com/max397574/care.nvim/commit/377ed582dbcb15b7b70f054b7e192a3d16ca58f2)) +* add scripts for .luarc.json ([146f3c4](https://github.com/max397574/care.nvim/commit/146f3c499c831a67edabf91a8f0c8011ae13de41)) +* add source field to entry and use it ([8d6e870](https://github.com/max397574/care.nvim/commit/8d6e8707f2e021c794892779855681e927ac5521)) +* add type annotations to fix warnings ([f724edc](https://github.com/max397574/care.nvim/commit/f724edca0d16e1b6b37b7b0d930e66b3d8b2c6ac)) +* add User autocmds ([d05014d](https://github.com/max397574/care.nvim/commit/d05014d2426b0b5c4e94e6893c2c24e831026be6)) +* allow benchmarking drawing of menu ([07c5ea7](https://github.com/max397574/care.nvim/commit/07c5ea794148ea99b8680a6303b978eee2e59e42)) +* allow disabling autocompletion ([5342d97](https://github.com/max397574/care.nvim/commit/5342d972bb5a7438e13dc99b35d405c3ff430d4f)) +* **api:** allow setting index directly ([3c607e1](https://github.com/max397574/care.nvim/commit/3c607e12df45ca762f98eb5f97edbca81e53c968)) +* builtin autocmd to close menu ([c6ca060](https://github.com/max397574/care.nvim/commit/c6ca060fb1ff40723ec7192c892937d0a3ecefa3)) +* **config/menu:** allow setting position of menu ([f8e8ca8](https://github.com/max397574/care.nvim/commit/f8e8ca8860bbf88a299cbb64f4c35feae424adbb)) +* **config:** update icons ([4ce90d9](https://github.com/max397574/care.nvim/commit/4ce90d91a9f6b1da0cc0bbcaa93709223dba3621)) +* **core:** allow custom filter per source ([47a4016](https://github.com/max397574/care.nvim/commit/47a4016e6546a0d98f7622537ee15cf953f06664)) +* **core:** allow support for max entries ([d0bcd5b](https://github.com/max397574/care.nvim/commit/d0bcd5bda9721d86786f243eddceb00b59318bcd)) +* docs view ([977bed4](https://github.com/max397574/care.nvim/commit/977bed4c49c0f974861e3e8e6f7ecb70c3cb1d2f)) +* **docs:** add documentation for blocking core ([a0101bd](https://github.com/max397574/care.nvim/commit/a0101bd515fdf663b7c5859234bdf85f0125f54d)) +* don't remove non-matching entries ([1b304f4](https://github.com/max397574/care.nvim/commit/1b304f4272ddf60fd40a310567c679e4651e6ec7)) +* **entry:** allow getting insert text ([776162c](https://github.com/max397574/care.nvim/commit/776162cdc1af78e14a8be6b21ef744fb5a3bd288)) +* extract lsp source ([7b9261d](https://github.com/max397574/care.nvim/commit/7b9261d07efe9562d763098fae5c21ecf7e615a6)) +* extract window class to utils ([959d5ac](https://github.com/max397574/care.nvim/commit/959d5acbeeee56c53f2e6ae4427e402891948566)) +* filtering ([5cfed8b](https://github.com/max397574/care.nvim/commit/5cfed8b8e4a1730b66738810c327a8764576e7b4)) +* fix tests failing because of rename ([072f0af](https://github.com/max397574/care.nvim/commit/072f0af14aab031f4e5bb9949f95a785da83133a)) +* **github:** update issue templates ([58fdcaf](https://github.com/max397574/care.nvim/commit/58fdcaf7668d9b0dd1d1788435cab428cdac16e4)) +* initial commit ([b77a8ca](https://github.com/max397574/care.nvim/commit/b77a8ca015e39fa70089ef9244204702483a1097)) +* **internal_source:** add method to get trigger characters ([45fa1fe](https://github.com/max397574/care.nvim/commit/45fa1fefd6ea74f2dae365d29f15533e96e22960)) +* **menu:** add scrollbar ([16ed834](https://github.com/max397574/care.nvim/commit/16ed8345e4576c5b5dffe27878acf3e6d630fa18)) +* **menu:** allow disabling scrollbar ([ef51148](https://github.com/max397574/care.nvim/commit/ef51148f0f8e90a44a5c1f97abd005e9424fdb41)) +* **menu:** rename complete to confirm and modify logic a big ([0b5a712](https://github.com/max397574/care.nvim/commit/0b5a712753ca55bded508a76f08d0ec58cc6c401)) +* **menu:** separate class for window things ([92e7a0e](https://github.com/max397574/care.nvim/commit/92e7a0e61cba441d307654404d37c066de235138)) +* **minimal_init:** use api for close autocmd ([e8de597](https://github.com/max397574/care.nvim/commit/e8de5976071b979ea833bf835317d89152271cc7)) +* more renaming ([391c9c9](https://github.com/max397574/care.nvim/commit/391c9c94e544d7914a2f8991128b24a9ee81b993)) +* new confirmation ([#39](https://github.com/max397574/care.nvim/issues/39)) ([747b82b](https://github.com/max397574/care.nvim/commit/747b82b135c6ffa9475ca144714261915b68b02a)) +* only print out completion item when printing entry ([ee75729](https://github.com/max397574/care.nvim/commit/ee7572946bf1c84fe635d517cb236596495ffd42)) +* rename mappings to api ([2ccb767](https://github.com/max397574/care.nvim/commit/2ccb76738b93793a6b2787638c6c797a4089f332)) +* rename to care.nvim ([fe5d1e4](https://github.com/max397574/care.nvim/commit/fe5d1e472a957cbab29ab0a087c30bde6deb219f)) +* rewrite ghost text ([bb96537](https://github.com/max397574/care.nvim/commit/bb96537d30e32b5125a0bbc11cb4532e88d31750)) +* rewrite some logic regarding offset and cleanup ([dd8cf2e](https://github.com/max397574/care.nvim/commit/dd8cf2ee7c1108595c9e003864c7334c3eb2131e)) +* set undo point before confirming completion ([84542f0](https://github.com/max397574/care.nvim/commit/84542f0a43a0dd9dd63f8c0a5278eae380845792)) +* simplify fix for cursor position ([3482c2f](https://github.com/max397574/care.nvim/commit/3482c2f6b5fd36242a00b0eaf55400cebc882d41)) +* **source:** add enabled function ([fcdef38](https://github.com/max397574/care.nvim/commit/fcdef38cc261911fccb960d432973bac2a65fd7b)) +* **sources:** also filter when completed for incomplete completions ([76828bb](https://github.com/max397574/care.nvim/commit/76828bb1f4db823775fe02fd6b305b6c8ff92b37)) +* **test/async:** make tests run faster ([aaa2c0f](https://github.com/max397574/care.nvim/commit/aaa2c0fa51d6ebbe471f3a89ed2d3032939440b1)) +* **test:** add makefile ([2824eb5](https://github.com/max397574/care.nvim/commit/2824eb5b839bbfd5a870c5aa1b6113832247b005)) +* **test:** add tests for general utils ([a06f5f9](https://github.com/max397574/care.nvim/commit/a06f5f96ac08678aa63d47ceb1149a93b1275e61)) +* **test:** add tests for lsp utils ([c63e032](https://github.com/max397574/care.nvim/commit/c63e032c96995c6ffe2bd8f5ac736638d4aa2bd9)) +* **test:** add tests for throttle function ([1287db8](https://github.com/max397574/care.nvim/commit/1287db887d15cb3e81bd49e8681d44f2aea3da88)) +* **tests:** add tests for confirming multiline entries ([9266fbe](https://github.com/max397574/care.nvim/commit/9266fbeffe81d05a5c36f8ccd51ca72dd78978dc)) +* **tests:** add tests for context ([b23f03f](https://github.com/max397574/care.nvim/commit/b23f03fb4b1d211617a9a03430595f5b9b6cb7ac)) +* update contributing.md and use lazydev.nvim ([54fe168](https://github.com/max397574/care.nvim/commit/54fe1682269101ee4a0b9d39122653b262d40bc5)) +* update docs ([70c91e1](https://github.com/max397574/care.nvim/commit/70c91e193acbf63d01b93b0d7dde414edfd58028)) +* update types ([2691df6](https://github.com/max397574/care.nvim/commit/2691df6253ecfe69ccd20ad2683165cd3d7f2991)) +* use markdown for types ([d83528c](https://github.com/max397574/care.nvim/commit/d83528cb43c9240a2db095c205a132a547540d5c)) +* **utils/async:** add throttle function ([7314f3e](https://github.com/max397574/care.nvim/commit/7314f3e15a3243467f347db230857f9de1fcbd48)) +* **window:** extract utils to get window data ([97e85fc](https://github.com/max397574/care.nvim/commit/97e85fcbce542972289a6a1d6ff667587ec81ecd)) +* **workflows:** add luarocks ([73aebb9](https://github.com/max397574/care.nvim/commit/73aebb9b08abf348f97d405a474084718ef52f02)) +* **workflows:** update release please ([3606ae1](https://github.com/max397574/care.nvim/commit/3606ae1768f8d6b94326d3e61a182b38d9ded3e5)) + + +### Bug Fixes + +* allow updating config with setup function ([2c407a5](https://github.com/max397574/care.nvim/commit/2c407a5e7e3e190ba0d618ddb74065e07747a74c)) +* **ci:** update paths in .luarc.json ([0d5d727](https://github.com/max397574/care.nvim/commit/0d5d727d83850e5f08ccabb148d5903dfd385d1e)) +* **contributing.md:** lazydev setup was incorrect ([08177e5](https://github.com/max397574/care.nvim/commit/08177e506f5c5cee55177f2c3a2b332464d21092)) +* **core:** respect enabled function from config ([4fad8b4](https://github.com/max397574/care.nvim/commit/4fad8b45ce24a422fa3ff380495910fe3971b4a0)) +* **entry:** check for textEdit.newText for getting word ([1199139](https://github.com/max397574/care.nvim/commit/11991396e4c52128f602ba20a79699ad314f128f)) +* **ghost_text:** update on menu draw ([ad388ba](https://github.com/max397574/care.nvim/commit/ad388ba7e0e7b299cd5b18c4f24b4815246c12a3)) +* **luacheck:** remove empty elseif branch ([081f221](https://github.com/max397574/care.nvim/commit/081f2217a2f356503db1d816ee3d338d1b63adec)) +* **mappings:** adapt to renaming to api ([f31a3d6](https://github.com/max397574/care.nvim/commit/f31a3d6073a2abd81c867540102f133831b7b4ba)) +* **menu:** check if there was a match for prefix ([6c4ae30](https://github.com/max397574/care.nvim/commit/6c4ae30b422f68108684beeaf34541d739d2795f)) +* **menu:** hide ghost text when closing window ([b89a560](https://github.com/max397574/care.nvim/commit/b89a56062150a717f257932d098907b0de9d25fb)) +* **menu:** improve scrolling behavior ([1d0bb00](https://github.com/max397574/care.nvim/commit/1d0bb006e6955c77e74f1147cee4bfb31dabbcaf)) +* **menu:** reset scroll when opening ([355e175](https://github.com/max397574/care.nvim/commit/355e1755d63b2e81f5b9771592cfdfb994a0a49f)) +* **menu:** use 0 as bufnr to set winoption ([bbd5b63](https://github.com/max397574/care.nvim/commit/bbd5b63d51488724fdab650c6a5fc77de856fe3e)) +* remove data from autocmd ([7903617](https://github.com/max397574/care.nvim/commit/790361728a27cd319d8b243b1fe9dccc4014ce34)) +* **scrollbar:** don't show if all entries are visible ([9491261](https://github.com/max397574/care.nvim/commit/949126189e4a9cae170a9ad7fd3dcca27a6ea327)) +* some window height things and better defaults ([983b9f9](https://github.com/max397574/care.nvim/commit/983b9f9c3c4468abbc314f30d1b2482d9acf05df)) +* **sorter:** reset score of entries ([dee016e](https://github.com/max397574/care.nvim/commit/dee016eb581f9f5f74ac1ef8ee0232f0663fe58b)) +* **test/async:** better check for minimal timeout ([81af952](https://github.com/max397574/care.nvim/commit/81af9525f778b6942f20f27f9d2ab7547c111c30)) +* type annotations ([9117ad3](https://github.com/max397574/care.nvim/commit/9117ad31314ccd8edc7b11e5a40b673653037e70)) +* **utils/window:** fix max_height ([7cd0c56](https://github.com/max397574/care.nvim/commit/7cd0c56cb820ad1f397da7b76eb502aec3d17220)) +* various small fixes regarding window logic and spacing ([9b59fe9](https://github.com/max397574/care.nvim/commit/9b59fe9cb513ad213a0623d0215a843fea91ea03)) +* **window:** correct spacing calculations ([0722908](https://github.com/max397574/care.nvim/commit/0722908d449fce626242e01f52bfe390696bf517)) +* **window:** reset more things when closing ([5cf3f93](https://github.com/max397574/care.nvim/commit/5cf3f93029566d1aa68ad746f07b94f6bf997ddd))