From 8ccadde1312afeabb64d45b4eb052cd0edb5737e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 23 Oct 2021 01:18:05 +0200 Subject: [PATCH] Release version 1.4.0 --- CHANGELOG.md | 167 +++++++++++++++++++++ Rakefile | 4 +- app/controllers/installation_controller.rb | 2 +- 3 files changed, 170 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d51d2de02..3c0b8117a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,173 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [1.4.0](https://github.com/consul/consul/tree/1.4.0) (2021-11-24) + +[Full Changelog](https://github.com/consul/consul/compare/1.3.1...1.4.0) + +### Added + +- **Admin:** Add experimental machine learning [\#4585](https://github.com/consul/consul/pull/4585) and [\#4695](https://github.com/consul/consul/pull/4695) +- **Budgets:** Add info section to budgets in the selecting phase [\#4508](https://github.com/consul/consul/pull/4508) +- **Budgets:** Preview list of investments [\#4507](https://github.com/consul/consul/pull/4507), [\#4548](https://github.com/consul/consul/pull/4548), [\#4594](https://github.com/consul/consul/pull/4594), [\#4718](https://github.com/consul/consul/pull/4718) and [\#4722](https://github.com/consul/consul/pull/4722) +- **Budgets:** Allow users to remove their supports on budget investments [\#4504](https://github.com/consul/consul/pull/4504), [\#4730](https://github.com/consul/consul/pull/4730) and [\#4732](https://github.com/consul/consul/pull/4732) +- **Budgets:** Allow attaching an image to budgets [\#4502](https://github.com/consul/consul/pull/4502) and [\#4711](https://github.com/consul/consul/pull/4711) +- **Maintenance:** Make it easier to define custom settings [\#4715](https://github.com/consul/consul/pull/4715) +- **Maintenance:** Include DelayedJob errors in Errbit exceptions [\#4693](https://github.com/consul/consul/pull/4693) +- **Translations:** Update translations from Crowdin [\#4738](https://github.com/consul/consul/pull/4738), [\#4743](https://github.com/consul/consul/pull/4743) and [\#4745](https://github.com/consul/consul/pull/4745) +- **UX:** Improve support for RTL languages [\#4647](https://github.com/consul/consul/pull/4647) + +### Changed + +- **Accessibility:** Move investments filters to the sidebar [\#4660](https://github.com/consul/consul/pull/4660), [\#4717](https://github.com/consul/consul/pull/4717) and [\#4739](https://github.com/consul/consul/pull/4739) +- **Accessibility:** Increase login links touch area on small screens [\#4680](https://github.com/consul/consul/pull/4680) +- **Accessibility:** Add default focus outline to buttons [\#4679](https://github.com/consul/consul/pull/4679) +- **Accessibility:** Simplify language selection with a few languages [\#4573](https://github.com/consul/consul/pull/4573) +- **Accessibility:** Use a submit button in admin poll question filters [\#4569](https://github.com/consul/consul/pull/4569) +- **Accessibility:** Use a submit button in budget executions filters [\#4568](https://github.com/consul/consul/pull/4568) +- **Accessibility:** Use links instead of order selectors everywhere [\#4566](https://github.com/consul/consul/pull/4566) +- **Accessibility:** Remove redundant placeholders in forms [\#4557](https://github.com/consul/consul/pull/4557) +- **Accessibility:** Use relative units as base font size [\#4526](https://github.com/consul/consul/pull/4526) +- **Admin:** Add sanitize to description on moderator activity [\#4702](https://github.com/consul/consul/pull/4702) +- **Admin:** Use a switch control to enable/disable features [\#4681](https://github.com/consul/consul/pull/4681) +- **Admin:** Simplify creating single heading budgets [\#4533](https://github.com/consul/consul/pull/4533) and [\#4689](https://github.com/consul/consul/pull/4689) +- **Admin:** Split budget creation in steps [\#4531](https://github.com/consul/consul/pull/4531) and [\#4553](https://github.com/consul/consul/pull/4553) +- **Budgets:** Do not show confirm message if user can vote in all headings [\#4587](https://github.com/consul/consul/pull/4587) +- **Budgets:** Improve investment form [\#4580](https://github.com/consul/consul/pull/4580) and [\#4719](https://github.com/consul/consul/pull/4719) +- **Budgets:** Simplify investment form in single heading budgets [\#4544](https://github.com/consul/consul/pull/4544) +- **Budgets:** Improve budget phases [\#4510](https://github.com/consul/consul/pull/4510), [\#4545](https://github.com/consul/consul/pull/4545) and [\#4547](https://github.com/consul/consul/pull/4547) +- **Budgets:** Improve budget header [\#4501](https://github.com/consul/consul/pull/4501), [\#4546](https://github.com/consul/consul/pull/4546) and [\#4726](https://github.com/consul/consul/pull/4726) +- **Maintenance:** Store files with both Paperclip and ActiveStorage [\#4595](https://github.com/consul/consul/pull/4595), [\#4598](https://github.com/consul/consul/pull/4598), [\#4699](https://github.com/consul/consul/pull/4699) and [\#3855](https://github.com/consul/consul/pull/3855) +- **Maintenance:** Update core members [\#4579](https://github.com/consul/consul/pull/4579) +- **Maintenance:** Disable JavaScript debugging in development [\#4559](https://github.com/consul/consul/pull/4559) +- **Maintenance:** Avoid adding compiled assets to version control [\#4532](https://github.com/consul/consul/pull/4532) +- **Maintenance-CSS:** Make it easier to add full width backgrounds [\#4582](https://github.com/consul/consul/pull/4582), [\#4714](https://github.com/consul/consul/pull/4714) and [\#4721](https://github.com/consul/consul/pull/4721) +- **Maintenance-CSS:** Reduce duplication in background color definitions [\#4530](https://github.com/consul/consul/pull/4530) +- **Maintenance-CSS:** Simplify using current color on borders [\#4520](https://github.com/consul/consul/pull/4520) +- **Maintenance-CSS:** Limit Font Awesome imports to reduce CSS size [\#4516](https://github.com/consul/consul/pull/4516) and [\#4578](https://github.com/consul/consul/pull/4578) +- **Maintenance-CSS:** Simplify using text color for links [\#4514](https://github.com/consul/consul/pull/4514) +- **Maintenance-CSS:** Make it easier to customize Sass variables [\#4506](https://github.com/consul/consul/pull/4506) +- **Maintenance-Deployment:** Add consistency between deploy-secrets and installer [\#4729](https://github.com/consul/consul/pull/4729) +- **Maintenance-Deployment:** Upgrade Ruby to version 2.7.4 [\#4604](https://github.com/consul/consul/pull/4604) and [\#4662](https://github.com/consul/consul/pull/4662) +- **Maintenance-Docker:** Remove a potentially pre-existing server.pid in entrypoint.sh [\#4684](https://github.com/consul/consul/pull/4684) +- **Maintenance-Docker:** Explicitely use Debian Buster in Dockerfile [\#4664](https://github.com/consul/consul/pull/4664) +- **Maintenance-Gems:** \[Security\] Bump puma from 4.3.8 to 4.3.10 [\#4710](https://github.com/consul/consul/pull/4710) +- **Maintenance-Gems:** \[Security\] Bump nokogiri from 1.12.3 to 1.12.5 [\#4705](https://github.com/consul/consul/pull/4705) +- **Maintenance-Gems:** Bump faker from 1.8.7 to 2.18.0 [\#4658](https://github.com/consul/consul/pull/4658) and [\#4637](https://github.com/consul/consul/pull/4637) +- **Maintenance-Gems:** Bump ancestry from 3.2.1 to 4.1.0 [\#4656](https://github.com/consul/consul/pull/4656) +- **Maintenance-Gems:** Bump omniauth-google-oauth2, omniauth-rails\_csrf\_protection and omniauth [\#4419](https://github.com/consul/consul/pull/4419) and [\#4649](https://github.com/consul/consul/pull/4649) +- **Maintenance-Gems:** Bump daemons from 1.3.1 to 1.4.0 [\#4638](https://github.com/consul/consul/pull/4638) +- **Maintenance-Gems:** Bump dalli from 2.7.10 to 2.7.11 [\#4636](https://github.com/consul/consul/pull/4636) +- **Maintenance-Gems:** Bump ahoy\_matey from 1.6.0 to 3.2.0 [\#4635](https://github.com/consul/consul/pull/4635) +- **Maintenance-Gems:** Bump acts\_as\_votable from 0.12.1 to 0.13.1 [\#4634](https://github.com/consul/consul/pull/4634) +- **Maintenance-Gems:** Bump rails from 5.2.4.6 to 5.2.6 [\#4627](https://github.com/consul/consul/pull/4627) +- **Maintenance-Gems:** Bump devise from 4.7.3 to 4.8.0 [\#4626](https://github.com/consul/consul/pull/4626) +- **Maintenance-Gems:** Bump caxlsx from 3.0.2 to 3.1.0 [\#4625](https://github.com/consul/consul/pull/4625) and [\#4651](https://github.com/consul/consul/pull/4651) +- **Maintenance-Gems:** Bump social-share-button from 1.2.3 to 1.2.4 [\#4624](https://github.com/consul/consul/pull/4624) +- **Maintenance-Gems:** Bump wkhtmltopdf-binary from 0.12.4 to 0.12.6.5 [\#4622](https://github.com/consul/consul/pull/4622) +- **Maintenance-Gems:** Bump foundation\_rails\_helper from 3.0.0 to 4.0.0 [\#4617](https://github.com/consul/consul/pull/4617) +- **Maintenance-Gems:** Bump devise-security from 0.11.1 to 0.16.0 [\#4616](https://github.com/consul/consul/pull/4616) +- **Maintenance-Gems:** Bump cancancan from 2.3.0 to 3.3.0 [\#4614](https://github.com/consul/consul/pull/4614) +- **Maintenance-Gems:** Bump capybara-webmock from 0.5.5 to 0.6.0 [\#4613](https://github.com/consul/consul/pull/4613) +- **Maintenance-Gems:** Bump acts-as-taggable-on from 6.5.0 to 8.1.0 [\#4611](https://github.com/consul/consul/pull/4611) +- **Maintenance-Gems:** Bump airbrake from 5.8.1 to 11.0.3 [\#4608](https://github.com/consul/consul/pull/4608), [\#4646](https://github.com/consul/consul/pull/4646) and [\#4657](https://github.com/consul/consul/pull/4657) +- **Maintenance-Gems:** Bump factory\_bot\_rails from 4.8.2 to 6.2.0 [\#4607](https://github.com/consul/consul/pull/4607) +- **Maintenance-Gems:** Bump addressable from 2.7.0 to 2.8.0 [\#4589](https://github.com/consul/consul/pull/4589) +- **Maintenance-Gems:** Bump groupdate from 5.2.1 to 5.2.2 [\#4431](https://github.com/consul/consul/pull/4431) +- **Maintenance-Gems:** Bump i18n-tasks from 0.9.31 to 0.9.34 [\#4430](https://github.com/consul/consul/pull/4430) +- **Maintenance-Gems:** Bump rspec-rails from 4.0.1 to 5.0.1 [\#4429](https://github.com/consul/consul/pull/4429) +- **Maintenance-Gems:** Bump capybara from 3.33.0 to 3.35.3 [\#4427](https://github.com/consul/consul/pull/4427) +- **Maintenance-Gems:** Bump bullet from 6.1.0 to 6.1.4 [\#4426](https://github.com/consul/consul/pull/4426) +- **Maintenance-Gems:** Bump globalize from 5.3.0 to 6.0.1 [\#4425](https://github.com/consul/consul/pull/4425) and [\#4641](https://github.com/consul/consul/pull/4641) +- **Maintenance-Gems:** Bump pronto-rubocop from 0.11.0 to 0.11.1 [\#4424](https://github.com/consul/consul/pull/4424) +- **Maintenance-Gems:** Bump erb\_lint from 0.0.35 to 0.0.37 [\#4423](https://github.com/consul/consul/pull/4423) +- **Maintenance-Gems:** Bump globalize-accessors from 0.2.1 to 0.3.0 [\#4420](https://github.com/consul/consul/pull/4420) +- **Maintenance-Gems:** Bump capistrano3-puma from 4.0.0 to 5.0.4 [\#4418](https://github.com/consul/consul/pull/4418) +- **Maintenance-Gems:** Bump capistrano from 3.14.1 to 3.16.0 [\#4417](https://github.com/consul/consul/pull/4417) +- **Maintenance-Gems:** Bump delayed\_job\_active\_record from 4.1.4 to 4.1.5 [\#4416](https://github.com/consul/consul/pull/4416) +- **Maintenance-Gems:** Bump audited from 4.9.0 to 4.10.0 [\#4415](https://github.com/consul/consul/pull/4415) +- **Maintenance-Gems:** Bump webdrivers from 4.4.1 to 4.6.0 [\#4414](https://github.com/consul/consul/pull/4414) +- **Maintenance-Gems:** Bump invisible\_captcha from 1.1.0 to 2.0.0 [\#4410](https://github.com/consul/consul/pull/4410) +- **Maintenance-Gems:** Bump database\_cleaner from 1.8.5 to 2.0.1 [\#4409](https://github.com/consul/consul/pull/4409) +- **Maintenance-Gems:** Bump paranoia from 2.4.2 to 2.4.3 [\#4408](https://github.com/consul/consul/pull/4408) +- **Maintenance-Gems:** Bump recipient\_interceptor from 0.2.0 to 0.3.0 [\#4407](https://github.com/consul/consul/pull/4407) +- **Maintenance-Gems:** Bump view\_component from 2.19.1 to 2.37.0 [\#4400](https://github.com/consul/consul/pull/4400) and [\#4619](https://github.com/consul/consul/pull/4619) +- **Maintenance-Gems:** Bump rollbar from 3.0.1 to 3.2.0 [\#4354](https://github.com/consul/consul/pull/4354) and [\#4628](https://github.com/consul/consul/pull/4628) +- **Maintenance-Gems:**Bump knapsack\_pro from 2.6.0 to 3.0.0 [\#4307](https://github.com/consul/consul/pull/4307) and [\#4639](https://github.com/consul/consul/pull/4639) +- **Maintenance-Gems:**Bump rubocop-rails, rubocop-performance, rubocop-rspec and rubocop [\#4215](https://github.com/consul/consul/pull/4215), [\#4221](https://github.com/consul/consul/pull/4221), [\#4288](https://github.com/consul/consul/pull/4288), [\#4384](https://github.com/consul/consul/pull/4384) and [\#4629](https://github.com/consul/consul/pull/4629) +- **Maintenance-Gems:**Bump omniauth-facebook from 7.0.0 to 8.0.0 [\#4203](https://github.com/consul/consul/pull/4203) +- **Maintenance-Gems:**Bump pg from 1.0.0 to 1.2.3 [\#4194](https://github.com/consul/consul/pull/4194) +- **Maintenance-Specs:** Unify spec components expectations [\#4727](https://github.com/consul/consul/pull/4727) +- **Maintenance-Specs:** Simplify type and current user in component tests [\#4690](https://github.com/consul/consul/pull/4690) +- **Maintenance-Specs:** Remove Capybara `default\_set\_options` for non JS system tests [\#4542](https://github.com/consul/consul/pull/4542) +- **Polls:** Order polls by user geozone and questions by creation [\#4642](https://github.com/consul/consul/pull/4642) +- **SDG:** Add SDG icons in Croatian [\#4725](https://github.com/consul/consul/pull/4725) +- **SDG:** Add SDG icons in SVG format [\#4675](https://github.com/consul/consul/pull/4675) +- **SDG:** Enable SDG content by default [\#4673](https://github.com/consul/consul/pull/4673) +- **SDG:** Add short titles to SDG targets [\#4672](https://github.com/consul/consul/pull/4672) +- **Security:** Hide what users are following unless they allow it [\#4691](https://github.com/consul/consul/pull/4691) +- **UX:** Add length validation for debate description [\#4674](https://github.com/consul/consul/pull/4674) and [\#4692](https://github.com/consul/consul/pull/4692) +- **UX:** Use icons with text in admin table actions [\#4552](https://github.com/consul/consul/pull/4552) +- **UX:** Increase font size on extra large screens [\#4551](https://github.com/consul/consul/pull/4551) +- **UX:** Replace the word message with notification on proposal notifications [\#4538](https://github.com/consul/consul/pull/4538) and [\#4663](https://github.com/consul/consul/pull/4663) +- **UX:** Load SVG icons using asset-data-url [\#4527](https://github.com/consul/consul/pull/4527) +- **UX:** Remove skip map checkbox [\#4509](https://github.com/consul/consul/pull/4509) +- **UX:** New design of the forms for creating debates and proposals [\#4225](https://github.com/consul/consul/pull/4225) + +### Fixed + +- **Accessibility:** Improve accessibility in admin table actions [\#4665](https://github.com/consul/consul/pull/4665) +- **Accessibility:** Allow attaching files using the keyboard [\#4586](https://github.com/consul/consul/pull/4586), [\#4599](https://github.com/consul/consul/pull/4599) and [\#4687](https://github.com/consul/consul/pull/4687) +- **Accessibility:** Fix advanced search button position [\#4567](https://github.com/consul/consul/pull/4567) +- **Accessibility:** Improve accessibility in form to add related content [\#4563](https://github.com/consul/consul/pull/4563) +- **Accessibility:** Improve accessibility in support investment button [\#4549](https://github.com/consul/consul/pull/4549) +- **Accessibility:** Avoid rendering empty lists in top links and footer [\#4505](https://github.com/consul/consul/pull/4505) +- **Admin:** Add a page to manage everything related to a budget [\#4686](https://github.com/consul/consul/pull/4686), [\#4735](https://github.com/consul/consul/pull/4735) and [\#4736](https://github.com/consul/consul/pull/4736) +- **Admin:** Improve styles for long admin menu items [\#4676](https://github.com/consul/consul/pull/4676) +- **Admin:** Fix inconsistent order in system email preview [\#4605](https://github.com/consul/consul/pull/4605) +- **Admin:** Improve home cards [\#4565](https://github.com/consul/consul/pull/4565) +- **Admin:** Fix custom system emails preview [\#4539](https://github.com/consul/consul/pull/4539) +- **Authentication:** Fix sending OAuth confirmation instructions [\#4708](https://github.com/consul/consul/pull/4708) +- **Budgets:** Fix social share image URL with external storage [\#4701](https://github.com/consul/consul/pull/4701) +- **Maintenance-CSS:** Fix .keep file in custom stylesheets. [\#4671](https://github.com/consul/consul/pull/4671) +- **Maintenance-CSS:** Remove unused CSS to set colors [\#4513](https://github.com/consul/consul/pull/4513) +- **Maintenance-Rubocop:** rubocop convention offenses [\#4597](https://github.com/consul/consul/pull/4597) +- **Maintenance-Specs:** Fix flaky spec in campaign-tracking tests [\#4740](https://github.com/consul/consul/pull/4740) and [\#4741](https://github.com/consul/consul/pull/4741) +- **Maintenance-Specs:** Use page.find instead of within in component tests [\#4712](https://github.com/consul/consul/pull/4712) +- **Maintenance-Specs:** Make officing specs detect bugs in the menu links [\#4677](https://github.com/consul/consul/pull/4677) +- **Maintenance-Specs:** Add missing expectations in investments test [\#4704](https://github.com/consul/consul/pull/4704) +- **Maintenance-Specs:** Wait for suggestions to finish loading in tests [\#4703](https://github.com/consul/consul/pull/4703) +- **Maintenance-Specs:** Fix flaky legislation draft version spec [\#4682](https://github.com/consul/consul/pull/4682) +- **Maintenance-Specs:** Fix flaky investments order spec [\#4669](https://github.com/consul/consul/pull/4669) +- **Maintenance-Specs:** Add missing expectation to related content test [\#4572](https://github.com/consul/consul/pull/4572) +- **Maintenance-Specs:** Make campaign specs more robust [\#4571](https://github.com/consul/consul/pull/4571) +- **Maintenance-Specs:** Fix flaky poll recount spec [\#4555](https://github.com/consul/consul/pull/4555) +- **Maintenance-Specs:** Fix flaky hidden budget investments spec [\#4554](https://github.com/consul/consul/pull/4554) +- **Management:** Fix investment support in management section [\#4550](https://github.com/consul/consul/pull/4550) +- **Polls:** Show answers with attachments in additional info [\#4694](https://github.com/consul/consul/pull/4694) +- **Proposals:** Do not show unpublished proposals on the homepage [\#4667](https://github.com/consul/consul/pull/4667) +- **Proposals:** Fix related content with custom URLs [\#4564](https://github.com/consul/consul/pull/4564) +- **Proposals:** Improve the management of related content [\#4499](https://github.com/consul/consul/pull/4499) +- **SDG:** Don't render empty SDG tag list div [\#4683](https://github.com/consul/consul/pull/4683) +- **SDG:** Hide SDG columns on admin polls if SDG feature is disabled [\#4577](https://github.com/consul/consul/pull/4577) +- **Translations:** Improve performance when editing custom texts [\#4707](https://github.com/consul/consul/pull/4707) +- **Translations:** Fix updating a translation to its original value [\#4603](https://github.com/consul/consul/pull/4603) +- **Translations:** Fix typo in Spanish translation for "yes" [\#4590](https://github.com/consul/consul/pull/4590) +- **UX:** Expire cache when adding documents and images [\#4698](https://github.com/consul/consul/pull/4698) +- **UX:** Use a rake task to delete cached attachments [\#4596](https://github.com/consul/consul/pull/4596) and [\#4716](https://github.com/consul/consul/pull/4716) +- **UX:** Remove ES6-specific syntax in amsify suggestags [\#4583](https://github.com/consul/consul/pull/4583) +- **UX:** Fix footer overlap on Internet Explorer 11 [\#4561](https://github.com/consul/consul/pull/4561) +- **UX:** Fix SVG icons on old browsers [\#4560](https://github.com/consul/consul/pull/4560) +- **UX:** Respond with 403 when features are disabled [\#4558](https://github.com/consul/consul/pull/4558) +- **UX:** Fix margin in sign in / sign up forms divider [\#4556](https://github.com/consul/consul/pull/4556) + +### Removed + +- **Maintenance-Deployment:** Remove tasks to upgrade to version 1.3.0 [\#4678](https://github.com/consul/consul/pull/4678) +- **Maintenance-Deployment:** Remove unused dashboard tasks [\#4670](https://github.com/consul/consul/pull/4670) +- **Maintenance-Gems:** Remove devise-async dependency [\#4661](https://github.com/consul/consul/pull/4661) +- **UX:** Remove official level filter from advanced search [\#4668](https://github.com/consul/consul/pull/4668) + ## [1.3.1](https://github.com/consul/consul/tree/1.3.1) (2021-06-03) [Full Changelog](https://github.com/consul/consul/compare/1.3.0...1.3.1) diff --git a/Rakefile b/Rakefile index a5bb872b7..60b4a0d2f 100644 --- a/Rakefile +++ b/Rakefile @@ -11,8 +11,8 @@ if Rails.env.development? GitHubChangelogGenerator::RakeTask.new :changelog do |config| config.user = "consul" config.project = "consul" - config.since_tag = "1.3.0" - config.future_release = "1.3.1" + config.since_tag = "1.3.1" + config.future_release = "1.4.0" config.base = "#{Rails.root}/CHANGELOG.md" config.token = Rails.application.secrets.github_changelog_token config.issues = false diff --git a/app/controllers/installation_controller.rb b/app/controllers/installation_controller.rb index 91292e1e7..209726171 100644 --- a/app/controllers/installation_controller.rb +++ b/app/controllers/installation_controller.rb @@ -10,7 +10,7 @@ class InstallationController < ApplicationController private def consul_installation_details - { release: "1.3.1" }.merge(features: settings_feature_flags) + { release: "1.4.0" }.merge(features: settings_feature_flags) end def settings_feature_flags