Workarea 3.5.25

Patch release notes for Workarea 3.5.25.

Allow admin config array fields to define a values type

This is useful when the values in an array need to be typecasted for the functionality to work.

Pull Requests

Update releasable active test to work without localized active fields

Pull Requests

Check if a releasable has a localized active field before redefining it

If Workarea.config.localized_active_field is set to false, the active field is redefined for each Releasable model to ensure the configuration is honored. With inherited models like discounts, this can cause the redefinition of active multiple times causing it to override custom active behaviors for segments. Only redefining the method if its currently in the models localized_fields list should ensure this does not happen.

Pull Requests

Update display of release changeset to handle large changesets

This fixes admin performance problems when dealing with releases with many changesets. Uploading an import with a lot of updates is a common cause of this problem.

Pull Requests

Use inline_svg fallback for missing releasable icons

This ensures the proper search indexes are in place when you switch locales for an integration test.

Pull Requests

Simplify undo releases, allow multiple undo releases from a single release

This allows admins to build an undo release for an existing undo release. This can be very helpful in situations where the changes desired can't be represented under the previous undo setup, because the desired state can't be represented as changes from the currently live state.

Pull Requests

Fix undo releases not causing models to reindex

Because the changeset is the only getting saved when building an undo, admin reindexing for the affected models isn't happening. This change triggers callbacks to ensure any related side-effects happen.

Pull Requests

Move release undo changeset building to Sidekiq for large changesets

For larger releases, building undos during the request causes timeouts.

Pull Requests

Index search customizations, handle missing search models for changeset releasables

This was for consistency in viewing upcoming releases through search results.

Pull Requests

Fix admin indexing for embedded model changes

When embedded models are changed, their root documents weren't being reindexed for admin search. This ensures that indexing happens correctly.

Pull Requests

Now on GitHub