diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6d50a2c..bff1886 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,25 @@ CHANGELOG :depth: 1 :backlinks: top +0.8.0 +====== +**(2023-07-23)** + +Breaking Change +---------------- +Python 2 hosts are no longer supported. For NeoVim, 3.7 or later is required. + +Changed +------- +- the ``:CPYwrite`` command will try to add an ``@author`` tag to + existing JavaDoc comments above the main class in Java files +- comment headers in Pascal files are now enclosed by ``(*...*)`` + +Added +----- +- new option, ``g:cpywrite#java#add_class_doc``, to (dis/en)able adding + the ``@author`` tag to JavaDoc comments + 0.7.0 ====== **(2022-01-10)** diff --git a/README.rst b/README.rst index 6cc18e1..140c4fd 100644 --- a/README.rst +++ b/README.rst @@ -140,6 +140,12 @@ Options | | in all modes. | | | Default: ``0`` | +----------------------------------+-----------------------------------------------+ +| ``g:cpywrite#java#add_class_doc``| When set to a non-zero value, ``:CPYwrite`` | +| | will try to insert an appropriate ``@author`` | +| | tag into an existing JavaDoc comment above | +| | the main class definition. | +| | Default: ``1`` (file type must be ``java``) | ++----------------------------------+-----------------------------------------------+ .. _`0.7.0`: https://github.com/rdipardo/vim-cpywrite/blob/master/CHANGELOG.rst#changes-in-070 diff --git a/plugin/cpywrite.vim b/plugin/cpywrite.vim index 0225610..693b851 100644 --- a/plugin/cpywrite.vim +++ b/plugin/cpywrite.vim @@ -9,7 +9,7 @@ if get(g:, 'loaded_cpywrite') | finish | endif let g:loaded_cpywrite = 1 -let g:cpywrite#version = '0.8.0-pre' +let g:cpywrite#version = '0.8.0' if empty(get(g:, 'cpywrite#default_license', '')) let g:cpywrite#default_license = 'Apache-2.0' diff --git a/rplugin/python3/cpywrite/__init__.py b/rplugin/python3/cpywrite/__init__.py index 14f2b86..bc3518e 100644 --- a/rplugin/python3/cpywrite/__init__.py +++ b/rplugin/python3/cpywrite/__init__.py @@ -28,7 +28,7 @@ ``````` """ -__version__ = '0.8.0-pre' +__version__ = '0.8.0' __authors__ = ['Robert Di Pardo'] __url__ = 'https://github.com/rdipardo/vim-cpywrite' __license__ = 'MIT' diff --git a/version.txt b/version.txt index 1c22c69..a3df0a6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.8.0-pre +0.8.0