blob: a0144cb7b08b28c5ce6d005741d9b4687e670cec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.3.1] - 2021-09-29
### Changed
* More logging for `curl` calls when debug logging is enabled
### Fixed
* Selections made in visual lines mode ("V") should now work (thanks @naefl for debugging)
* No longer necessary to select past the end of the final line in visual mode ("v")
## [0.3.0] - 2021-09-20
### Added
* Added functions to get the current version e.g. `require('nvim-magic').version()`
### Changed
* Prefixed Lua modules that are meant to be private with `_`
* Gave `nvim-magic-openai` its own logger
### Fixed
* Running stylua in CI (thanks @abatilo)
## [0.2.3] - 2021-09-18
### Added
* Predefined `<Plug>` commands to make mapping custom key sequences to flows easier
## [0.2.2] - 2021-09-16
### Changed
* Vim notifications display buffer filename if possible
* Use [lustache](https://github.com/Olivine-Labs/lustache) for filling out prompt templates
## [0.2.1] - 2021-09-14
### Changed
* Disable requesting compressed HTTP responses on Windows as possibly it is less likely to be supported by Windows' `curl`s
### Fixed
* Send an appropriate Vim notification in more cases when `curl` terminates with nonzero exit code, rather than raising a plenary.path error
* Prevent logspam when OpenAI returns a non-200 HTTP status that was caused by a timer not being closed properly
## [0.2.0] - 2021-09-14
### Changed
* Use Vim notifications for info messages instead of echoing them
* Vendor forked curl code from [plenary.nvim](https://github.com/nvim-lua/plenary.nvim) so that upstream plenary.nvim can be required as a dependency without issue
* No longer freeze up Neovim while completions are being fetched ([#1](https://github.com/jameshiew/nvim-magic/issues/1))
### Fixed
* Using a default keymap in a buffer should work first time rather than just deselecting the current visual selection ([#2](https://github.com/jameshiew/nvim-magic/issues/2))
* OpenAI API key should no longer leak in an error message when `curl` times out, rather a generic request timed out error message is shown
## [0.1.0] - 2021-09-13
[0.3.1]: https://github.com/jameshiew/nvim-magic/compare/0.3.0...0.3.1
[0.3.0]: https://github.com/jameshiew/nvim-magic/compare/0.2.3...0.3.0
[0.2.3]: https://github.com/jameshiew/nvim-magic/compare/v0.2.2...0.2.3
[0.2.2]: https://github.com/jameshiew/nvim-magic/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/jameshiew/nvim-magic/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/jameshiew/nvim-magic/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/jameshiew/nvim-magic/releases/tag/v0.1.0
|