Changelog¶
0.13.9¶
Added support for Django 3 and 4
0.12.7¶
Expanded feeds framework support
0.12.6¶
Refactored BuildableTemplateView to allow for using
reverse_lazyto concoct the build path.
0.12.5¶
Small logging improvement
0.12.4¶
Moved fs config from the AppConfig’s out of the ready method and set it as a base attribute on the class.
0.12.0¶
Refactored the build methods to write to files using the PyFilesystem interface
0.11.1¶
Skip gzipping of static files that are already gzipped.
0.11.0¶
Django 2.0 testing and support.
0.10.5¶
Added
get_view_instancemethod to thebuildcommand to allow for more creative subclassing.
0.10.4¶
Patched the
publishcommand to calculate multipart md5 checksums for uploads large enough to trigger boto3’s automatic multipart upload. This prevents large files from being improperly reuploaded during syncs.
0.10.3¶
AWS_REGIONsetting now passed on to the s3 connection as an initialization option.
0.10.2¶
Added a
--aws-bucket-prefixoption to thepublishcommand. When specified, the local files will be synced with only those files in the bucket that have that prefix.
0.10.0¶
Default pooling of file comparisons between published and local files for faster performance
Option to opt-in to pooling of building of files locally for faster performance
When
--forceand--no-deleteoptions are both passed to publish command the s3 object list is not retrieved for faster performance
0.9.3¶
Restored RedirectView boto code after upgrading it to boto3.
0.9.2¶
Removed boto code from RedirectView until we can figure out a boto3 replacement.
0.9.1¶
Added
S3_ENDPOINT_URLfor boto3 configuration and a fallback so we can continue to support the boto convention ofS3_AWS_HOST
0.9.0¶
Replaced
botodependency withboto3and refactored publish command to adjustMore verbose logging of gzipped paths during build routine
Reduced some logging in management commands when verbosity=0
Added testing for Django 1.11
0.8.14¶
Management command drops
six.printforself.output.writeOnly strip first slash of urls with lstrip
0.8.13¶
Fixed bug in
BuildableDayArchiveViewargument handling.
0.8.12¶
Added
create_requestmethod to the base view mixin so there’s a clearer method for overriding the creation of aRequestFactorywhen building views.
0.8.10¶
Expanded default
GZIP_CONTENT_TYPESto cover SVGs and everything else recommended by the HTML5 boilerplate guides.
0.8.9¶
Removed
CommandErrorexception handling inbuildcommand because errors should never pass silently, unless explicitly silenced.
0.8.8¶
Django 1.10 support and testing
0.8.7¶
get_monthandget_yearfix on the month archive view
0.8.6¶
get_yearfix on the year archive view.
0.8.5¶
get_absolute_urlbug fix on detail view.
0.8.3¶
Added support for
AWS_S3_HOSTvariable to override the default with connecting to S3 via boto.
0.8.2¶
Upgraded to Django new style of management command options.
0.8.1¶
Patch to allow for models to be imported with
django.contrib.contenttypesbeing installed.
0.8.0¶
Added new date-based archive views BuildableArchiveIndexView, BuildableYearArchiveView, BuildableMonthArchiveView, BuildableDayArchiveView
get_url method on the BuildableDetailView now raises a ImproperlyConfigured error
Refactored views into separate files
0.7.8¶
Improved error handling and documentation of BuildableDetailView’s
get_urlmethod.
0.7.7¶
Patch provided backwards compatibility to a boto bug fix.
0.7.6¶
Patched
set_kwargsto override the key name of the slug when it is configured by the detail view’sslug_fieldsetting
0.7.5¶
BAKERY_CACHE_CONTROL settings variable and support
Better tests for publish and unpublish
Delete operations in publish and unpublish command breaks keys into batches to avoid S3 errors on large sets
0.7.4¶
Fixed content_type versus mimetype bug in the static views for Django 1.7 and 1.8
A few other small Python 3 related bugs
0.7.3¶
Added a
--no-deleteoption to thepublishmanagement command.Fixed testing in Django 1.7
0.7.1¶
Added
BuildableRedirectView
0.6.4¶
Added
BuildableFeedfor RSS support
0.6.3¶
Changed
AutoPublishingBuildableModelto commit to the database before triggering a taskChanged celery tasks to accept primary keys instead of model objects
0.6.0¶
An
AutoPublishingBuildableModelthat is able to use a Celery job queue to automatically build and publish objects when they are savedRefactored
buildmanagement command to allow for its different tasks to be more easily overriddenAdded a
--keep-build-diroption to thebuildcommand.
0.5.0¶
Refactored the
publishandunpublishmanagement commands to use boto instead of s3cmd.buildandpublishmanagement commands use file mimetypes instead of a regex on the filename to decide if a file will be gzipped.publishmanagement command includes –force and –dry-run uploads to force an upload of all file, regardless of changes, and to print output without uploading files, respectively.publishmanagement command now pools uploads to increase speed
0.4.2¶
Added a
get_contentmethod to all of the buildable views to make it easier to build pages that don’t require a template, like JSON outputs
0.4.1¶
Bug fix with calculating Python version in the views in v0.4.0
0.4.0¶
Added optional gzip support to build routine for Amazon S3 publishing (via @emamd)
Mixin buildable view with common methods
0.3.0¶
Python 3 support
Unit tests
Continuous integration test by Travis CI
Coverage reporting by Coveralls.io
PEP8 compliance
PyFlakes compliance
Refactored
buildservermanagement command to work with latest versions of Django
0.2.0¶
Numerous bug fixes