Workarea 3.3.11
Patch release notes for Workarea 3.3.11.
Prefer Most Specific Tax Rate When All Parameters Given
Providing a country and region to Tax::Category.find_rate
when there
are rates that exist on the postal code level would previously return
those more specific postal code rates instead of the "general"
Tax::Rate
for the state. Workarea now ensures that the :postal_code
on the rate is blank when a postal code is not given to the .find_rate
method.
Issues
Pull Requests
Commits
Track Contentable Area when Drafting Content
Workarea did not store the contentable area ID when content is saved as a draft, causing problems downstream in content block plugins which need to know about the contentable area in which they are located. This data is now stored on the content block even when it is in draft form, giving more context to the content block being edited.
Issues
Pull Requests
Commits
Ensure Redirect Path is URI-Encoded Before Persisting
The Navigation::Redirect#sanitize_path
callback could potentially
throw a URI::InvalidURIError
if the given path is not valid. Workarea
now checks if the argument passed in is URI-encoded, according to the
specifications of RFC 2396. If it
has not already been encoded, Navigation::Redirect.sanitize_path
will
call URI.encode
to make sure that an error won't be thrown when
parsing as a URI.