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.1 #942

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps @polymer/polymer from 3.3.1 to 3.4.1.

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.1 (2020-04-29)

  • [ci skip] bump to 3.4.1 (commit)

  • Add type for DomApiNative's setAttribute method. (commit)

  • Remove gen-typescript-declarations; manually add LegacyElementMixin's setAttribute type. (commit)

  • Remove "DO NOT EDIT" warning comments. (commit)

  • Track TypeScript declarations. (commit)

  • Update Closure types for overridden setAttribute in LegacyElementMixin. (commit)

  • Add method / parameter descriptions. (commit)

  • Fix TypeScript breakages by specifying types for overridden setAttribute and getAttribute. (commit)

  • Add complete commit list for v3.4.0 (commit)

  • Fix a couple more compiler warnings (commit)

  • Typos and other minor changes. (commit)

  • Add a note about a bug fix for chunking. (commit)

  • Add useAdoptedStyleSheetsWithBuiltCSS section. (commit)

  • Add setters to settings titles. (commit)

  • Add a note about orderedComputed and cycles. (commit)

  • Add example of overriding suppressTemplateNotifications via notify-dom-change. (commit)

  • Add a section about automatic use of constructable stylesheets. (commit)

  • Add "Other new features" section for reuseChunkedInstances and LegacyElementMixin's built-in disable-upgrade support. (commit)

  • Added notes for fastDomIf, removeNestedTemplates, suppressNestedTemplates, and suppressTemplateNotifications. (commit)

  • Started on release notes for legacyUndefined, legacyWarnings, orderedComputed. (...) (commit)

  • Remove unused externs. (commit)

v3.4.0 (2020-04-23)

New global settings

This update to Polymer includes some new global settings:

  • legacyUndefined / setLegacyUndefined
... (truncated)
Commits
  • 9bdaf4b 3.4.1
  • 12fa1b5 [ci skip] bump to 3.4.1
  • 1075dde Merge pull request #5654 from Polymer/DomApiNative-setAttribute-type
  • 024ab01 Add type for DomApiNative's setAttribute method.
  • 36fb37e Merge pull request #5653 from Polymer/remove-gen-tsd
  • e717f0f Remove gen-typescript-declarations; manually add LegacyElementMixin's setAttr...
  • 8b2ea7b Remove "DO NOT EDIT" warning comments.
  • ec7b7c5 Track TypeScript declarations.
  • 39d5a95 Merge pull request #5652 from Polymer/setAttribute-closure-types
  • 604856b Update Closure types for overridden setAttribute in LegacyElementMixin.
  • 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 30, 2020
@abraham abraham merged commit b9489f5 into master Apr 30, 2020
@abraham abraham deleted the dependabot/npm_and_yarn/polymer/polymer-3.4.1 branch April 30, 2020 18:48
@gdg-x gdg-x locked and limited conversation to collaborators Apr 30, 2020
@gdg-x gdg-x unlocked this conversation Apr 30, 2020
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