- Added
base_path
anddestination
configuration options to manipulate the path to which the data files are saved to. #89
- This feature is currently in BETA state, changes may occur as patch fixes Added support for RichText and added the
rich_text
view helper.
- Allow usage of
use_camel_case
in client options.
- Middleman v4 is now the supported Middleman version.
This release symbolises the break in compatibility from Middleman v3 - moving the main development branch to Middleman v4.
This is an atificial version bump, no new features have been added and no breaking change introduced. We use this upgrade as an opportunity to match the version of this gem with the Middleman version this release will stay compatible with.
#map_location
properly maps locations
localize
helpers now properly serialized nested resources #131
- Added User Agent Integration Headers
- Fixed issue when generating file on entries with a field called
Content Type
- Upgraded to 2.0.1 Ruby CDA SDK which solves a number of pre-existing bugs #116 #113 #103
- Field IDs will now be
snake_cased
following the 2.0.1 Ruby CDA SDK Upgrade
- Added
_meta
to all entries and assets #117 #93 - Added
client_options
to extension options to control Client instantiation
- Added Contentful Client
default_locale
option as a configuration parameter - Added possibility to set API URL for Preview Proxy
- Fix repeated items not appearing on reference arrays #99
- Fix Default URL for Preview Proxy which is now the Preview API
- Fix localized resource serialization for localized Assets#95
- Fix localized resource serialization#95
- Add asset's
:description
to asset mapping#82 - Add Page Size customization option when using
:all_entries
#90
- Fixed error when asset's
:file
field isnil
#85
- Fixed Entry ID fetch on import task when having an ID field in the Content Type#77
- Fixed
NoMethodError
when Entry has no populated fields#76
- Middleman not loading extension due to
@app
reassignment
- Added PreviewProxy for caching Preview API results
- Added
#with_preview
view helper for Preview API calls in real-time with a small cache - Added
:webhook_controller
to extension options to be able to customize the Webhook Handler
- Moved Webhook Integration to
before_server
hook to avoid multiple Webhook server instances running
- Include
:all_entries
option toactivate
block for getting over 1000 entries#45 - Update
middleman-core
required version - Removes
middleman-blog
dependency#9 - Add Webhook Integration#55
- Clarify that
:all_entries
may need an:order
attribute in the:cda_query
for avoiding entry skipping and provided a sane default#60 - Add Localize Helpers
- Breadth-first search of linked entries
- New extension option:
use_preview_api
- An example mapper that allows references from linked to linking entries
- Make the all the entries available inside the mapper
- Calculate the version hash using the
updated_at
value of every entry instead of its revision
- Typo in the require statements
- The importing of entries with fields containing a list of elements other that links to entries now works
- Handle non included links i.e. when the
include
query parameter is not present or its value doesn't cover a link
- The importing of entries including
Contentful::Location
fields now works
- Include
middleman-blog
as dependency of the gem.
- Set local data file extension to .yaml
This release brings breaking changes that are not compatible with extension configurations in previous versions. For more information about the supported configuration please read the README file.
Changes in this release:
- Support multiple activations of the extension. Import from multiple spaces
- Decouple mapping of entries from blog post layout. Support custom mappers
- Store imported entries as local data
- Optionally rebuild static site only when there are changes in the imported data
- Publish first Gem version
- Minor updates
- First release