diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98136d2..21c2560 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: run: mvn -B -ntp clean verify - name: Smoke test packaged Java app - run: bash scripts/smoke-packaged-jar.sh target/doc2faq-0.5.0.jar + run: bash scripts/smoke-packaged-jar.sh target/doc2faq-0.6.0.jar - name: Test browser export safety if: matrix.java == '21' diff --git a/.github/workflows/publish-v0.5.0.yml b/.github/workflows/publish-v0.6.0.yml similarity index 65% rename from .github/workflows/publish-v0.5.0.yml rename to .github/workflows/publish-v0.6.0.yml index 390b069..97088c8 100644 --- a/.github/workflows/publish-v0.5.0.yml +++ b/.github/workflows/publish-v0.6.0.yml @@ -1,4 +1,4 @@ -name: Publish Doc2FAQ v0.5.0 +name: Publish Doc2FAQ v0.6.0 # First run automatically when this workflow lands on main. Manual reruns # remain available, but the existing-release check prevents duplicate tags. @@ -6,14 +6,14 @@ on: push: branches: [main] paths: - - .github/workflows/publish-v0.5.0.yml + - .github/workflows/publish-v0.6.0.yml workflow_dispatch: permissions: contents: read concurrency: - group: doc2faq-v0.5.0-release + group: doc2faq-v0.6.0-release cancel-in-progress: false jobs: @@ -36,7 +36,7 @@ jobs: - name: Build, test, and smoke-test the packaged application run: | mvn -B -ntp clean verify - bash scripts/smoke-packaged-jar.sh target/doc2faq-0.5.0.jar + bash scripts/smoke-packaged-jar.sh target/doc2faq-0.6.0.jar publish: if: github.repository == 'OKAN-SOFTWARE/Doc2FAQ' && github.ref == 'refs/heads/main' @@ -61,23 +61,23 @@ jobs: with: node-version: '22' - - name: Refuse to replace an existing v0.5.0 release or tag + - name: Refuse to replace an existing v0.6.0 release or tag env: GH_TOKEN: ${{ github.token }} run: | - if gh release view v0.5.0 >/dev/null 2>&1; then - echo "v0.5.0 is already published. Refusing to overwrite it." + if gh release view v0.6.0 >/dev/null 2>&1; then + echo "v0.6.0 is already published. Refusing to overwrite it." exit 1 fi - if [ -n "$(git tag -l v0.5.0)" ]; then - echo "The v0.5.0 tag already exists. Review it before publishing." + if [ -n "$(git tag -l v0.6.0)" ]; then + echo "The v0.6.0 tag already exists. Review it before publishing." exit 1 fi - name: Build and verify the release JAR run: | mvn -B -ntp clean verify - bash scripts/smoke-packaged-jar.sh target/doc2faq-0.5.0.jar + bash scripts/smoke-packaged-jar.sh target/doc2faq-0.6.0.jar - name: Verify browser demo and Doc2FAQ homepage run: | @@ -89,21 +89,21 @@ jobs: shell: bash run: | set -euo pipefail - mkdir -p release/staging/Doc2FAQ-0.5.0 - cp target/doc2faq-0.5.0.jar release/doc2faq-0.5.0.jar - cp release/doc2faq-0.5.0.jar release/staging/Doc2FAQ-0.5.0/ - cp packaging/Start-Doc2FAQ.cmd packaging/WINDOWS-QUICK-START.md release/staging/Doc2FAQ-0.5.0/ + mkdir -p release/staging/Doc2FAQ-0.6.0 + cp target/doc2faq-0.6.0.jar release/doc2faq-0.6.0.jar + cp release/doc2faq-0.6.0.jar release/staging/Doc2FAQ-0.6.0/ + cp packaging/Start-Doc2FAQ.cmd packaging/WINDOWS-QUICK-START.md release/staging/Doc2FAQ-0.6.0/ # Windows cmd.exe expects CRLF-terminated batch files. - sed -i 's/$/\r/' release/staging/Doc2FAQ-0.5.0/Start-Doc2FAQ.cmd + sed -i 's/$/\r/' release/staging/Doc2FAQ-0.6.0/Start-Doc2FAQ.cmd ( cd release/staging - zip -q -r ../Doc2FAQ-0.5.0-Windows.zip Doc2FAQ-0.5.0 + zip -q -r ../Doc2FAQ-0.6.0-Windows.zip Doc2FAQ-0.6.0 ) - unzip -t release/Doc2FAQ-0.5.0-Windows.zip - unzip -p release/Doc2FAQ-0.5.0-Windows.zip Doc2FAQ-0.5.0/doc2faq-0.5.0.jar | cmp - release/doc2faq-0.5.0.jar + unzip -t release/Doc2FAQ-0.6.0-Windows.zip + unzip -p release/Doc2FAQ-0.6.0-Windows.zip Doc2FAQ-0.6.0/doc2faq-0.6.0.jar | cmp - release/doc2faq-0.6.0.jar ( cd release - sha256sum doc2faq-0.5.0.jar Doc2FAQ-0.5.0-Windows.zip > SHA256SUMS.txt + sha256sum doc2faq-0.6.0.jar Doc2FAQ-0.6.0-Windows.zip > SHA256SUMS.txt sha256sum -c SHA256SUMS.txt ) @@ -111,11 +111,11 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release create v0.5.0 \ + gh release create v0.6.0 \ --target "$GITHUB_SHA" \ - --title "Doc2FAQ v0.5.0 — Source & Review" \ - --notes-file docs/RELEASE-NOTES-0.5.0.md \ + --title "Doc2FAQ v0.6.0 — Approved Exports" \ + --notes-file docs/RELEASE-NOTES-0.6.0.md \ --latest \ - release/doc2faq-0.5.0.jar \ - release/Doc2FAQ-0.5.0-Windows.zip \ + release/doc2faq-0.6.0.jar \ + release/Doc2FAQ-0.6.0-Windows.zip \ release/SHA256SUMS.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 452f7af..47fd89c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable Doc2FAQ changes are recorded here. Version numbers follow semantic versioning; entries describe shipped source functionality and do not imply an external AI service. -## [Unreleased] +## [0.6.0] — 2026-12-01 ### Added - Export preview, copy, and downloads can include only approved FAQs, with a count of the selected entries. diff --git a/README.md b/README.md index 750de24..c6e34f1 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@ Doc2FAQ is a Java 21 / Spring Boot document-to-FAQ workbench. Paste text or uplo Created by **Okan Tiktas** · [OKAN-SOFTWARE](https://github.com/OKAN-SOFTWARE). -> **Latest release: v0.5.0 — Source & Review.** Download the ready-to-run JAR, Windows ZIP, and checksum file from [GitHub Releases](https://github.com/OKAN-SOFTWARE/Doc2FAQ/releases/tag/v0.5.0). +> Download the ready-to-run JAR, Windows ZIP, and checksum file from the [latest GitHub release](https://github.com/OKAN-SOFTWARE/Doc2FAQ/releases/latest). -## In development for v0.6.0 +## New in v0.6.0 — Approved Exports - **Approved-only exports:** choose **All FAQs** or **Approved only** for preview, copy, and downloads. The selection count updates as you review. -- **Original PDF pages:** the development browser demo shows page numbers beside the extracted passage. Open the referenced page in a new tab while the original PDF is loaded. +- **Original PDF pages:** the browser demo shows page numbers beside the extracted passage. Open the referenced page in a new tab while the original PDF is loaded. - **Draft quality:** browser suggestions use more specific phrasing for common sections and keep adjacent explicit Q&A separate. Similar-question flags compare normalized wording in order so differences in roles and qualifying terms stay visible. ## New in v0.5.0 — Source & Review @@ -23,7 +23,7 @@ I redesigned Doc2FAQ with an illustrated homepage and a responsive FAQ workbench - **Search and review filters:** combine a case-insensitive question/answer search with **All statuses**, **Needs review**, or **Approved**. The summary shows visible, approved, and pending counts. **Clear filters** restores the full list. Filters never change what is saved, previewed, or exported: all FAQs remain included, and incomplete entries still block export. - **Saved work compatibility:** approval status is preserved in project downloads and optional autosave. New saves use project schema 2; v0.4 schema-1 files still open with FAQs marked Needs review. Schema-2 files require v0.5 or later to reopen. -The source builds version `0.5.0` from `pom.xml` as `target/doc2faq-0.5.0.jar`. The published ZIP contains the same JAR, a Windows launcher, and a quick-start guide; release downloads also include SHA-256 checksums. +The source builds version `0.6.0` from `pom.xml` as `target/doc2faq-0.6.0.jar`. The published ZIP contains the same JAR, a Windows launcher, and a quick-start guide; release downloads also include SHA-256 checksums. ## New in v0.4.0 @@ -68,7 +68,7 @@ For detailed changes, see [CHANGELOG.md](CHANGELOG.md). For the release checklis ## Requirements -- To run a release download: **Java 21 or newer**. The JAR targets Java 21 bytecode; v0.5.0's **required automated compatibility matrix is Java 21–26**. Java 27 **passed an exploratory CI build and packaged-JAR smoke test** on November 8, 2026, but is not a committed v0.5.0 support target; formal support can follow in a later release. Newer Java versions are not automatically guaranteed compatible. The JAR works on Windows, macOS, and Linux; the Windows ZIP includes `Start-Doc2FAQ.cmd` and a quick-start guide. Extract the ZIP into a new folder, stop any older Doc2FAQ process, run the launcher, and open **http://localhost:8080**. Maven and Node.js are only needed to build and test from source. +- To run a release download: **Java 21 or newer**. The JAR targets Java 21 bytecode; v0.6.0's **required automated compatibility matrix is Java 21–26**. Java 27 **passed an exploratory CI build and packaged-JAR smoke test** on November 8, 2026, but is not a committed v0.6.0 support target; formal support can follow in a later release. Newer Java versions are not automatically guaranteed compatible. The JAR works on Windows, macOS, and Linux; the Windows ZIP includes `Start-Doc2FAQ.cmd` and a quick-start guide. Extract the ZIP into a new folder, stop any older Doc2FAQ process, run the launcher, and open **http://localhost:8080**. Maven and Node.js are only needed to build and test from source. To build from source: @@ -190,7 +190,7 @@ After updating your checkout to the latest `main`, run these commands from the d ```cmd mvn -B -ntp clean verify node --test src/test/js/*.test.cjs -java -jar target/doc2faq-0.5.0.jar +java -jar target/doc2faq-0.6.0.jar ``` The JavaScript checks require Node.js. Keep the terminal open while the app runs, and use **Ctrl+C** to stop it. Open **http://localhost:8080** and refresh the browser to load the updated frontend. @@ -198,7 +198,7 @@ The JavaScript checks require Node.js. Keep the terminal open while the app runs If port 8080 is occupied, stop the previous Doc2FAQ process or use an alternate port: ```cmd -java -jar target/doc2faq-0.5.0.jar --server.port=8081 +java -jar target/doc2faq-0.6.0.jar --server.port=8081 ``` Then open **http://localhost:8081**. Merging source changes does not update an existing JAR or a running Java process; rebuild and restart to use the fixes. Published JARs must be built from the corresponding release commit. @@ -353,4 +353,4 @@ MIT · Copyright © 2026 **Okan Tiktas**. ## Later releases -Optional AI generation with explicit opt-in and token/cost limits, OCR, and account/subscription workflows are outside the current v0.5.0 scope. See [docs/RELEASING.md](docs/RELEASING.md) for the validation and release process. +Optional AI generation with explicit opt-in and token/cost limits, OCR, and account/subscription workflows are outside the current v0.6.0 scope. See [docs/RELEASING.md](docs/RELEASING.md) for the validation and release process. diff --git a/docs/RELEASE-NOTES-0.6.0.md b/docs/RELEASE-NOTES-0.6.0.md new file mode 100644 index 0000000..7b57955 --- /dev/null +++ b/docs/RELEASE-NOTES-0.6.0.md @@ -0,0 +1,17 @@ +# Doc2FAQ v0.6.0 — Approved Exports + +I added an export scope so you can share the FAQs you reviewed even while the rest of the draft is still in progress. + +- Choose **All FAQs** or **Approved only**. Preview, copy, and downloads use the same selection in draft order. The export count is independent of what the review filters show. +- In the browser demo, source references show original PDF page numbers. Select **View source beside answer** to open the relevant page while the PDF is loaded. Saved projects retain the page numbers and extracted text. +- The browser demo suggests more specific questions for common handbook, product guide, and policy sections. It keeps adjacent explicit Q&A separate and preserves distinct answers for review. + +The app targets Java 21. Release checks cover JDKs 21 through 26. + +## Downloads + +- `doc2faq-0.6.0.jar` is the standalone Java app. +- `Doc2FAQ-0.6.0-Windows.zip` contains the same JAR, a Windows launcher, and a quick-start guide. +- `SHA256SUMS.txt` lists checksums for both downloads. + +See the [user guide](https://github.com/OKAN-SOFTWARE/Doc2FAQ/blob/v0.6.0/docs/USER-GUIDE.md) or try the [browser demo](https://okantiktas.com/projects/doc2faq/demo/). diff --git a/docs/RELEASING.md b/docs/RELEASING.md index ed19993..9a4abae 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -1,6 +1,6 @@ # Doc2FAQ release checklist -**Latest published download:** v0.5.0 — Source & Review. This checklist records how I validated and packaged the v0.5.0 release. A source merge alone does not update existing JAR downloads or running Java processes; each release needs its own tested build and assets. +Use the [latest published download](https://github.com/OKAN-SOFTWARE/Doc2FAQ/releases/latest) to check what I have shipped. This checklist describes how I validate and package v0.6.0. A source merge alone does not update existing JAR downloads or running Java processes; each release needs its own tested build and assets. ## Validate the release candidate @@ -10,7 +10,7 @@ Use JDK 21+, Maven 3.6.3+, and Node.js. CI compiles the application for Java 21 mvn -B -ntp clean verify node --test src/test/js/*.test.cjs node scripts/build-website.mjs -java -jar target/doc2faq-0.5.0.jar +java -jar target/doc2faq-0.6.0.jar ``` Open `http://localhost:8080` (or use `--server.port=8081` if occupied). Test the packaged JAR, not only a static frontend preview: @@ -18,7 +18,7 @@ Open `http://localhost:8080` (or use `--server.port=8081` if occupied). Test the On Linux or Git Bash, the optional automated JAR smoke check runs the packaged server locally, tests health, loads the frontend, and extracts an FAQ before stopping it: ```sh -bash scripts/smoke-packaged-jar.sh target/doc2faq-0.5.0.jar +bash scripts/smoke-packaged-jar.sh target/doc2faq-0.6.0.jar ``` GitHub Actions runs this smoke check on every push/PR. On Windows without Bash, use the equivalent manual checks below. @@ -30,16 +30,16 @@ GitHub Actions runs this smoke check on every push/PR. On Windows without Bash, 5. Use Keep both, merge, and Undo on similar questions. Preserve distinct passages and all references; newer edits or review decisions must clear stale undo history. 6. Save/reopen a complete and incomplete project. Verify source, filename, title, mode, order, edits, original excerpts, duplicate choices, and review status. Schema-1 files upgrade; new saves use schema 2. Invalid states and mismatched references leave the workspace intact. 7. Enable autosave, edit, wait for Saved in this browser, and reload. Clear saved data leaves the workspace open; Clear document removes source, draft, names, pending results, and its saved copy. Test blocked browser storage and use Save work as fallback. -8. With filters active, preview/download Markdown, JSON, HTML, PDF, and Word. Every FAQ remains included in draft order; a hidden incomplete entry blocks export. Verify edited values and optional references. Finished FAQ JSON is not a full project save. +8. With filters active, preview/download Markdown, JSON, HTML, PDF, and Word. Check both export scopes. All FAQs includes hidden entries and requires every entry to be complete. Approved only skips unapproved entries. Both scopes preserve draft order. Verify edited values and optional references. Finished FAQ JSON is not a full project save. 9. Import `TEst Data.pdf`, check the suggested `testdata-Doc2FAQ.pdf`, rename it, and verify the download. Check centered titles, PDF Lato fonts, page numbers, long answers/tokens, Unicode, and page breaks. Unsupported PDF glyphs must suggest Word. HTML must escape document markup. 10. Change source/mode, clear the document, or open another project during pending imports/drafting/exports. Old results must not replace or download current work. Check keyboard focus, mobile widths, and reduced motion. 11. Follow [WEB-DEMO.md](WEB-DEMO.md) for the separate static browser demo; verify its feature disclosure and website links. The demo cannot substitute for packaged-JAR testing. 12. Review the [Doc2FAQ design system](DESIGN-SYSTEM.md), including responsive layouts, readable focus states, reduced-motion behavior, and the **What's new** release-notes area. Confirm that an unreleased candidate is not presented as a published download. Keep browser context menus and developer tools available; browser UI restrictions are not an application security control. -## Prepare v0.5.0 +## Prepare v0.6.0 1. Review and merge development changes after CI and packaged-JAR checks pass. -2. Review the release-candidate branch with `pom.xml` already at `0.5.0`. Verify the README and guide match the JAR name. Leave v0.4.0 labeled as the latest published download until v0.5.0 actually ships. Date the changelog and update download links at publication. Keep historical v0.4.0 notes accurate. +2. Review the release-candidate branch with `pom.xml` already at `0.6.0`. Verify the README and guide match the JAR name. Date the changelog, verify the notes and update the build’s versioned product-site links. Deploy that build after GitHub publishes the release. 3. Update a clean checkout to the merged release commit, then build again: ```cmd @@ -50,19 +50,19 @@ GitHub Actions runs this smoke check on every push/PR. On Windows without Bash, mvn -B -ntp clean verify node --test src/test/js/*.test.cjs node scripts/build-website.mjs - java -jar target/doc2faq-0.5.0.jar + java -jar target/doc2faq-0.6.0.jar ``` - On Linux or Git Bash, also run `bash scripts/smoke-packaged-jar.sh target/doc2faq-0.5.0.jar` against the clean build. The application must be stopped before the manual JAR launch, unless you specify an alternate port. + On Linux or Git Bash, also run `bash scripts/smoke-packaged-jar.sh target/doc2faq-0.6.0.jar` against the clean build. The application must be stopped before the manual JAR launch, unless you specify an alternate port. -4. Confirm a clean working tree and record the exact SHA. Repeat the packaged-JAR smoke check. Confirm that v0.5.0 does not already exist as a tag or release. +4. Confirm a clean working tree and record the exact SHA. Repeat the packaged-JAR smoke check. Confirm that v0.6.0 does not already exist as a tag or release. ## Publish tested artifacts -1. Merge the verified release candidate into `main`. The version-specific [release workflow](../.github/workflows/publish-v0.5.0.yml) runs on the first merge that adds it to `main`; it can also be retriggered manually using **Run workflow** after a fix. Do not create the `v0.5.0` tag or release in advance. -2. That workflow builds, tests, and smoke-tests the exact release commit on **every supported JDK (21–26)** before the publish job can start. If any matrix entry fails, publication is skipped. It then checks for an existing release/tag, builds with Java 21, runs browser tests, and assembles `doc2faq-0.5.0.jar` and `Doc2FAQ-0.5.0-Windows.zip`. The ZIP contains the **same JAR**, `Start-Doc2FAQ.cmd`, and `WINDOWS-QUICK-START.md`. It verifies the archive and writes `SHA256SUMS.txt` for both downloads. -3. **Only after every check passes**, the workflow creates the `v0.5.0` tag at the exact tested commit and publishes **Doc2FAQ v0.5.0 — Source & Review** with [release notes](RELEASE-NOTES-0.5.0.md) and all three files. If the release job fails, do not call it published; inspect the run, fix the cause, and rerun without replacing any existing tag or release. +1. Merge the verified release candidate into `main`. The version-specific [release workflow](../.github/workflows/publish-v0.6.0.yml) runs on the first merge that adds it to `main`; it can also be retriggered manually using **Run workflow** after a fix. Do not create the `v0.6.0` tag or release in advance. +2. That workflow builds, tests, and smoke-tests the exact release commit on **every supported JDK (21–26)** before the publish job can start. If any matrix entry fails, publication is skipped. It then checks for an existing release/tag, builds with Java 21, runs browser tests, and assembles `doc2faq-0.6.0.jar` and `Doc2FAQ-0.6.0-Windows.zip`. The ZIP contains the **same JAR**, `Start-Doc2FAQ.cmd`, and `WINDOWS-QUICK-START.md`. It verifies the archive and writes `SHA256SUMS.txt` for both downloads. +3. **Only after every check passes**, the workflow creates the `v0.6.0` tag at the exact tested commit and publishes **Doc2FAQ v0.6.0 — Approved Exports** with [release notes](RELEASE-NOTES-0.6.0.md) and all three files. If the release job fails, do not call it published; inspect the run, fix the cause, and rerun without replacing any existing tag or release. 4. Inspect the published commit, notes and assets. Download the assets independently, verify hashes and the ZIP/JAR match, then start the published JAR on Java 21. Confirm the version, health, review status, source viewer, and PDF/Word exports. -5. Date the changelog and update README and product-site release links to v0.5.0 after publication. Rebuild/synchronize the browser demo when shared frontend code changes. Verify the actual Hostinger custom-domain routes and links before calling the public website current. +5. After publication, deploy the matching v0.6.0 product-site build. Rebuild/synchronize the browser demo when shared frontend code changes. Verify the actual Hostinger custom-domain routes and links before calling the public website current. Accounts, billing, OCR, external AI, and public-server hardening remain separate work. The Java build is intended for local use; the static browser demo runs its simplified drafting on visitors' devices. diff --git a/packaging/Start-Doc2FAQ.cmd b/packaging/Start-Doc2FAQ.cmd index 92265ff..dec46bb 100644 --- a/packaging/Start-Doc2FAQ.cmd +++ b/packaging/Start-Doc2FAQ.cmd @@ -1,10 +1,10 @@ @echo off setlocal cd /d "%~dp0" -title Doc2FAQ v0.5.0 +title Doc2FAQ v0.6.0 echo ==================================================== -echo Doc2FAQ v0.5.0 - Local Java application +echo Doc2FAQ v0.6.0 - Local Java application echo ==================================================== echo. echo This window runs your local Doc2FAQ server. @@ -12,7 +12,7 @@ echo Once it starts, open: http://localhost:8080 echo Keep this window open while using the application. echo. -if not exist "doc2faq-0.5.0.jar" ( +if not exist "doc2faq-0.6.0.jar" ( echo ERROR: The JAR is missing. Extract the entire ZIP first. goto :failed ) @@ -26,7 +26,7 @@ if errorlevel 1 ( java -version echo. -java -jar "doc2faq-0.5.0.jar" +java -jar "doc2faq-0.6.0.jar" if errorlevel 1 goto :failed echo. echo Doc2FAQ has stopped. diff --git a/packaging/WINDOWS-QUICK-START.md b/packaging/WINDOWS-QUICK-START.md index 103ec90..6d0e44e 100644 --- a/packaging/WINDOWS-QUICK-START.md +++ b/packaging/WINDOWS-QUICK-START.md @@ -1,7 +1,7 @@ -# Doc2FAQ v0.5.0 — Windows quick start +# Doc2FAQ v0.6.0 — Windows quick start -1. Extract the **entire** `Doc2FAQ-0.5.0-Windows.zip` to a folder. Do not launch it while still inside the ZIP. -2. Install Java 21–26 if needed. In Command Prompt, run `java -version` to confirm it works. The app targets Java 21 bytecode. Java 27 had an exploratory successful test but is not part of the official v0.5.0 compatibility matrix. +1. Extract the **entire** `Doc2FAQ-0.6.0-Windows.zip` to a folder. Do not launch it while still inside the ZIP. +2. Install Java 21–26 if needed. In Command Prompt, run `java -version` to confirm it works. The app targets Java 21 bytecode. Java 27 had an exploratory successful test but is not part of the official v0.6.0 compatibility matrix. 3. Double-click `Start-Doc2FAQ.cmd`. A terminal window explains that the app is starting and stays open while the server is running. 4. Open [http://localhost:8080](http://localhost:8080) in your browser after Java has started. 5. Close the terminal or press **Ctrl+C** when you are finished. @@ -9,13 +9,13 @@ If Windows blocks an unfamiliar downloaded script, do not disable Windows protections. You can instead open Command Prompt in the extracted folder and run: ```cmd -java -jar doc2faq-0.5.0.jar +java -jar doc2faq-0.6.0.jar ``` If port 8080 is already used, stop the older Doc2FAQ process or run: ```cmd -java -jar doc2faq-0.5.0.jar --server.port=8081 +java -jar doc2faq-0.6.0.jar --server.port=8081 ``` Then open [http://localhost:8081](http://localhost:8081). diff --git a/pom.xml b/pom.xml index 0ef0c07..0cfca25 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.okansoftware doc2faq - 0.5.0 + 0.6.0 Doc2FAQ Privacy-conscious document-to-FAQ preview workbench diff --git a/scripts/smoke-packaged-jar.sh b/scripts/smoke-packaged-jar.sh index ba22c2e..f463148 100644 --- a/scripts/smoke-packaged-jar.sh +++ b/scripts/smoke-packaged-jar.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -jar_path="${1:-target/doc2faq-0.5.0.jar}" +jar_path="${1:-target/doc2faq-0.6.0.jar}" port="${DOC2FAQ_SMOKE_PORT:-18080}" base_url="http://127.0.0.1:${port}" diff --git a/scripts/verify-website-build.mjs b/scripts/verify-website-build.mjs index e12ffa1..4eb408d 100644 --- a/scripts/verify-website-build.mjs +++ b/scripts/verify-website-build.mjs @@ -13,15 +13,17 @@ assert.match(home, /href="\.\/styles\.css"/, 'Homepage loads styles relative to assert.match(home, /
/, 'Mobile visitors can open homepage navigation'); assert.doesNotMatch(home, /href="\/(?:demo\/|styles\.css|)"/, 'No domain-root homepage links'); assert.match(home, /id="whats-new"/, 'Homepage includes the release notes preview'); -assert.match(home, /v0\.5\.0 AVAILABLE/, 'Published version is visibly labeled'); -assert.match(home, /Released November 8, 2026/, 'Release date is explicit'); +assert.match(home, /v0\.6\.0 AVAILABLE/, 'Published version is visibly labeled'); +assert.match(home, /Released December 1, 2026/, 'Release date is explicit'); assert.match(home, /Java 21–26/, 'Homepage reflects the required compatibility matrix'); -assert.match(home, /v0\.5\.0 Java app and Windows ZIP are ready to download/, 'Current release downloads are identified accurately'); -assert.match(home, /releases\/tag\/v0\.5\.0/, 'Homepage links directly to the published release'); +assert.match(home, /v0\.6\.0 Java app and Windows ZIP are ready to download/, 'Current release downloads are identified accurately'); +assert.match(home, /releases\/tag\/v0\.6\.0/, 'Homepage links directly to the published release'); assert.match(demo, /href="\.\.\/"/, 'Demo navigates back to its own homepage'); assert.match(demo, /THE INTERACTIVE PLAYGROUND/, 'Demo is branded consistently'); assert.match(demo, /id="file-input"/, 'File import remains available'); assert.match(demo, /id="export-format"/, 'FAQ export remains available'); +assert.match(demo, /id="export-scope"/, 'Approved-only export scope is available'); +assert.match(demo, /id="source-pdf-pages"/, 'Original PDF page links have a place in the source viewer'); assert.match(demo, /