|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## v0.7.4 |
| 4 | + |
| 5 | +[Merged PRs](https://github.com/basemate/matestack-ui-core/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.7.4) |
| 6 | + |
| 7 | +[Solved Issues](https://github.com/basemate/matestack-ui-core/issues?q=is%3Aissue+is%3Aclosed+milestone%3A0.7.4) |
| 8 | + |
| 9 | + |
| 10 | +### Security Fixes |
| 11 | + |
| 12 | +XSS/Script Injection |
| 13 | + |
| 14 | +--> until 0.7.3, matestack-ui-core is vulnerable to XSS/Script injection due to missing string escaping |
| 15 | +--> this is especially dangerous, if you render a string which was submitted via a form through `plain` or any other string rendering such as `heading size: 1, text: "..."` |
| 16 | +--> fixed in 0.7.4, please update immediately |
| 17 | + |
| 18 | +```ruby |
| 19 | +class Pages::MyApp::MyExamplePage < Matestack::Ui::Page |
| 20 | + |
| 21 | + class FakeUser < Struct.new(:name) |
| 22 | + end |
| 23 | + |
| 24 | + def prepare |
| 25 | + @user = FakeUser.new("<script>alert('such hack many wow')</script>") |
| 26 | + end |
| 27 | + |
| 28 | + def response |
| 29 | + components { |
| 30 | + div do |
| 31 | + heading size: 1, text: "Hello #{@user.name}" # is not escaped |
| 32 | + plain "Hello #{@user.name}" # is not escaped |
| 33 | + end |
| 34 | + } |
| 35 | + end |
| 36 | +end |
| 37 | + |
| 38 | +``` |
| 39 | + |
| 40 | +### Improvements |
| 41 | + |
| 42 | +* On form submit, matestack form values are reset to previous values by fiedl |
| 43 | +--> The form component now does not reset itself when using `put` |
| 44 | +--> The reset behavior can now be configured (described in `form` component docs) |
| 45 | + |
| 46 | +* Dockerized core dev and test environment by jonasjabari |
| 47 | +--> easy local dev and test setup, cross-platform default for dev and testing |
| 48 | +--> CI is configured to run tests via dockerized test suite; same as local testing and good base for matrix testing (upcoming) |
| 49 | +--> Usage described in contribution docs |
| 50 | + |
| 51 | +* Add `follow_response` option to action component by fiedl |
| 52 | +--> same behavior enhancement as added to the `form` component in 0.7.3 |
| 53 | +--> server may now decide where the transition should navigate to |
| 54 | +--> described in `action` component docs |
| 55 | + |
| 56 | +* Add confirm option to action component by fiedl |
| 57 | +--> easily add confirmation before performing an action |
| 58 | +--> prevent unintended delete action for example |
| 59 | +--> described in `action` component docs |
| 60 | + |
| 61 | +* New webpacker features by fiedl |
| 62 | + * make webpacker create es5 code instead of es6 code |
| 63 | + * Switch to Vue Production Mode if RAILS_ENV=staging or production |
| 64 | + * Establish webpack(er) and asset-pipeline workflows |
| 65 | + |
| 66 | +--> webpacker now builds assets for asset pipline usage AND webpacker usage (both usage approaches are described in the installation docs) |
| 67 | +--> webpacker now builds minified versions of matestack-ui-core.js (great improvement in file size!) |
| 68 | +--> webpacker now builds es5 code, which is compatible with IE11 |
| 69 | +--> when used via asset pipeline, the minified version of matestack-ui-core together with the production build of vue.js is automatically required |
| 70 | +--> when used via webpacker, matestack-ui-core can be used within a modern javascript workflow, importing and extending single matestack module for example |
| 71 | + |
| 72 | +* New components |
| 73 | + * Add HTML `<picture>` tag to core components by pascalwengerter |
| 74 | + * Add HTML `<option>` tag to core components by pascalwengerter |
| 75 | + * Add HTML `<optgroup>` tag to core components by pascalwengerter |
| 76 | + * Add HTML `<iframe>` tag to core components by pascalwengerter |
| 77 | + * Add HTML `<dfn>` tag to core components by pascalwengerter |
| 78 | + * Add HTML `<del>` tag to core components by pascalwengerter |
| 79 | + * Add HTML `<data>` tag to core components by pascalwengerter |
| 80 | + * Add HTML `<bdo>` tag to core components by pascalwengerter |
| 81 | + * Add HTML `<bdi>` tag to core components by pascalwengerter |
| 82 | + * Add HTML `<wbr>` tag to core components by pascalwengerter |
| 83 | + * Add HTML `<samp>` tag to core components by pascalwengerter |
| 84 | + * Add HTML `<u>` tag to core components by pascalwengerter |
| 85 | + * Add HTML `<template>` tag to core components by pascalwengerter |
| 86 | + |
| 87 | + |
| 88 | +### Bugfixes |
| 89 | + |
| 90 | +* Anchor Link Click triggers full page transition by PragTob |
| 91 | + |
| 92 | + |
3 | 93 | ## v0.7.3
|
4 | 94 |
|
5 | 95 | [Merged PRs](https://github.com/basemate/matestack-ui-core/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.7.3)
|
|
0 commit comments