changelog.rst 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. =========================
  2. importlib_metadata NEWS
  3. =========================
  4. 0.8
  5. ===
  6. * This library can now discover/enumerate all installed packages. **This
  7. backward-incompatible change alters the protocol finders must
  8. implement to support distribution package discovery.** Closes #24.
  9. * The signature of ``find_distributions()`` on custom installer finders
  10. should now accept two parameters, ``name`` and ``path`` and
  11. these parameters must supply defaults.
  12. * The ``entry_points()`` method no longer accepts a package name
  13. but instead returns all entry points in a dictionary keyed by the
  14. ``EntryPoint.group``. The ``resolve`` method has been removed. Instead,
  15. call ``EntryPoint.load()``, which has the same semantics as
  16. ``pkg_resources`` and ``entrypoints``. **This is a backward incompatible
  17. change.**
  18. * Metadata is now always returned as Unicode text regardless of
  19. Python version. Closes #29.
  20. * This library can now discover metadata for a 'local' package (found
  21. in the current-working directory). Closes #27.
  22. * Added ``files()`` function for resolving files from a distribution.
  23. * Added a new ``requires()`` function, which returns the requirements
  24. for a package suitable for parsing by
  25. ``packaging.requirements.Requirement``. Closes #18.
  26. * The top-level ``read_text()`` function has been removed. Use
  27. ``PackagePath.read_text()`` on instances returned by the ``files()``
  28. function. **This is a backward incompatible change.**
  29. * Release dates are now automatically injected into the changelog
  30. based on SCM tags.
  31. 0.7
  32. ===
  33. * Fixed issue where packages with dashes in their names would
  34. not be discovered. Closes #21.
  35. * Distribution lookup is now case-insensitive. Closes #20.
  36. * Wheel distributions can no longer be discovered by their module
  37. name. Like Path distributions, they must be indicated by their
  38. distribution package name.
  39. 0.6
  40. ===
  41. * Removed ``importlib_metadata.distribution`` function. Now
  42. the public interface is primarily the utility functions exposed
  43. in ``importlib_metadata.__all__``. Closes #14.
  44. * Added two new utility functions ``read_text`` and
  45. ``metadata``.
  46. 0.5
  47. ===
  48. * Updated README and removed details about Distribution
  49. class, now considered private. Closes #15.
  50. * Added test suite support for Python 3.4+.
  51. * Fixed SyntaxErrors on Python 3.4 and 3.5. !12
  52. * Fixed errors on Windows joining Path elements. !15
  53. 0.4
  54. ===
  55. * Housekeeping.
  56. 0.3
  57. ===
  58. * Added usage documentation. Closes #8
  59. * Add support for getting metadata from wheels on ``sys.path``. Closes #9
  60. 0.2
  61. ===
  62. * Added ``importlib_metadata.entry_points()``. Closes #1
  63. * Added ``importlib_metadata.resolve()``. Closes #12
  64. * Add support for Python 2.7. Closes #4
  65. 0.1
  66. ===
  67. * Initial release.
  68. ..
  69. Local Variables:
  70. mode: change-log-mode
  71. indent-tabs-mode: nil
  72. sentence-end-double-space: t
  73. fill-column: 78
  74. coding: utf-8
  75. End: