Repository navigation
release: 0.2.2 (LTB dashes, launcher port, '#' in DB path; TECH_DEBT cleanup) - #150
Merged
Merged
Conversation
- LTB dashes: clean_verse_text turns the source's soft hyphens (U+00AD, 2,346 rows) into a spaced en dash, so words no longer run together on screen. - SQLite read-only URIs use Path.as_uri(), so a '#' or '?' in the path no longer cuts it short and drops mode=ro (bible_lookup, bible_versions, book_names, import_bible). - Windows launcher: pywebview gets a free loopback port per launch instead of its fixed 42001, which another program could hold and serve its own page into the launcher window (reproduced on Windows). - TECH_DEBT.md: resolved and now-fixed entries removed; fixed entries go in the change that fixes them. - Version 0.2.2, CHANGELOG section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.2.2 for the next service, plus three tech-debt fixes done before the bump.
Fixes
LTB.SQLite3, and ourbible_ltb.sqlite) puts a soft hyphen (U+00AD) wherever a dash belongs, in 2,346 rows. A browser hides it, so the words ran together ("ganytojasaš", Psalm 23:1).clean_verse_textnow turns it into a spaced en dash on the read path.bible_data/is untouched, and future imports get the same cleanup. I checked every affected row: no soft hyphens or double spaces are left, and no dash is glued to a word. A sample reads as correct Lithuanian ("…rankas, – sako Viešpats", "Jo kūno – bažnyčios").#in a database path. The read-only SQLite URIs now usePath.resolve().as_uri(), so#/?are percent-encoded andmode=rois kept. The fix coversbible_lookup,bible_versions,book_namesand theimport_bibleprobe.verse_text.pyalready did this./launcher.html(reproduced on Windows). The new code sent no request there and smoke-tested clean. Each launch already has its own WebView2 profile, so a new origin per launch loses nothing.Docs
TECH_DEBT.md: the 10 resolved entries and the 3 fixed here are removed, and the header now says fixed entries go away in the change that fixes them. 2 open entries remain.CHANGELOG.md: "Unreleased" becomes0.2.2 (2026-11-28), with notes for the three fixes.backend/pyproject.tomlis now 0.2.2.Checks
#path, soft hyphen, free port, andhttp_portpassed towebview.start.After merge: tag
v0.2.2on the merge commit to build the installers.