Skip to content

Commit 87174ee

Browse files
committed
Bump version to 0.6.0
1 parent 6c36497 commit 87174ee

File tree

5 files changed

+25
-7
lines changed

5 files changed

+25
-7
lines changed

AUTHORS

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Wei-Ning Huang <[email protected]>
55
Contributors
66
------------
77
Alexander 'z33ky' Hirsch <[email protected]>
8+
89
Brian Foley <[email protected]>
910
ChangZhuo Chen (陳昌倬) <[email protected]>
1011
Chris Smith <[email protected]>
@@ -20,6 +21,4 @@ Matan Rosenberg <[email protected]>
2021
Reverend Homer <[email protected]>
2122
2223
Simon Gene Gottlieb <[email protected]>
23-
24-
25-
24+

ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
cppman Changelog
33
------------------------------------------------------------------------------
44

5+
cppman 0.6.0 (Dec 19th, 2025):
6+
7+
Features added:
8+
* Implement hybrid search strategy with smart std:: prefix matching
9+
* Show first match directly by default (no selection menu)
10+
* Move interactive selection menu to -f flag
11+
* Add pagination support to selection menu (20 items per page)
12+
* Navigation commands: 'n'/'next' and 'p'/'prev' for page navigation
13+
* Refactor version management to use single source of truth (__version__.py)
14+
* Add GitHub Actions workflow for automated releases to PyPI
15+
* Update documentation (help text and man page)
16+
517
cppman 0.5.9 (Apr 10th, 2025):
618

719
Features added:

cppman/__version__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.6.0'

dev/update_authors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
AUTHOR='AZ Huang <[email protected]>'
3+
AUTHOR='Wei-Ning Huang <[email protected]>'
44

55
cat << EOF > AUTHORS
66
Developers

setup.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
from distutils.core import setup
44
import os
5-
import sys
65

7-
sys.path.insert(0, os.path.dirname(__file__))
8-
from cppman.__version__ import __version__
6+
def get_version():
7+
version_file = os.path.join(os.path.dirname(__file__), 'cppman', '__version__.py')
8+
with open(version_file, 'r') as f:
9+
for line in f:
10+
if line.startswith('__version__'):
11+
return line.split('=')[1].strip().strip("'\"")
12+
raise RuntimeError('Unable to find version string.')
13+
14+
__version__ = get_version()
915

1016
_package_data = [
1117
'lib/index.db',

0 commit comments

Comments
 (0)