<commit_before># Migration

## 2.1.0 to ?

(Future release)

Provides basic support for IIIF image URLs in views with the helper `iiif(partial_image_path, size: "!150,150")`

__config/private.yml__

`iiif_path` must be added, see example in orchid's `private.yml` template

__config/public.yml__

`app_options.media_server_dir` is the name of the project's directory following the IIIF server path
`app_options.thumbnail_size` is the width and height of the image. Use "!" to preserve the ratio. Ex: "!200,200"

__config/initializers/config.rb__

Add `IIIF_PATH = PRIVATE["iiif_path"]` to this file to make `IIIF_PATH` accessible to application


## 2.0.0 to 2.1.0

This "minor" version changes configuration and addresses display bugs

__config/public.yml__

`title`, `subtitle`, and `shortname` have been moved to the locale files for language support. This is technically a breaking change for existing sites using 2.0.0 which relied on the default behavior for a single language to pull from the config instead of `locales/en.yml`, but as that is currently only one site, we are considering it a minor change.
<commit_msg>Document migration step for i18n changes<commit_after># Migration

## 2.1.0 to ?

(Future release)

Provides basic support for IIIF image URLs in views with the helper `iiif(partial_image_path, size: "!150,150")`

__config/private.yml__

`iiif_path` must be added, see example in orchid's `private.yml` template

__config/public.yml__

- `app_options.media_server_dir` is the name of the project's directory
  following the IIIF server path
- `app_options.thumbnail_size` is the width and height of the image. Use "!" to
  preserve the ratio. Ex: "!200,200"
- `app_options.languages` must now delimit all languages used in the app, rather
  than only non-default languages

__config/initializers/config.rb__

Add `IIIF_PATH = PRIVATE["iiif_path"]` to this file to make `IIIF_PATH` accessible to application


## 2.0.0 to 2.1.0

This "minor" version changes configuration and addresses display bugs

__config/public.yml__

`title`, `subtitle`, and `shortname` have been moved to the locale files for language support. This is technically a breaking change for existing sites using 2.0.0 which relied on the default behavior for a single language to pull from the config instead of `locales/en.yml`, but as that is currently only one site, we are considering it a minor change.

{'fraction_non_alphanumeric': 0.07743547044129892, 'fraction_numerical': 0.020815986677768527, 'mean_word_length': 4.762589928057554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2426819', 'n_tokens_mistral': 755, 'n_tokens_neox': 699, 'n_words': 312}