Skip to content

Commit

Permalink
Release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rdipardo committed Jul 23, 2023
1 parent 9c314f7 commit 6d28748
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)**
Expand Down
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion plugin/cpywrite.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion rplugin/python3/cpywrite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0-pre
0.8.0

0 comments on commit 6d28748

Please sign in to comment.