diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3cd12c03..19defdef 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,11 @@ -- [] I have added an entry to `docs/changelog.md` +- [] I have added an entry to `CHANGELOG.md`, or an entry is not needed for this change ## Summary of changes + ## Test plan diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f5dcf46..8403ef21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,14 @@ ## 0.15.0.0 -No new features, just bugfixes and compatibility fixes +This release is focused mostly on Python 3.9 compatibility and updating dependencies -- Support only Python 3.9 (though other Python versions may work) +- Support only Python 3.9 (though other Python versions may still work) - Use only the threading async model for flask-socketio. No longer support gevent or eventlet. - [bugfix] Catch exception if gdb used in tty window crashes instead of gdbgui crashing along with it -- Disable pagination in gdb ttyy by default. It can be turned back on with `set pagination off`. +- Disable pagination in gdb tty by default. It can be turned back on with `set pagination off`. - Upgrade various dependencies for both the backend and frontend (Python and JavaScript) +- Display gdbgui version in "about" and "session information" ## 0.14.0.2 diff --git a/MANIFEST.in b/MANIFEST.in index 0f8583c2..880a7224 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,7 +17,7 @@ prune docker prune images prune gdbgui/__pycache__ prune gdbgui/server/__pycache__ -prune gdbgui/src/ +prune gdbgui/src exclude mypy.ini exclude .eslintrc.json diff --git a/gdbgui/server/app.py b/gdbgui/server/app.py index d9a106ab..72377833 100644 --- a/gdbgui/server/app.py +++ b/gdbgui/server/app.py @@ -260,7 +260,7 @@ def read_and_forward_gdb_and_pty_output(): pass except Exception: - logger.error(traceback.format_exc()) + logger.error("caught exception, continuing:" + traceback.format_exc()) debug_sessions_to_remove += check_and_forward_pty_output() for debug_session in set(debug_sessions_to_remove): diff --git a/gdbgui/src/js/InitialStoreData.ts b/gdbgui/src/js/InitialStoreData.ts index fd0761e9..cf40da47 100644 --- a/gdbgui/src/js/InitialStoreData.ts +++ b/gdbgui/src/js/InitialStoreData.ts @@ -14,7 +14,7 @@ const initial_store_data = { // @ts-expect-error ts-migrate(2304) FIXME: Cannot find name 'initial_data'. gdbgui_version: initial_data.gdbgui_version, latest_gdbgui_version: "(not fetched)", - gdb_version: undefined, // this is parsed from gdb's output + gdb_version: "unknown", // this is parsed from gdb's output gdb_version_array: [], // this is parsed from gdb's output gdb_pid: undefined, // @ts-expect-error ts-migrate(2304) FIXME: Cannot find name 'initial_data'. diff --git a/gdbgui/src/js/TopBar.tsx b/gdbgui/src/js/TopBar.tsx index dedd4657..35e18c05 100644 --- a/gdbgui/src/js/TopBar.tsx +++ b/gdbgui/src/js/TopBar.tsx @@ -45,7 +45,13 @@ let About = { show_about: function() { Actions.show_modal( "About gdbgui", - Copyright © Chad Smith, chadsmith.dev +
+
gdbgui, v{store.get("gdbgui_version")}
+
Copyright © Chad Smith
+
+ chadsmith.dev +
+
); } }; @@ -59,10 +65,12 @@ let show_session_info = function() { gdb version: {store.get("gdb_version")} - gdb pid for this tab: {store.get("gdb_pid")} + + gdbgui v{store.get("gdbgui_version")} +