Mity Docs Mity Docs for Mity Digital
Feedamic Documentation

Upgrade

Feedamic 3 is a major upgrade, and unfortunately there is no automated upgrade path.

For most users, it will be a simple process.

For more advanced use cases, you will need to do some coding to bring back your advanced functionality.

Upgrading

Update your composer.json file:

1"mitydigital/feedamic": "^3.0"

Run composer update.

Configuration

Configuration for your feeds and defaults is now all in the Statamic Control Panel. Look for the Feedamic option in the nav, and we've prepared a doc to help you understand how it works.

There's also a permission to help you only allow access to authorised users.

When you have set up config via the Control Panel, you can safely delete your old feedamic.php config file.

If you're wanting to disable caching, you can do this via your env file now too.

Interface removed

The Feedamic Entry interface has been removed, and replaced with a better abstract Feedamic Entry class.

In v2, you had to do all of the heavy lifting in your implementation of the interface.

With the v3 abstract, there is a heap of intelligence baked in - you can extend our implementation of the FeedamicEntry abstract to get all of the baked-in goodies that you can override and extend to your needs.

There are now dedicated methods for each of the key feed entry components, and if you want to access the methods or properties of the underlying entry, you can simple call them from the class itself - everything gets forwarded on.

Views

The views have been updated to work with the new FeedamicEntry and FeedamicAuthor models.

You can still publish the views to bring them in to your project to meet your needs.

Command

The feedamic:clear command still exists... but does more, and has better cache key management to help with multi-site support.

Check out the Cache docs for full details.