Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Oct 9, 2019
2 parents fb6a9b7 + 910b4c1 commit 7442fde
Show file tree
Hide file tree
Showing 101 changed files with 3,342 additions and 2,055 deletions.
7 changes: 2 additions & 5 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ AddDefaultCharset UTF-8
RewriteRule ^(.*)\.(md|yml|json)/?$ index.php [L]
RewriteRule ^(LICENSE|composer\.lock|\.gitignore|\.php_cs|nginx.conf)/?$ index.php [L]

RewriteRule ^admin/(accounts|languages|logs|schemes|src|views)/.* admin/index.php [L]
RewriteRule ^admin/(\.eslintrc|gulpfile\.js)/?$ admin/index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^admin/.* admin/index.php [L]
RewriteRule ^admin/(accounts|languages|logs|schemes|src|views)/.* index.php [L]
RewriteRule ^admin/(\.eslintrc|gulpfile\.js)/?$ index.php [L]

## Let all URI be processed by index.php
RewriteCond %{REQUEST_FILENAME} !-f
Expand Down
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## [1.0.0](https://github.com/getformwork/formwork/releases/tag/1.0.0) (2019-10-09)

**Enhancements**

- **Support PHP >= 7.1.3**
- **Add improved Markdown editor based on CodeMirror**
- **Add closure-based template Renderer**
- **Add the possibility to extend schemes**
- **Avoid saving an empty page when creating a new one**
- **Avoid tracking users based on their DNT preference**
- **Improve file uploads**
- **Add the possibility to redefine admin route**
- Store loaded languages in `Site` instead of `Formwork`
- Rename `Metadatum::namespace()` to `Metadatum::prefix()`
- Rename `LocalizedException` to `TranslatedException`
- Rename `Language` to `Translation`
- Make `FileSystem::write()` operate atomically
- Reduce file writes on disk in `Registry`
- Update `Visitor::$bots` list
- Use `https://` in all URI
- Increase CSRF tokens strength
- Regenerate CSRF token on authentication
- Cache `Page` objects directly
- Reset template layout just before rendering
- Return default MIME type `application/octet-stream` if unknown
- Use default field values from template schemes
- Render fields only if visible
- Track page views in `Statistics`
- Add `statistics.enabled` system option

**Bug fixes**

- Fix `HTTPResponse::headers()` mistakenly caching result
- Fix login modal displayed twice on too many attempts
- Fix wrong MIME type for SVG images without XML declaration
- Fix error on clearing cache if not enabled
- Fix `FilesCache::has()` not checking for validity

## [0.12.1](https://github.com/getformwork/formwork/releases/tag/0.12.1) (2019-06-05)

**Bug fixes**
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Formwork is a flat file-based Content Management System (CMS) to make and manage simple sites.

Latest version: [**0.12.1**](https://github.com/getformwork/formwork/releases/latest) | [**Changelog**](CHANGELOG.md)
Latest version: [**1.0.0**](https://github.com/getformwork/formwork/releases/latest) | [**Changelog**](CHANGELOG.md)

## Features
- ⚡️ Lightweight
Expand All @@ -20,7 +20,7 @@ Latest version: [**0.12.1**](https://github.com/getformwork/formwork/releases/la
![](assets/images/formwork.png)

## Requirements
- PHP 5.6.0 or higher
- PHP 7.1.3 or higher
- PHP `zip` extension
- PHP `gd` extension

Expand Down
Loading

0 comments on commit 7442fde

Please sign in to comment.