Skip to content
- Base controller for client controllers can be specified to something different from `ActionController::Base` with the
  `base_client_controller` option
- New generator: `federails:copy_client_views`, that copies all the client views in `app/views/federails/client` for override
- Added `auto_create_actors` option for `acts_as_federails_actor` method to disable automatic actor creation.
- Added helper method `Federails.actor_entity?` to check if a given class/instance may have associated actors
- Dynamic dispatch of activities with `after_activity_received` (e.g.: `after_activity_received 'Create', 'Note', :create_note`)
- Ability to add custom data to actor responses
- Handle URI-only objects in dynamic dispatch

- Client: reworked the views:
  - Extracted some sections in reusable partials
  - Improved listings with no entries
  - Improved conditional display for some sections
  - Handled the case where the current user does not have an associated actor
  - Handled the case where the current user's class is not configured with `acts_as_federails_actor`

- As actors' subject is a polymorphic relation, these Federails configuration options were removed: `user_class`,
  `user_table`, `user_profile_url_method`, `user_name_field` and `user_username_field`
- `acts_as_federails_actor` is not automatically called when `Federails::Entity` concern is included in models.

- Client controllers: enforce authorization calls on controller actions
- Server controllers: enforce authorization calls on controller actions
- Mime types: Don't consider "application/json" as "application/ld+json"