Skip to content

Latest commit

 

History

History
322 lines (220 loc) · 32.3 KB

CHANGELOG.md

File metadata and controls

322 lines (220 loc) · 32.3 KB

Changelog

1.6.4 (2024-07-13)

Bug Fixes

  • provider[search-count]: Use pcall when querying search count (#92) (#93) (b0ed5b4)

1.6.3 (2024-07-11)

Bug Fixes

  • use correct keys on table from nvim_get_hl (#90) (71c969b), closes #89

1.6.2 (2024-05-25)

Bug Fixes

  • luarocks: trigger on push to main (#86) (fa9ce3c)

1.6.1 (2024-05-24)

Bug Fixes

  • luarocks: add nvim-web-devicons dependency (#84) (524be74)

1.6.0 (2024-05-19)

Features

  • lsp: add support for neovim 0.10 lsp api (#82) (43766d0)

1.5.1 (2024-04-19)

Bug Fixes

1.5.0 (2024-04-19)

Features

1.4.0 (2024-01-05)

Features

  • providers: line_percentage padding option (63df940)

1.3.4 (2023-12-27)

Bug Fixes

  • only error on termguicolors not set for version.minor < 10 (9cbace2)

1.3.3 (2023-11-28)

Bug Fixes

  • merge icon tables preferring user values (#58) (a50df1f)

1.3.2 (2023-11-20)

Bug Fixes

  • icon: use component.icon when its not a table (#49) (#55) (1dcf6bf)

1.3.1 (2023-11-20)

Bug Fixes

  • icon: prefer component icon over default (#53) (77e119d)

1.3.0 (2023-11-19)

Features

  • missing icon keys will be set to the default (#49) (#51) (b315e31)

Bug Fixes

  • diagnostics: disable undefined-field warnings (#50) (3eecdab)

1.2.4 (2023-11-18)

Bug Fixes

  • lsp: update deprecated function calls (#47) (4b0a439)

1.2.3 (2023-11-02)

Bug Fixes

  • require neovim 0.9+ due to deprecations (#38) (dfb7df1)

1.2.2 (2023-11-02)

Bug Fixes

  • hl: use nvim_get_hl due to deprecation (#36) (ae40427)

1.2.1 (2023-09-29)

Bug Fixes

  • vi_mode: add default color for confirm (#33) (c06efb4)

1.2.0 (2023-06-19)

Features

  • theme: add theme support for winbar and statuscolumn (#27) (db6e3ce)

1.1.1 (2023-05-06)

Bug Fixes

  • git: use updated nerd font icon for git changed indicator (#20) (#21) (c7998fd)

1.1.0 (2023-05-01)

Features

1.0.1 (2023-03-18)

Bug Fixes

  • log: remove 0.5-combat reference from requirement log message (#11) (6efdcd9)
  • theme: revert the removal of add_theme (#9) (f28c2ec), closes #8

1.0.0 (2023-03-11)

⚠ BREAKING CHANGES

  • Changes minimum required Neovim version to 0.7. Support for presets is removed.
  • The diagnostics_exist utility function now takes an integer containing the diagnostic severity instead of a string. For more info, do :help vim.diagnostic.severity in Neovim.
  • The colors configuration option in the setup function now needs to be renamed to theme.
  • Truncation now requires the nvim_eval_statusline API function. As a result, it will not work without the master branch of Neovim.
  • default_hl is now removed. Set the StatusLine and StatusLineNC highlights manually to set the highlights for the active and inactive statusline now.
  • The statusline providers no longer take a winid argument. Now you need to use vim.api.nvim_get_current_win() to get the statusline window and vim.api.nvim_get_current_buf() for the statusline buffer. For the actual current window / buffer, you need to use vim.g.actual_curwin and vim.g.actual_curbuf, respectively. As a result of this change, the update_triggers option has also been removed.
  • Smart component truncation has been removed and all configuration options that make use of it no longer work.
  • Section gaps no longer use the default bg color by default, so the section gap highlights need to be specified manually. For more info, see:
  • require('feline.providers').add_provider() no longer works.
  • The arguments for provider functions have been changed.
  • Support for old components table format, default_fg and default_bg and the properties table have all been removed
  • Modifying an existing preset is done differently now.
  • deprecate properties table
  • deprecate default_fg and default_bg

Features

  • macro provider (#324) (59fb7c7)
  • search_count provider (#322) (c14a931)
  • add always_visible option for icons (58ac1a4)
  • Add always_visible separator element (e85e6a6)
  • add custom_providers configuration option (791d097)
  • add default_hl configuration option (ee998c0)
  • Add git_info_exists utility function (ef61784)
  • add path_sep option to file_info provider (#304) (68ff807)
  • add reverse option to scroll bar provider (382e868)
  • add auto doc workflow (#76) (a006159)
  • add color theme support (47dc59e)
  • add fileformat provider (#177) (4c6b988)
  • add mode alias for "nt" (#156) (49f21e1)
  • add more configuration options for position provider (#278) (91580f5)
  • add smart component truncation (#110) (f8fb9c2)
  • add smart component truncation (#132) (087bc82)
  • add statusline generator benchmark (3b23c73)
  • add support for conditional components (#220) (5bda845), closes #141
  • add utility functions to check component truncation (#218) (b89c508)
  • allow all component values to take winid (#89) (20172e8)
  • allow better customization of vi_mode (5d5b9cd)
  • allow completely disabling statusline (bd6269d)
  • allow configuring highlight reset triggers (b0df1df)
  • allow configuring position provider padding (c40adf1)
  • allow configuring presets Feline on the fly (29b11b5)
  • allow customizing section gaps (dc18e87)
  • allow enable() to take winid as argument (1adf8de)
  • allow omitting provider (9a296f0)
  • allow str and hl of icon and separators to be functions (d9d04d0)
  • allow updating providers through triggers (#232) (677ce7d), closes #227
  • benchmark: download profiler.nvim if needed (0506b42)
  • default to noicon without "devicons" (ae9e609)
  • file_info: add colored_icon option (#44) (8d9dfe1)
  • file_info: add read-only indicator (#43) (1c75a91)
  • generator: add icon support for custom providers (0961775)
  • generator: add new components table format (#51) (8c809b2)
  • lazy load providers (fb14810)
  • make force_inactive and disable use Lua patterns (#92) (20b8c43)
  • providers/git: show branch name even if no files are opened (#54) (092442d)
  • Show icon and allow modifying case on filetype provider (#209) (7fd8334)
  • switch to semver (71aa447)
  • Use hl as hlgroup if hl is a string or fn->string (4f795e7)
  • vi_mode: Add nt mode (#174) (9ee565d)
  • winbar support (#267) (791c4b2)

Bug Fixes

  • add default value for custom_providers (5cf00b5)
  • allow reloading feline configuration (#231) (28ee9b8), closes #229
  • benchmark/startup: add gitsigns setup (079c614)
  • check if termguicolors is set (4ea98b9)
  • check if provider name is a string (9c193bc)
  • clear autocmds when clearing generator state (#236) (2b6ff21)
  • clear generator state when components table changes for a window (#273) (680129b)
  • correctly parse force_inactive and update_triggers config (8254d59)
  • disable truncation on Windows (#150) (674ce49)
  • don't add name to hl table if it doesn't exist (d1e4de3)
  • Don't append space to empty file_modified_icon (8d2379f)
  • don't defer current window reset (#64) (f9dfaa8)
  • don't return defhl if highlight is empty (39aafe1)
  • don't return hl.name unless it's cached (e5f5546)
  • don't show error if config is empty (4cc503a)
  • don't use global module variable (#336) (d48b6f9)
  • don't use hl if component is empty (7469aa1)
  • don't use vim.schedule to defer window update (3e3f5fd)
  • ensure config keys exist (#62) (fd9dea3)
  • ensure that parent_bg has a value (#74) (577bc4a)
  • escape special statusline chars in filename component (#275) (fba1aaa)
  • file_info: Don't load devicons if component.icon exists (e461980)
  • file_size: show size of non-existing files as 0. (66e3245)
  • fix issue causing truncation to be disabled in Linux (470d820)
  • fix LSP provider (29f5cbf), closes #192
  • generate correct name for hls with 'NONE' (8a8cbed)
  • get highlight properties of string highlights (a02d351)
  • inconsistent length of line_percentage (d372801), closes #48
  • Make disable work correctly. (7a1a27f)
  • make git_info_exists work properly with git_branch (e6333ef)
  • make position provider work correctly with tabs (#277) (4218b60)
  • make colorscheme changes not break feline (fbd31ae)
  • make disable inherit correct table (#68) (aca917d)
  • make file_info provider not return a trailing whitespace (#171) (996984a)
  • make force_inactive and disable work correctly (6295bd2)
  • make gaps between section respect bg color (a678974)
  • make icon hl fallback to default colors (b63bc47)
  • make is_disabled() actually use the settings (40ae5a6)
  • make minimal init and benchmark work with Windows (758dc26)
  • make minimal init work (#286) (2962c8c)
  • make position provider column number start from 1 (8329e5b)
  • make reset_highlights update inactive windows (bdf92b3)
  • make reset_highlights work roperly (c7b29c2)
  • make statusline update in all windows (#55) (a870c07)
  • make string providers and enabled work properly (6b49a17)
  • make table providers properly return icons (c9d5ef7)
  • make truncation work on Windows (5282250)
  • make vi_mode work correctly when component icon is set (1b973c9)
  • never generate empty string for statusline (128cdc9)
  • only check buffer local gitsigns info (6f7c7e7)
  • output error messages correctly (fe943cf)
  • packer error on minimal_init.lua (#317) (5d6a054)
  • parse_hl: make hl inherit parent_hl style (7b7fa0f)
  • preset: fix inactive statusline highlights (0662e5b)
  • provider/file: correctly get file extensions (#254) (06dda63)
  • provider/file: use correct icon for buffers not linked to a file (#251) (d7b8c67)
  • provider: search_count deal with empty/incomplete results (#329) (7e2cfa1)
  • providers/file_info: don't transform the empty filename (#243) (3a9ff03)
  • providers/file_info: Remove unnecessary trailing space (#214) (082174a)
  • providers: add missing vim modes (#290) (a6e9ce4)
  • providers: search_count with empty results (#332) (573e6d1)
  • remove duplicate mode_alias index (#230) (2c26a34)
  • remove print statement (4ef5e15)
  • remove print statement (#320) (f26dd12)
  • show "[No Name]" instead of "unnamed" for unnamed buffers (#217) (92806e9)
  • show correct component number on error (528d6ec)
  • update all windows after update triggers (#120) (c7eedbb)
  • use colors.fg as default value of parent_bg (9685971)
  • use column number instead of byte index for position (287ae68)
  • use correct maximum width for global statusline (#237) (293a3de)
  • use nvim-web-devicons correctly in file providers (#256) (c2d86f8)

Performance Improvements

  • don't store component indices unless needed (e8a7801)
  • don't use the # operator (4a42220)
  • generator: some optimizations (cb85842)
  • improve highlight caching (e871469)
  • presets: only load the preset being used (a703bed)
  • Replace vim.cmd with vim.api.nvim_command (b943a1e)
  • some optimizations (86c92f3)
  • use string.format instead of concatenation (a473c77)

Code Refactoring

  • deprecate properties table (617a4a6)
  • deprecate default_fg and default_bg (d204113)
  • evaluate providers in context of statusline window (#135) (f3b4691)
  • make presets return the components table (397f7db)
  • modify how providers are added (ce8ea32)
  • remove default_hl (c8af386)
  • remove component truncation (7686dcb)
  • remove deprecated features (aeeb7b4)
  • separate provider options from component values (#102) (5adbe55)
  • use vim.diagnostic for lsp provider (6be9ca2)