Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 3.0.0 #79

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# Changelog

## [3.0.0](https://github.com/jay-babu/mason-nvim-dap.nvim/compare/v2.0.2...v3.0.0) (2023-04-22)


### ⚠ BREAKING CHANGES

* 2.0 ([#59](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/59))
* **js:** re-add js due to popular demand. https://github.com/jay-babu/mason-nvim-dap.nvim/issues/17"
* **js:** remove js. not officially supported by nvim-dap. https://github.com/jay-babu/mason-nvim-dap.nvim/issues/17

### Features

* **.github:** stale cronjob ([7d9f778](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/7d9f7781267d5aec86201f0a3befbc817eb509da))
* 2.0 ([#59](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/59)) ([785265d](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/785265d9c92f7ce951bd6fe6e9675360fd3e86f8))
* **adapter:** add support for dart ([#35](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/35)) ([a775db8](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/a775db8ac7c468fb05fcf67069961dba0d7feb56))
* add elixir-ls ([#7](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/7)) ([6d73fdc](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/6d73fdc1b355a4d04890a72e39325d9fbf0f2107))
* add lldb, bash, java, mock, puppet, netcore, php, js-debug-adapter ([30282c9](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/30282c9246e6bebb1016604b7e5012ad33da9cc1))
* allowing users to pass in function to override instead of simply a list ([#40](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/40)) ([858942c](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/858942c3f14c71c4284b02ad754b26a3f8dcd5d4))
* **codelldb:** support automatic_setup ([#20](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/20)) ([40c9a53](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/40c9a53c208a2d7e008b27d994ac001fadc7a5a2))
* **cppdb:** Add asm filetype to configurations ([#42](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/42)) ([64f0b2e](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/64f0b2e9799fd0a6c635fbbf1d0e9ab4791a28a8))
* **elixir:** support automate_setup ([#19](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/19)) ([d6049cf](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/d6049cfc465bde98f0218b6d3eba99094b382cb3))
* **kotlin:** adding kotlin-debug-adapter ([#26](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/26)) ([2c97ca2](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/2c97ca269b8d375c6e60f1872373e692cf73bc18))
* obtain executable paths dynamically ([3dff251](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/3dff2516884888acc1e005b9f53116cd89c1f30b))
* support overriding filetypes for adapters ([#29](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/29)) ([d6cb770](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/d6cb770928b5cb9a6e3880d6bbb58858c1deeb18))


### Bug Fixes

* check if bash-debug-adapter is available then get its data ([#60](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/60)) ([b3cf65e](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/b3cf65e354986775279d41486748a7a35e6965af))
* **codelldb:** use vim.fn.exepath for command ([#51](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/51)) ([#52](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/52)) ([f464b1c](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/f464b1cd69f4a3db21910d85a94f3181f39c6ab4))
* use vim.fn.exepath for all adapter commands ([#54](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/54)) ([7f54a17](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/7f54a17954e58a587b465bb6f42fa6144dd4b69d))


### Performance Improvements

* Lazily require adapter mappings ([#70](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/70)) ([9816e2a](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/9816e2aa07872636018dc501753c119943c592f7))
* Lazily require adapter mappings ([#77](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/77)) ([7168745](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/7168745dc14959c3367ae0a545d0290a4700615d))


### Reverts

* [#74](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/74): Revert adapter breaking changes ([#75](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/75)) ([b874576](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/b874576d00be1dd25e5e9b375d9cd31718808583))
* **js:** re-add js due to popular demand. https://github.com/jay-babu/mason-nvim-dap.nvim/issues/17" ([6efa7cb](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/6efa7cb71db17813bd2630bc5ed6a413c869fc0f))


### bugfix

* **js:** remove js. not officially supported by nvim-dap. https://github.com/jay-babu/mason-nvim-dap.nvim/issues/17 ([48a4aa6](https://github.com/jay-babu/mason-nvim-dap.nvim/commit/48a4aa6769c83c5bedde349e2c047dbb770f1f71))

## [2.0.1](https://github.com/jay-babu/mason-nvim-dap.nvim/compare/v2.0.0...v2.0.1) (2023-04-09)


Expand Down
92 changes: 0 additions & 92 deletions lua/mason-nvim-dap/mappings/adapters.lua

This file was deleted.

4 changes: 4 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/bash.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
return {
type = 'executable',
command = vim.fn.exepath('bash-debug-adapter'),
}
4 changes: 4 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/chrome.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
return {
type = 'executable',
command = vim.fn.exepath('chrome-debug-adapter'),
}
14 changes: 14 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/codelldb.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
local M = {
type = 'server',
port = '${port}',
executable = {
command = vim.fn.exepath('codelldb'),
args = { '--port', '${port}' },
},
}

if vim.fn.has('win32') == 1 then
M.codelldb.executable.detached = false
end

return M
5 changes: 5 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/coreclr.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
type = 'executable',
command = vim.fn.exepath('netcoredbg'),
args = { '--interpreter=vscode' },
}
12 changes: 12 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/cppdbg.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
local M = {
id = 'cppdbg',
type = 'executable',
command = vim.fn.exepath('OpenDebugAD7'),
}
if vim.fn.has('win32') == 1 then
M.cppdbg.options = {
detached = false,
}
end

return M
5 changes: 5 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/dart.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
type = 'executable',
command = vim.fn.exepath('dart-debug-adapter'),
args = { 'flutter' },
}
9 changes: 9 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/delve.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation#go-using-delve-directly
return {
type = 'server',
port = '${port}',
executable = {
command = vim.fn.exepath('dlv'),
args = { 'dap', '-l', '127.0.0.1:${port}' },
},
}
4 changes: 4 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/firefox.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
return {
type = 'executable',
command = vim.fn.exepath('firefox-debug-adapter'),
}
17 changes: 17 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
--- Lazily map debug adapters

local M = {}

local META = {}
function META.__index(table, key)
local adapter, ok = pcall(require, 'mason-nvim-dap.mappings.adapters.' .. key)
if not ok then
return nil
end
table[key] = adapter
return adapter
end

setmetatable(M, META)

return M
5 changes: 5 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/kotlin.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
type = 'executable',
command = vim.fn.exepath('kotlin-debug-adapter'),
args = { '--interpreter=vscode' },
}
5 changes: 5 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/mix_task.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
type = 'executable',
command = vim.fn.exepath('elixir-ls-debugger'), -- https://github.com/williamboman/mason.nvim/blob/d97579ccd5689f9c6c365e841ea99c27954112ec/lua/mason-registry/elixir-ls/init.lua#L26
args = {},
}
4 changes: 4 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/node2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
return {
type = 'executable',
command = vim.fn.exepath('node-debug2-adapter'),
}
4 changes: 4 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/php.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
return {
type = 'executable',
command = vim.fn.exepath('php-debug-adapter'),
}
4 changes: 4 additions & 0 deletions lua/mason-nvim-dap/mappings/adapters/python.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
return {
type = 'executable',
command = vim.fn.exepath('debugpy-adapter'),
}