This file contains a brief summary of new features and dependency changes or releases, in reverse chronological order.
- Removed Python 3.7 support.
- Bumped
beautifulsoup4
from 4.10.0 to 4.11.1. - Bumped
celery
from 5.2.0 to 5.2.6. - Bumped
coverage
from 6.1.2 to 6.3.2. - Bumped
django-compressor
from 2.4.1 to 3.1. - Bumped
django-debug-toolbar
from 3.2.2 to 3.2.4. - Bumped
django-redis
from 5.0.0 to 5.2.0. - Bumped
django-structlog
from 2.1.3 to 2.2.0. - Bumped
django-taggit
from 1.5.1 to 2.1.0. - Bumped
django
from 3.2.9 to 4.0.3. - Bumped
faker
from 9.8.2 to 13.3.4. - Bumped
flake8-blind-except
from 0.2.0 to 0.2.1. - Bumped
pillow
from 8.4.0 to 9.1.0. - Bumped
prismjs
from 1.26.0 to 1.27.0. - Bumped
pylint-django
from 2.4.4 to 2.5.3. - Bumped
pylint
from 2.11.1 to 2.13.5. - Bumped
pytest-django
from 4.4.0 to 4.5.2. - Bumped
pytest
from 6.2.5 to 7.1.1. - Bumped
redis
from 3.5.3 to 4.2.2.
- Removed the following classes:
apps.blog.forms.CommentForm
apps.blog.admin.CommentAdmin
apps.blog.admin.BaseAdmin
- Renamed the following templates:
apps/blog/templates/blog/partials/comment-form.html
toapps/comments/templates/comments/form.html
.apps/blog/templates/blog/partials/comment.html
toapps/comments/templates/comments/comment.html
- Provided ability to disallow post comments.
- Renamed
branch.settings.get_emails
tobranch.settings._parse_emails
. - Send email notification of a new comment to site staff.
- Added an admin view to see history/log events.
- Added an admin view to see user/group permissions.
- Introduced Django Comments Framework.
- Models verbose names now are lowercased.
- Used
logging.handlers.WatchedFileHandler
as a log file handler. - Improved
contact_form_submission
task to use retry policy. - Setting up logging events using
django-structlog
for further introspection. - Refactor a bit ModelAdmin classes to use the display decorator instead of setting the display-related attributes directly.
- Fixed
mail_admins
error log handler configuration to send emails.
- Return to
django-environ
and dropdjango-environ-2
. - Bumped
beautifulsoup4
from 4.9.3 to 4.10.0. - Bumped
celery
from 5.1.2 to 5.2.0. - Bumped
coverage
from 5.5 to 6.1.2. - Bumped
django-extensions
from 3.1.3 to 3.1.5. - Bumped
django
from 3.2.7 to 3.2.9. - Bumped
factory-boy
from 3.2.0 to 3.2.1. - Bumped
faker
from 8.12.1 to 9.8.2. - Bumped
flake8
from 3.9.2 to 4.0.1. - Bumped
pillow
from 8.3.1 to 8.4.0. - Bumped
prismjs
from 1.24.1 to 1.25.0. - Bumped
pylint
from 2.10.2 to 2.11.1. - Bumped
sqlparse
from 0.4.1 to 0.4.2.
- Renamed
branch.settings.BASE_URL
tobranch.settings.SITE_URL
. - Renamed
branch.settings.BRANCH_LANGUAGES
tobranch.settings.SUPPORTED_LANGUAGES
. - Removed
apps.core.utils.admin_path
in favor ofbranch.settings.ADMIN_SITE_URL
.
- Tune up comments page on admin site.
- Provided
storage
directory to store logs, coverage reports and so on. - Provided custom command to make messages.
- Enabled log warnings on debug mode.
- Force the I18N machinery to always choose
-
branch.settings.SITE_LANGUAGE_CODE
for the main site -branch.settings.ADMIN_LANGUAGE_CODE
for the admin site as the default initial language unless another one is set via sessions or cookies. - Setup
branch.settings.ADMINS
andbranch.settings.MANAGERS
to get system notifications. - Provided ability to publish and unpublish selected comments.
- Adding the tagging functionality.
- Configured
celery
to use the same time zone as the app.
- Returned to
virtualenvwrapper
for local development. - Bumped
prismjs
from 1.23.0 to 1.24.1. - Bumped
trumbowyg
from 2.24.0 to 2.25.1. - Bumped
faker
from 8.11.0 to 8.12.1. - Bumped
pylint
from 2.9.6 to 2.10.2. - Bumped
django
from 3.2.6 to 3.2.7. - Bumped
django-environ-2
from 2.1.0 to 2.2.0. - Bumped
pytest
from 6.2.4 to 6.2.5.
- Renamed
settings.env
to.env
. - Removed
BRANCH_ENV
env var as no longer used. - The
DJANGO_SETTINGS_MODULE
env now points tobranch.settings
. - Refactor Django settings to follow twelve-factor methodology so that now only one config file is used, and all differences between environments are set by environment variables.
- Remove no longer used
branch.settings.ENVIRON_SETTINGS_FILE_PATH
variable. - Rename
CACHES_DEFAULT
env var toCACHE_URL
to use sane defaults. - The
BASE_DIR
env var now is instance ofpathlib.Path
instead ofenviron.Path
.
- Changed additional groups of dependencies declared in
setup.py
so thatdevelop
is superset now fortesting
anddocs
. - Used single
requirements.txt
file to declare project dependencies. Additional dependencies fromdevelop
,testing
anddocs
groups lives now insetup.py
ortox.ini
.
- Fixed Celery timezone configuration.
- Migrate to tox.
- Migrated from
django-environ
todjango-environ-2
. - Bumped
django
from 3.2.3 to 3.2.4. - Bumped
django-redis
from 4.12.1 to 5.0.0. - Bumped
click-repl
from 0.1.6 to 0.2.0. - Replaced
pytest-cov
bycoverage[toml]
for code coverage measurement. - Bumped
trumbowyg
from 2.23.0 to 2.24.0. - Bumped
prompt-toolkit
from 3.0.18 to 3.0.19. - Bumped
celery[redis]
from 5.0.5 to 5.1.1.
- Removed Django's sites integration as it no longer needed.
- Removed
website
application. - All website settings have been moved to
settings
.
- Created SEO Tools as a standalone Django application.
- Provided ability to post HTML in the comments.
- Added Celery integration support.
- Contact form submission now uses Celery queues.
- Added reCAPTCHA v3 support.
- Added
pyquery
to perform queries for XML/HTML nodes. - Added
flake8-docstrings
to check the content of Python docstrings for respect of the PEP 257.
- Provided language attribute for the main content of the page.
- Moved site name to the project's settings.
- Various minor improvements in semantic HTML.
- Improved meta description sanitizing.
- Reworked feeds to get rid of no longer used Sites module, improve items description and fix feeds URL.
- Fixed
dc:
meta tag definition. - Fixed Email configuration to be able sent mails.
- Fixed contact form required fields.
- Moved
branch.models.AbstractPage
toapps.core.models.Content
. - Bumped
django
from 3.2.1 to 3.2.3. - Bumped
faker
from 8.1.2 to 8.2.0. - Bumped
flake8
from 3.9.1 to 3.9.2. - Bumped
pytest-cov
from 2.11.1 to 2.12.0. - Bumped
pytest-django
from 4.2.0 to 4.3.0.
- Created a route to handle
/robots.txt
requests. - Created a route to handle
/humans.txt
requests. - Created Trumbowyg Editor as a standalone Django application.
- Implemented 500 error handler.
- Provided command to generate project's build ids.
- Provided caching configuration fro the project.
- Provided a way to configure site URL.
- Refactor 404 handler and move it to
core
app.
- Corrected
dc:language
meta tag definition for website pages.
- Removed infrastructure configuration samples from the project repo.
- Corrected header format for
setup.py --long-description
. - Add
django-redis
to project requirements. - Bumped
django
from 3.2.0 to 3.2.1. - Bumped
django-environ
from 0.4.5 todevelop
branch to support secure redis connections. - Bumped
django-extensions
from 3.1.2 to 3.2.3. - Bumped
pylint
from 2.7.4 to 2.8.2. - Bumped
pylint-django
from 2.4.3 to 2.4.4. - Bumped
pytest
from 6.2.3 to 6.2.4. - Bumped
faker
from 8.1.0 to 8.1.2.
- Added ability to post and moderate comments.
- Added in-app logging support.
- Added Google Tag Manager support.
- Added RSS 2.0/Atom links to the page head.
- Provided
apps.blog.models.Post.is_updated
to see if the post has been updated since it was published.
- Optimized page speed by reorganizing static assets.
- Restructured and simplified template structure.
- Changed font families used on website to provide better reading experience:
- Main font: PT Serif
- Heading font: PT Sans
- Correct
date_to_xmlschema
template tag to not replace timezone
- Bumped
django-debug-toolbar
from 3.2 to 3.2.1. - Bumped
flake8
from 3.9.0 to 3.9.1. - Bumped
django-compressor
from 2.4 to 2.4.1. - Removed incorrectly used and no longer needed
ModelTimestampsMixin
. - Rename field
type
on Post model topost_type
to not shadow builtin. - Added tests dependencies:
factory-boy==3.2.0
faker==8.1.0
flake8-blind-except==0.2.0
flake8-builtins==1.5.3
pylint-django==2.4.3
- Initial release.