Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7078

Remove method Puppet.newtype (deprecated since 2011)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: Types and Providers
    • Labels:
      None
    • Template:
    • Sub-team:
    • Team:
      Platform Core
    • Story Points:
      1
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Deprecation
    • Release Notes Summary:
      The deprecated method {{Puppet.newtype}} (deprecated since 2011), has now been removed.
    • QA Risk Assessment:
      No Action

      Description

      The method Puppet.newtype has been deprecated since 2011-04. It delegates to Puppet::Type.newtype. There seems to still be code out there that uses this deprecated method (discussion of this deprecation came up in discussion today).

      At this point there is no harm in having that method except for the small overhead of carrying that extra method (bloat).

      Setting this for removal in Puppet 6.0.0.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            henrik.lindberg Henrik Lindberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support