Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @polymer/polymer from 3.3.1 to 3.4.0 #929

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 27, 2020

Bumps @polymer/polymer from 3.3.1 to 3.4.0.

Release notes

Sourced from @polymer/polymer's releases.

v3.4.0

New global settings

This update to Polymer includes some new global settings:

  • legacyUndefined / setLegacyUndefined

    What does it do? This setting reverts how computed properties handle undefined values to the Polymer 1 behavior: when enabled, computed properties will only be recomputed if none of their dependencies are undefined.

    Components can override the global setting by setting their _overrideLegacyUndefined property to true. This is useful for reenabling the default behavior as you migrate individual components:

    import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
    class MigratedElement extends PolymerElement { /* ... */ }
    // All MigratedElement instances will use the default behavior.
    MigratedElement.prototype._overrideLegacyUndefined = true;
    customElements.define('migrated-element', SomeElement);

    Should I use it? This setting should only be used for migrating legacy codebases that depend on this behavior and is otherwise not recommended.

  • legacyWarnings / setLegacyWarnings

    What does it do? This setting causes Polymer to warn if a component's template contains bindings to properties that are not listed in that element's properties block. For example:

    import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
    class SomeElement extends PolymerElement {
      static get template() {
        return html`<span>[[someProperty]] is used here</span>`;
      }
      static get properties() {
        return { /* but `someProperty` is not declared here */ };
      }
    }
    customElements.define('some-element', SomeElement);

    Only properties explicitly declared in the properties block are associated with an attribute and update when that attribute changes. Enabling this setting will show you where you might have forgotten to declare properties.

    Should I use it? Consider using this feature during development but don't enable it in production.

  • orderedComputed / setOrderedComputed

    What does it do? This setting causes Polymer to topologically sort each component's computed properties graph when the class is initialized and uses that order whenever computed properties are run.

    For example:

    import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
... (truncated)
Changelog

Sourced from @polymer/polymer's changelog.

v3.4.0 (2020-04-23)

New global settings

This update to Polymer includes some new global settings:

  • legacyUndefined / setLegacyUndefined

    What does it do? This setting reverts how computed properties handle undefined values to the Polymer 1 behavior: when enabled, computed properties will only be recomputed if none of their dependencies are undefined.

    Components can override the global setting by setting their _overrideLegacyUndefined property to true. This is useful for reenabling the default behavior as you migrate individual components:

    import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
    class MigratedElement extends PolymerElement { /* ... */ }
    // All MigratedElement instances will use the default behavior.
    MigratedElement.prototype._overrideLegacyUndefined = true;
    customElements.define('migrated-element', SomeElement);

    Should I use it? This setting should only be used for migrating legacy codebases that depend on this behavior and is otherwise not recommended.

  • legacyWarnings / setLegacyWarnings

    What does it do? This setting causes Polymer to warn if a component's template contains bindings to properties that are not listed in that element's properties block. For example:

    import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
    class SomeElement extends PolymerElement {
    static get template() {
    return html&lt;span&gt;[[someProperty]] is used here&lt;/span&gt;;
    }
    static get properties() {
    return { /* but someProperty is not declared here */ };
    }
    }
    customElements.define('some-element', SomeElement);

    Only properties explicitly declared in the properties block are associated with an attribute and update when that attribute changes. Enabling this setting will show you where you might have forgotten to declare properties.

    Should I use it? Consider using this feature during development but don't enable it in production.

  • orderedComputed / setOrderedComputed

... (truncated)
Commits
  • 70ab725 3.4.0
  • 0858531 [ci skip] bump to 3.4.0
  • 2ce7163 Merge pull request #5497 from Polymer/legacy-undefined-noBatch
  • 742a103 Merge pull request #5645 from Polymer/share-built-css-flag
  • 33e1498 shareBuiltCSSWithAdoptedStyleSheets -> useAdoptedStyleSheetsWithBuiltCSS
  • d0848d8 formatting
  • c0813cd Fix incorrect JSDoc param name.
  • bdd7658 Gate feature behind shareBuiltCSSWithAdoptedStyleSheets; update tests.
  • 2fc9062 Add shareBuiltCSSWithAdoptedStyleSheets global setting
  • 6cffb7b Merge pull request #5643 from Polymer/stalebot
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 27, 2020
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/polymer/polymer-3.4.0 branch 4 times, most recently from a90291f to 0f7174d Compare April 28, 2020 22:42
@abraham
Copy link
Member

abraham commented Apr 29, 2020

Depends on Polymer/polymer#5651

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/polymer/polymer-3.4.0 branch 7 times, most recently from ddd5634 to dbec2a2 Compare April 30, 2020 00:38
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/polymer/polymer-3.4.0 branch from dbec2a2 to cded88f Compare April 30, 2020 01:35
@dependabot-preview
Copy link
Contributor Author

Superseded by #942.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/polymer/polymer-3.4.0 branch April 30, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant