Skip to content

Conversation

@swaits
Copy link
Contributor

@swaits swaits commented Oct 26, 2025

I am submitting

  • a new package
  • an update for a package

Description:

This release introduces the term-map parameter for automatic term transformations, refactors the internal term processing pipeline, and migrates to Tytanic for comprehensive panic testing.

New Features

  • term-map parameter: Apply automatic transformations to terms (e.g., converting to uppercase, adding prefixes/suffixes)
  • Enhanced modifier system: Better handling of term modifiers with proper validation and error messages
  • Improved pluralization: More robust plural form handling with better article determination

Testing Infrastructure

  • Migrated entire test suite to Tytanic runner for panic testing support
  • Added comprehensive error testing using catch() and assert-panic() functions
  • New test coverage for invalid parameter combinations (short:long, short:both, etc.)
  • Reorganized test files for better maintainability

Internal Improvements

  • Refactored term processing: Complete overhaul of how terms are parsed, validated, and displayed
  • Better error handling: More descriptive error messages for invalid configurations
  • Code organization: Cleaner separation of concerns between parsing, validation, and rendering
  • Performance: Optimized term lookup and processing pipeline

Build System

  • Updated Justfile to use Tytanic for image generation
  • Fixed preview image generation to work with test files containing panic assertions
  • Improved artifact generation workflow

Documentation

  • Updated README with clearer examples
  • Added documentation for term-map feature
  • Improved examples for all modifier combinations
  • Better explanation of term reference syntax

Bug Fixes

  • Fixed edge cases in article determination ("a" vs "an")
  • Resolved issues with nested modifier combinations
  • Fixed sorting behavior for special characters
  • Corrected plural form generation for edge cases

All changes maintain backward compatibility with v0.8.0. Existing glossaries will continue to work without modification.

This release introduces the `term-map` parameter for automatic term transformations, refactors the internal term processing pipeline, and migrates to Tytanic for comprehensive panic testing.

### New Features
- **term-map parameter**: Apply automatic transformations to terms (e.g., converting to uppercase, adding prefixes/suffixes)
- **Enhanced modifier system**: Better handling of term modifiers with proper validation and error messages
- **Improved pluralization**: More robust plural form handling with better article determination

### Testing Infrastructure
- Migrated entire test suite to Tytanic runner for panic testing support
- Added comprehensive error testing using `catch()` and `assert-panic()` functions
- New test coverage for invalid parameter combinations (`short:long`, `short:both`, etc.)
- Reorganized test files for better maintainability

### Internal Improvements
- **Refactored term processing**: Complete overhaul of how terms are parsed, validated, and displayed
- **Better error handling**: More descriptive error messages for invalid configurations
- **Code organization**: Cleaner separation of concerns between parsing, validation, and rendering
- **Performance**: Optimized term lookup and processing pipeline

### Build System
- Updated Justfile to use Tytanic for image generation
- Fixed preview image generation to work with test files containing panic assertions
- Improved artifact generation workflow

### Documentation
- Updated README with clearer examples
- Added documentation for term-map feature
- Improved examples for all modifier combinations
- Better explanation of term reference syntax

### Bug Fixes
- Fixed edge cases in article determination ("a" vs "an")
- Resolved issues with nested modifier combinations
- Fixed sorting behavior for special characters
- Corrected plural form generation for edge cases

All changes maintain backward compatibility with v0.8.0. Existing glossaries will continue to work without modification.
@typst-package-check typst-package-check bot added the update A package update. label Oct 26, 2025
This release introduces the `term-map` parameter for automatic term transformations, refactors the internal term processing pipeline, and migrates to Tytanic for comprehensive panic testing.

### New Features
- **term-map parameter**: Apply automatic transformations to terms (e.g., converting to uppercase, adding prefixes/suffixes)
- **Enhanced modifier system**: Better handling of term modifiers with proper validation and error messages
- **Improved pluralization**: More robust plural form handling with better article determination

### Testing Infrastructure
- Migrated entire test suite to Tytanic runner for panic testing support
- Added comprehensive error testing using `catch()` and `assert-panic()` functions
- New test coverage for invalid parameter combinations (`short:long`, `short:both`, etc.)
- Reorganized test files for better maintainability

### Internal Improvements
- **Refactored term processing**: Complete overhaul of how terms are parsed, validated, and displayed
- **Better error handling**: More descriptive error messages for invalid configurations
- **Code organization**: Cleaner separation of concerns between parsing, validation, and rendering
- **Performance**: Optimized term lookup and processing pipeline

### Build System
- Updated Justfile to use Tytanic for image generation
- Fixed preview image generation to work with test files containing panic assertions
- Improved artifact generation workflow

### Documentation
- Updated README with clearer examples
- Added documentation for term-map feature
- Improved examples for all modifier combinations
- Better explanation of term reference syntax

### Bug Fixes
- Fixed edge cases in article determination ("a" vs "an")
- Resolved issues with nested modifier combinations
- Fixed sorting behavior for special characters
- Corrected plural form generation for edge cases

All changes maintain backward compatibility with v0.8.0. Existing glossaries will continue to work without modification.
@elegaanz
Copy link
Member

Can you please delete the tests/ directory? It's quite large and I don't think it is useful to users of the package.

@elegaanz
Copy link
Member

Thank you.

@elegaanz elegaanz merged commit 011ec04 into typst:main Oct 28, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants