{
    "componentChunkName": "component---src-templates-blog-post-tsx",
    "path": "/blog/2015-08-14-x-select-status-update/",
    "result": {"data":{"blogPost":{"title":"X-Select Status Update","slug":"/blog/2015-08-14-x-select-status-update/","authorNodes":[{"name":"Robert DeLuca","slug":"/people/robert-deluca/"}],"markdown":{"html":"<p>At The Frontside, we love open source, and maintaining OSS projects is a high priority.</p>\n<p><code class=\"language-text\">emberx-select</code> has grown in popularity. <a href=\"http://emberjs.com/deprecations/v1.x/#toc_ember-select\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Even the ember deprecation guide recommends it</a>. We are aiming to keep this component up to date with the latest versions of Ember.</p>\n<p>Before Glimmer (1.13) compatibility, we are making a release for Ember 1.12 or below.</p>\n<h2 id=\"whats-new-in-113\" style=\"position:relative;\"><a href=\"#whats-new-in-113\" aria-label=\"whats new in 113 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>What's new in 1.1.3?</h2>\n<ul>\n<li>Title attr bound to an option or select. <a href=\"https://github.com/thefrontside/emberx-select/pull/32\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PR</a></li>\n<li>Add optionValuePath <a href=\"https://github.com/thefrontside/emberx-select/pull/31\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PR</a></li>\n<li>Fixed blockless form <a href=\"https://github.com/thefrontside/emberx-select/commit/46c7acca9f7bd3a67b08f1fc1f6174759d47f465\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PR</a></li>\n<li>Default tabindex to 0 to make it tabable. <a href=\"https://github.com/thefrontside/emberx-select/pull/37\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PR</a></li>\n<li>Introduce <code class=\"language-text\">registerSelectHelper</code> <a href=\"https://github.com/thefrontside/emberx-select/pull/14\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PR</a></li>\n<li>Improve test helper <a href=\"https://github.com/thefrontside/emberx-select/pull/27\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PR</a></li>\n<li>Improved testing coverage</li>\n</ul>\n<p>See the <a href=\"https://github.com/thefrontside/emberx-select/compare/v1.1.2...v1.1.3\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">diff here</a>.</p>\n<p>Thank you to everyone that has helped by submitting issues and pull requests! 1.1.3 will be the last version released that's compatible with Ember 1.12 or below.</p>\n<h2 id=\"whats-new-in-20\" style=\"position:relative;\"><a href=\"#whats-new-in-20\" aria-label=\"whats new in 20 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>What's new in 2.0?</h2>\n<p>In x-select 2.0 we dropped support for the blockless form. While it is useful for transitioning\nfrom <code class=\"language-text\">Ember.select</code>, we strongly prefer to standardize writing <code class=\"language-text\">selects</code> in Ember as in HTML.\nWe no longer bundle x-select with the blockless form. To continue using blockless x-select, <a href=\"https://github.com/thefrontside/emberx-select-blockless\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">use this addon</a> it from x-select.</p>\n<p>x-select 2.0 arrays are now immutable. Every user selection creates a new state of the selected content.\nPreviously, multi-selects required updating content as a user interacts with the select component. This was unstable especially with async ember data relationships.</p>\n<p>Expect Glimmer/Ember 2.0 compatability in x-select 2.0 thanks to <a href=\"https://github.com/thefrontside/emberx-select/pull/33\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">this PR</a>\nfrom James Rosen!</p>\n<h3 id=\"known-glimmer-issue-with-x-select\" style=\"position:relative;\"><a href=\"#known-glimmer-issue-with-x-select\" aria-label=\"known glimmer issue with x select permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Known Glimmer issue with x-select</h3>\n<p>To use x-select with Glimmer (Ember 1.13.x) requires 1.13.4+. Anything below\n1.13.4 will throw</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">Error: Assertion Failed: x-option component declared without enclosing x-select</code></pre></div>\n<p>because non-dirty component child views are not getting the correct parentView. You can see the related\nticket <a href=\"https://github.com/emberjs/ember.js/pull/11651\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">here</a>.</p>\n<p>We also applied a <a href=\"https://github.com/thefrontside/emberx-select/commit/843f76d6a033f587f9b5edb5fb0758c05e5629c3\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">small hack to work around</a>\nform attribute bindings which are broken in Ember 1.12-1.13.2 and fixed in Ember 1.13.3.\nEmber data bindings are lost, so the parent form should not change. If data bindings are still necessary, call <code class=\"language-text\">rerender()</code> on the component after the data change.</p>\n<p>Once again, thanks to all the contributors that helped make the <code class=\"language-text\">x-select</code> component better for everyone!</p>\n<h3 id=\"using-x-select-blockless\" style=\"position:relative;\"><a href=\"#using-x-select-blockless\" aria-label=\"using x select blockless permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Using x-select-blockless</h3>\n<p>To use <code class=\"language-text\">x-select-blockless</code> you'll need to install both <code class=\"language-text\">x-select-blockless</code> and <code class=\"language-text\">x-select</code> ember addons. This is because\n<a href=\"https://github.com/thefrontside/emberx-select-blockless/blob/master/package.json#L42\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">we rely on</a> x-select.</p>\n<h3 id=\"compatibility-table\" style=\"position:relative;\"><a href=\"#compatibility-table\" aria-label=\"compatibility table permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Compatibility Table</h3>\n<table>\n<thead>\n<tr>\n<th>x-select</th>\n<th>Ember</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>v1.1.4 and before</td>\n<td>1.12 or lower</td>\n</tr>\n<tr>\n<td>v2.x.x and after</td>\n<td>1.13.4 or higher</td>\n</tr>\n</tbody>\n</table>","frontmatter":{"date":"August 14, 2015","description":null,"tags":["oss","ember","ember-addon","x-select"],"img":null}}}},"pageContext":{"id":"bc6f478c-4e5b-5bc2-8513-2c11d045fd72"}},
    "staticQueryHashes": ["1241260443"]}