From 9f1670a224b0bbde94c6d7371234b65996caa2b9 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 10 Sep 2025 22:59:58 +0200 Subject: [PATCH] chore: release 1.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/release.yml | 4 ++-- CHANGELOG.md | 17 +++++++++++++++++ README.md | 2 +- manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ec367f..b7b49a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,7 +125,7 @@ jobs: ## Installation - ### Automatic Installation (Community Plugins) + ### Automatic Installation (Community Plugins) - Plugin still waiting for approval Search for "Typst PDF Export" in Obsidian's Community Plugins tab. ### Manual Installation @@ -138,7 +138,7 @@ jobs: ### Requirements - [Pandoc](https://pandoc.org/installing.html) - [Typst](https://typst.app/docs/installation/) - - ImageMagick (optional, for enhanced image processing) + - [ImageMagick](https://imagemagick.org) (for enhanced image processing) ## Files in this release - `main.js` - Plugin code with embedded templates diff --git a/CHANGELOG.md b/CHANGELOG.md index df22f86..f564ccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to the Obsidian Typst PDF Export plugin will be documented i The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.1] - 2025-01-10 + +### Fixed +- **Horizontal Rule Processing**: Resolved YAML parsing conflicts when documents contain horizontal rules (`---`) + - Added HorizontalRuleProcessor to transform horizontal rules to asterisks (`***`) before Pandoc processing + - Preserved YAML frontmatter by detecting and skipping frontmatter sections during transformation + - Added horizontalrule definition to all Typst templates for Pandoc compatibility +- **TypeScript Build Errors**: Fixed 23 TypeScript errors in 8 files + - Resolved DataAdapter casting issues with proper type assertions + - Fixed template variable type issues by adding undefined to union types + - Ensured type safety while maintaining full functionality + +### Changed +- **Code Quality**: Replaced explicit any types for Obsidian plugin review compliance + - Improved type safety throughout the codebase + - Enhanced code maintainability with proper type assertions + ## [1.2.0] - 2025-01-10 ### Changed diff --git a/README.md b/README.md index 1fa9b08..5122193 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Typst offers several advantages over standard PDF export: ## Installation -### Method 1: Community Plugin Store (Recommended) +### Method 1: Community Plugin Store (Recommended) - Still waiting on plugin approval 1. Open **Settings** → **Community Plugins** 2. **Disable Safe Mode** if needed diff --git a/manifest.json b/manifest.json index de686aa..fc85440 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "typst-pdf-export", "name": "Typst PDF Export", - "version": "1.2.0", + "version": "1.2.1", "minAppVersion": "1.9.12", "description": "Exports a note or collection of notes to a pretty Typst PDF.", "author": "Alexander Kucera", diff --git a/package.json b/package.json index 8060d72..683f303 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-typst-pdf-export", - "version": "1.2.0", + "version": "1.2.1", "description": "Exports a note or collection of notes to a pretty Typst PDF.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index ce2eb48..cdd97d4 100644 --- a/versions.json +++ b/versions.json @@ -2,5 +2,6 @@ "1.0.0": "1.9.12", "1.0.1": "1.9.12", "1.1.0": "1.9.12", - "1.2.0": "1.9.12" + "1.2.0": "1.9.12", + "1.2.1": "1.9.12" } \ No newline at end of file