Releases: LintaoAmons/cd-project.nvim
v1.0.0
cd-project.nvim v1.0.0 Release Notes
Major Changes
Breaking Change: Mandatory Unique Project ID Field
- Introduced a mandatory unique
idfield in the project data structure to ensure accurate identification and deletion of projects, especially when names are duplicated. Existing projects will be automatically updated with an ID, but custom scripts or integrations relying on the previous data structure may need to be updated.
Telescope Picker Enhancements
- Refactored the Telescope adapter for better modularity and added functionality to delete projects directly from the picker using
<c-d>. - Added support for opening projects in horizontal and vertical splits using Telescope's built-in keybindings.
Hooks System Improvement
- Enhanced the hooks system to allow filtering based on the type of directory change command (
cd,tabe | tcd,lcd), providing more granular control over hook execution.
Upgrading from v0.12.1
Important: This release includes a breaking change. The project data structure now requires a unique id field. While the plugin will automatically assign IDs to existing projects, any custom scripts or external tools that parse or manipulate the project JSON file may need to be updated to handle this new field. Please review your scripts and update them to use the id field for project identification and deletion operations.
For a complete list of changes, see the CHANGELOG.md.
v0.12.0
cd-project.nvim v0.12.0 Release Notes
Major Changes
Project Sorting by Last Visited Time
- Added functionality to sort projects in the Telescope picker by the last visited time (
visited_at) - The current project is always placed at the bottom of the project list in the picker for easy access and visibility
Upgrading from v0.11.0
No breaking changes in this release. The new sorting by last visited time and positioning of the current project are automatically applied to the Telescope picker. No additional configuration is needed to use these features.
For a complete list of changes, see the CHANGELOG.md.
v0.11.0 Release Notes
cd-project.nvim v0.11.0 Release Notes
Major Changes
Project Position Tracking
- Added functionality to remember the last position in a project, including the last opened file and cursor position
- New configuration option
remember_project_positionto enable/disable this feature (enabled by default) - Added user commands for manual control:
CdProjectSavePosition: Manually save the current position in the projectCdProjectRestorePosition: Manually restore the saved position for the current project
- Position is automatically saved when leaving a buffer or closing Vim, and restored when switching to a project
Upgrading from v0.10.0
No breaking changes in this release. The new position tracking feature is enabled by default. If you prefer not to use this feature, you can disable it in your configuration:
require("cd-project").setup({
remember_project_position = false
})For a complete list of changes, see the CHANGELOG.md.
v0.10.0
cd-project.nvim v0.10.0 Release Notes
Major Changes
Simplified Tab Handling
- Removed the separate
CdProjectTabcommand and consolidated functionality into the mainCdProjectcommand - Changed keybinding for opening in new tab from
<c-o>to<c-t>for better mnemonic association (t for tab) - Improved tab detection and switching logic to prevent duplicate tabs of the same project
Enhanced Project Navigation
Added multiple context options for project navigation:
- Default: Change directory for all windows (
cd) - New tab: Open project in a new tab with
<c-t>(tabe | tcd) - Window-local: Change directory only for current window with
<c-e>(lcd)
Configuration Improvements
- Moved default configuration to a separate file for better organization
- Set Telescope as the default project picker
- Improved documentation with type annotations
Code Cleanup
- Removed redundant
cd_project_in_tabfunction and related code - Fixed inconsistent indentation in telescope adapter
- Streamlined project directory handling logic
Upgrading from v0.9.1
If you were using CdProjectTab command or the <c-o> keybinding in Telescope, update your workflow:
- Use
CdProjectand press<c-t>instead of the oldCdProjectTabcommand - The functionality remains the same but is now more consistent and intuitive
For a complete list of changes, see the CHANGELOG.md.
v0.9.1
What's Changed
- Filter out non-existing projects by @arntanguy in #36
New Contributors
- @arntanguy made their first contribution in #36
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- Properly call the hook callback in cd_project_in_tab by @hungyiloo in #32
- telescope shortcuts
New Contributors
- @hungyiloo made their first contribution in #32
Full Changelog: v0.8.0...v0.9.0
v0.8.0 format JSON with jq
What's Changed
- feat: Add format JSON with jq by @julianorchard in #30
New Contributors
- @julianorchard made their first contribution in #30
Full Changelog: v0.7.0...v0.8.0
v0.7.0 new command CdProjectTab
What's Changed
- add:
tcdsupport by @mgastonportillo in #29 - Add missing comma to README.md by @sophieforrest in #28
New Contributors
- @sophieforrest made their first contribution in #28
- @mgastonportillo made their first contribution in #29
Full Changelog: v0.6.1...v0.7.0
v0.6.1
v0.6.0
- Create
CdProjectDeletecommand: you don't need to delete the path you don't want by manually modify the json file anymore - Add a auto add function: When you use Nvim to open a directory, this directory will be automatically added into your project collection, you can turn it off from config.