This repository has been archived by the owner on Jun 20, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We're seeing high memory usage for manuals-frontend that corresponds with component memory leaks.
cc @h-lame @tijmenb @cbaines
10.1.3
10.1.2
10.1.1
10.1.0
Rails.cache
as the cache for templates, locales and components. You canremove
config.slimmer.use_cache
for your application, as you can no longeropt-out of caching.
User-Agent
header to all outgoing API requests10.0.0
metatags.
on Ruby 2.1 and 2.2.
Slimmer::SharedTemplates
toSlimmer::GovukComponents
9.6.0
Adds an 'inside header inserter' processor which allows an application to
inject a block of HTML after the logo by including a .inside-header element
in their application’s output.
(PR Upgrade to publishing API v2, use bearer token #167 Add an ‘inside header’ inserter slimmer#167)
Remove
MetaViewportRemover
processor as it is no longer used.(PR Fix multiple creation of close spans #166 Remove
MetaViewportRemover
processor slimmer#166)9.5.0
Adds a Cucumber helper that makes it easy for host applications to
configure Slimmer correctly under test.
(PR 410 on updates with withdrawn manual #162 Add Cucumber test helper slimmer#162)
9.4.0
Adds an RSpec helper that makes it easy for host applications to
configure Slimmer correctly under test.
Fixes
stub_shared_component_locales
helper to correctly stub HTTPrequests to fetch locale information when rendering its templates.
(PR Don't strip leading slashes from the manual URL anymore #159 Fix component locale stubs slimmer#159)
9.3.2
Bugfix: Over time, the I18n backend would be chained in each request,
causing the stack to grow too large and use too much memory
(PR Add meta description tag to manuals #157 Don't chain i18n backend multiple times slimmer#157)
9.3.1
Allows frontend apps to stub component locales for example
(PR Remove employment income manual code #155 Add shared test helper for frontend app to use slimmer#155)
9.3.0
Integrates translations from GOVUK Components to be used in applications
When including
Slimmer::SharedComponents
, the I18nBackend will be chained toSlimmer::I18nBackend
allowing translations instatic
to work in the frontend applications(PR Run tests against jQuery 1.11.3 #152 Autoload i18n backend slimmer#152)
9.2.1
before_filter
calls in shared templates.9.2.0
CouldNotRetrieveTemplate
exception when a connection to the assets server can't be made because of an SSL problem (PR Add contract tests #143).9.1.0
paths, eg "name", "name.raw" and "name.raw.html.erb". This allows
components to be nested within other components.