This is the Statik change log as of version 0.6.0
.
- Remove support for Python 2 in line with upcoming deprecation in 2020
- Update all dependencies to latest working versions
- Remove support for Python 3.5
- Update Netlify support with own internal deployment mechanism
- Update SFTP support with own internal deployment mechanism
- Make all output logging conform to the same standard, with the only difference
between normal output logging and verbose (
-v
) logging being the logging level
- Merging #74 to better organise the growing list of CLI arguments.
- Minor fix to add missing
paramiko
dependency
- Merges #68
- Merges #73 to add SFTP upload functionality
- Updates dependency versions in
requirements.txt
- Updates Markdown package integration to use new API
- Merging #65 to fix #64.
- Attempting to fix issues #50 and #63 - automatic translation of special Unicode characters has now been turned off under the assumption that HTML output should be able to contain the raw Unicode characters.
- Further fixing issue #59, where the previous fix (erroneously) caused all DateTime fields to be compulsory. This version makes them optional again.
- Fixing issue #59 - now using python-dateutil to parse date/time fields that cannot automatically be parsed during data loading.
- Fixing issue #60 - adding new feature to support self-referencing models.
- More minor improvements to the error logging, especially from the database interface.
- Started refactoring the error handling system (in an attempt to help with #56). The error system is now more appropriately hierarchical, and Statik has more control over how error messages are displayed. There is, however, still more work to be done to make the console/logging output more user-friendly.
- python-colorlog has now also been included to aid in differentiating between error and informational messages (especially during watching of project changes).
- Fixed #49 - the
httpwatcher
library, up to v0.5.0, introduced a bug that, when using the internal watcher server and accessing a URL path without a trailing slash, would redirect the user to an incorrect URL (by incorrectly injecting additional path segments). This version of Statik fixes this by ensuring that at least v0.5.1 ofhttpwatcher
is installed. - Full refactor of Statik's view system. This was to make the view processing system more modular and easier to debug.
- Regression test for #51. Due to the fact that this could actually be a common use case for Statik, a regression test was created to ensure that the case brought up in #51 was possible to implement using Statik.
- Fixed #47 - now allows for output of general non-HTML content, depending on view path. Also related to #48.
- Added unit tests to verify #48 definitely works.
- Merged #46: Now allows for one to specify custom Markdown extensions through the Statik project configuration file.
- Added unit testing for #46.
- Enabling a "quiet" mode of operation, as per #45.
- Reducing verbosity of standard
INFO
-level output as a potential optimisation, as console writing can slow down operations such as hot reload.
- @pztrick fixed #40 with #41. Providing support for
.htaccess
files, which previously were incorrectly generated as.htaccess/index.html
output files.
- Adding better system exit code handling when Statik raises an exception. Versions up to now always returned 0, despite whether or not the execution was successful. Now, when exceptions are raised, a non-zero exit code is returned depending on the nature of the cause.
- Enhanced templating engine, allowing for more pluggable template system support.
- Added support for Mustache templates.
- Now forcing Mustache templating in safe mode.
- Adding support for MLAlchemy-style queries.
- Adding support for safe mode, which only allows for MLAlchemy-style queries.
- Now allowing project's
assets
andtemplates
folders to override themes' corresponding folders. - Optimising asset copying process while watching project for changes (Statik now only copies files that have been modified or do not yet exist in the destination assets folder).
- Bumping minimum version dependency for
httpwatcher
to v0.5.0.
v0.14.1
fix didn't fixREADME.rst
file inclusion issue. Attempting another fix.
- Minor tweak to setup script to fix inclusion of
README.rst
file.
- Replacing livereload dependency with httpwatcher.
- Adding ability to automatically open web browser when server starts up (and to turn it off).
- Adding Lorem Ipsum generator Markdown and Jinja extensions.
- Adding support for permalinking during Markdown processing.
- Fixing bug where theme-based project generation uses old
assets
folder instead of theme'sassets
folder. - Fixing bug where folder watching doesn't work for themed projects.
- Now testing with Python 3.6 as well.
- Added support for themes.
- For pagination: forcing
Page.has_previous()
andPage.has_next()
results tobool
. - Turned
Page.has_previous
andPage.has_next
into properties.
- For pagination: bugfix for incorrect iteration.
- For pagination: minor fix for reverse lookup of paginated URLs.
- For pagination: added ability to manually specify the starting page number.
- Added pagination functionality for simplified pagination.
- Minor tweak to check that path templates are indeed strings.
- Changed Statik dependency versions to look for minimum versions of packages, as per #33.
- Adding
toc
,footnotes
andtables
extensions to Markdown parser.
- Minor bugfix to apply encoding to output files as well.
- Adding support for Python 2.7+
- Adding traceback to exception logging
- Merged pull request #29 - Add 'encoding' config option to allow / force opening files with a specific encoding
- Fixing issue #28 - trailing comma issue (which only seems to come up with Python 3.4 for some reason).
- Fixing issue #26 - now allowing for overlapping simple and complex views.
- Now allowing pretty much any name as a field name for Statik models (i.e. you can now use
name
as a valid field name).
- Yet another bugfix with regard to non-standard config file path (need more unit tests for this).
- Updating SQLAlchemy dependency to latest version (1.0.14).
- More bugfixes with regard to non-standard config file path.
- Fixing another bug in watcher code to do with non-standard configuration (facepalm here).
- Fixing bug in watcher code with non-standard configuration file.
- Now stripping extraneous whitespace from context variables.
- Added ability to specify project configuration YAML file explicitly. This allows for different project-wide configurations, such as for cases when one wants separate configurations for dev/QA/production. Allows for better automated builds.