changelog.rst 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. =========================
  2. importlib_metadata NEWS
  3. =========================
  4. 0.18
  5. ====
  6. * Parse entry points case sensitively. Closes #68
  7. * Add a version constraint on the backport configparser package. Closes #66
  8. 0.17
  9. ====
  10. * Fix a permission problem in the tests on Windows.
  11. 0.16
  12. ====
  13. * Don't crash if there exists an EGG-INFO directory on sys.path.
  14. 0.15
  15. ====
  16. * Fix documentation.
  17. 0.14
  18. ====
  19. * Removed ``local_distribution`` function from the API.
  20. **This backward-incompatible change removes this
  21. behavior summarily**. Projects should remove their
  22. reliance on this behavior. A replacement behavior is
  23. under review in the `pep517 project
  24. <https://github.com/pypa/pep517>`_. Closes #42.
  25. 0.13
  26. ====
  27. * Update docstrings to match PEP 8. Closes #63.
  28. * Merged modules into one module. Closes #62.
  29. 0.12
  30. ====
  31. * Add support for eggs. !65; Closes #19.
  32. 0.11
  33. ====
  34. * Support generic zip files (not just wheels). Closes #59
  35. * Support zip files with multiple distributions in them. Closes #60
  36. * Fully expose the public API in ``importlib_metadata.__all__``.
  37. 0.10
  38. ====
  39. * The ``Distribution`` ABC is now officially part of the public API.
  40. Closes #37.
  41. * Fixed support for older single file egg-info formats. Closes #43.
  42. * Fixed a testing bug when ``$CWD`` has spaces in the path. Closes #50.
  43. * Add Python 3.8 to the ``tox`` testing matrix.
  44. 0.9
  45. ===
  46. * Fixed issue where entry points without an attribute would raise an
  47. Exception. Closes #40.
  48. * Removed unused ``name`` parameter from ``entry_points()``. Closes #44.
  49. * ``DistributionFinder`` classes must now be instantiated before
  50. being placed on ``sys.meta_path``.
  51. 0.8
  52. ===
  53. * This library can now discover/enumerate all installed packages. **This
  54. backward-incompatible change alters the protocol finders must
  55. implement to support distribution package discovery.** Closes #24.
  56. * The signature of ``find_distributions()`` on custom installer finders
  57. should now accept two parameters, ``name`` and ``path`` and
  58. these parameters must supply defaults.
  59. * The ``entry_points()`` method no longer accepts a package name
  60. but instead returns all entry points in a dictionary keyed by the
  61. ``EntryPoint.group``. The ``resolve`` method has been removed. Instead,
  62. call ``EntryPoint.load()``, which has the same semantics as
  63. ``pkg_resources`` and ``entrypoints``. **This is a backward incompatible
  64. change.**
  65. * Metadata is now always returned as Unicode text regardless of
  66. Python version. Closes #29.
  67. * This library can now discover metadata for a 'local' package (found
  68. in the current-working directory). Closes #27.
  69. * Added ``files()`` function for resolving files from a distribution.
  70. * Added a new ``requires()`` function, which returns the requirements
  71. for a package suitable for parsing by
  72. ``packaging.requirements.Requirement``. Closes #18.
  73. * The top-level ``read_text()`` function has been removed. Use
  74. ``PackagePath.read_text()`` on instances returned by the ``files()``
  75. function. **This is a backward incompatible change.**
  76. * Release dates are now automatically injected into the changelog
  77. based on SCM tags.
  78. 0.7
  79. ===
  80. * Fixed issue where packages with dashes in their names would
  81. not be discovered. Closes #21.
  82. * Distribution lookup is now case-insensitive. Closes #20.
  83. * Wheel distributions can no longer be discovered by their module
  84. name. Like Path distributions, they must be indicated by their
  85. distribution package name.
  86. 0.6
  87. ===
  88. * Removed ``importlib_metadata.distribution`` function. Now
  89. the public interface is primarily the utility functions exposed
  90. in ``importlib_metadata.__all__``. Closes #14.
  91. * Added two new utility functions ``read_text`` and
  92. ``metadata``.
  93. 0.5
  94. ===
  95. * Updated README and removed details about Distribution
  96. class, now considered private. Closes #15.
  97. * Added test suite support for Python 3.4+.
  98. * Fixed SyntaxErrors on Python 3.4 and 3.5. !12
  99. * Fixed errors on Windows joining Path elements. !15
  100. 0.4
  101. ===
  102. * Housekeeping.
  103. 0.3
  104. ===
  105. * Added usage documentation. Closes #8
  106. * Add support for getting metadata from wheels on ``sys.path``. Closes #9
  107. 0.2
  108. ===
  109. * Added ``importlib_metadata.entry_points()``. Closes #1
  110. * Added ``importlib_metadata.resolve()``. Closes #12
  111. * Add support for Python 2.7. Closes #4
  112. 0.1
  113. ===
  114. * Initial release.
  115. ..
  116. Local Variables:
  117. mode: change-log-mode
  118. indent-tabs-mode: nil
  119. sentence-end-double-space: t
  120. fill-column: 78
  121. coding: utf-8
  122. End: