<commit_before># Changelog

> **Tags:**
> - [New Feature]
> - [Bug Fix]
> - [Breaking Change]
> - [Documentation]
> - [Internal]
> - [Polish]
> - [Experimental]

**Note**: Gaps between patch versions are faulty/broken releases.
**Note**: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.

## v0.8.0

- **Breaking Change**
    - drop `uvdom`, `uvdom-bootstrap` dependencies
    - bootstrap templates in its own repo (tcomb-form-templates-bootstrap)[https://github.com/gcanti/tcomb-form-templates-bootstrap]
    - semantic templates in its own repo (tcomb-form-templates-semantic)[https://github.com/gcanti/tcomb-form-templates-semantic]

**Migration guide**

`tcomb-form` follows semver and technically this is a breaking change (hence the minor version bump).
However, if you are using the default bootstrap templates, the default language (english) and you are not relaying on the `uvdom` and `uvdom-bootstrap` modules, this is **not a breaking change** for you.

### How to

**I'm using the default bootstrap templates and the default language (english)**

This is easy: nothing changed for you.

**I'm using the default bootstrap templates but I override the language**

```diff
var t = require('tcomb-form/lib');
-var templates = require('tcomb-form/lib/templates/bootstrap');
+var templates = require('tcomb-form-templates-bootstrap');

t.form.Form.templates = templates;
t.form.Form.i18n = {
  ...
};
```

(contributions to `src/i18n` folder welcome!)

**I'm using the default language (english) but I override the templates**

```sh
npm install tcomb-form-templates-semantic --save<commit_msg>fix typo<commit_after># Changelog

> **Tags:**
> - [New Feature]
> - [Bug Fix]
> - [Breaking Change]
> - [Documentation]
> - [Internal]
> - [Polish]
> - [Experimental]

**Note**: Gaps between patch versions are faulty/broken releases.
**Note**: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.

## v0.8.0

- **Breaking Change**
    - drop `uvdom`, `uvdom-bootstrap` dependencies
    - bootstrap templates in its own repo [tcomb-form-templates-bootstrap](https://github.com/gcanti/tcomb-form-templates-bootstrap)
    - semantic templates in its own repo [tcomb-form-templates-semantic](https://github.com/gcanti/tcomb-form-templates-semantic)

**Migration guide**

`tcomb-form` follows semver and technically this is a breaking change (hence the minor version bump).
However, if you are using the default bootstrap templates, the default language (english) and you are not relaying on the `uvdom` and `uvdom-bootstrap` modules, this is **not a breaking change** for you.

### How to

**I'm using the default bootstrap templates and the default language (english)**

This is easy: nothing changed for you.

**I'm using the default bootstrap templates but I override the language**

```diff
var t = require('tcomb-form/lib');
-var templates = require('tcomb-form/lib/templates/bootstrap');
+var templates = require('tcomb-form-templates-bootstrap');

t.form.Form.templates = templates;
t.form.Form.i18n = {
  ...
};
```

(contributions to `src/i18n` folder welcome!)

**I'm using the default language (english) but I override the templates**

```sh
npm install tcomb-form-templates-semantic --save
{'fraction_non_alphanumeric': 0.13055303717135086, 'fraction_numerical': 0.0042308854638863705, 'mean_word_length': 4.426229508196721, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 4, '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': '46293', 'n_tokens_mistral': 1017, 'n_tokens_neox': 972, 'n_words': 354}