<commit_before># Changelog

## [unreleased]

### Added

* Add `federation.hostmeta` generators for Matrix client and server well-known files. 
  Django views and url configuration also included for convenience.

* Add `register_dendrite_user` Matrix protocol utility to register users on Dendrite
  homeservers using a shared registration secret.

## [0.21.0] - 2020-12-20

### Added

* Start testing on Python 3.8 which is the new recommended version to use.

### Removed

* Removed the network utils `fetch_host_ip_and_country` and `fetch_country_by_ip` due to the
  library that was used starting to require an API key.

### Internal changes

* Fix some tests for newer Python.

## [0.20.0] - 2020-12-20

### Added

* Entities with a `raw_content` field now have URL syntax mentions rendered into a link. ([related issue](https://git.feneas.org/socialhome/socialhome/issues/572))

  If Django is configured, a profile will be retrieved using the configured profile
  getter function and the profile name or username will be used for the link.
  
* Add `process_text_links` text utility to linkify URL's in text.<commit_msg>Changelog for appservice commit<commit_after># Changelog

## [unreleased]

### Added

* Add `federation.hostmeta` generators for Matrix client and server well-known files. 
  Django views and url configuration also included for convenience.

* Add `register_dendrite_user` Matrix protocol utility to register users on Dendrite
  homeservers using a shared registration secret.

* Added configuration for a Matrix appservice to be registered with a homeserver.

## [0.21.0] - 2020-12-20

### Added

* Start testing on Python 3.8 which is the new recommended version to use.

### Removed

* Removed the network utils `fetch_host_ip_and_country` and `fetch_country_by_ip` due to the
  library that was used starting to require an API key.

### Internal changes

* Fix some tests for newer Python.

## [0.20.0] - 2020-12-20

### Added

* Entities with a `raw_content` field now have URL syntax mentions rendered into a link. ([related issue](https://git.feneas.org/socialhome/socialhome/issues/572))

  If Django is configured, a profile will be retrieved using the configured profile
  getter function and the profile name or username will be used for the link.
  
* Add `process_text_links` text utility to linkify URL's in text.
{'fraction_non_alphanumeric': 0.0764980875478113, 'fraction_numerical': 0.024649383765405864, 'mean_word_length': 4.266219239373601, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6382240', 'n_tokens_mistral': 724, 'n_tokens_neox': 665, 'n_words': 292}