1
0

releasenotes.rst 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Release notes
  2. =============
  3. Version 1.8
  4. -----------
  5. * New example applications using:
  6. - PyQt5 with QML
  7. - `Pywebview <https://github.com/r0x0r/pywebview>`__
  8. * The code to pick an appropriate wheel now considers wheels with Python version
  9. specific ABI tags like ``cp35m``, as well as the stable ABI tags like ``abi3``.
  10. * Fixed a bug with fetching a wheel when another version of the same package
  11. is already cached.
  12. * Fixed a bug in extracting files from certain wheels.
  13. * Installers using :ref:`bundled Python <python_bundled>` may need a Windows
  14. update package for the Microsoft C runtime. They now download this from the
  15. `RawGit <https://rawgit.com/>`__ CDN, rather than hitting GitHub directly.
  16. * If the Windows update package fails to install, an error message will be
  17. displayed.
  18. Version 1.7
  19. -----------
  20. * Support for downloading packages as wheels from PyPI, and new
  21. `PyQt5 <https://github.com/takluyver/pynsist/tree/master/examples/pyqt5>`__ and
  22. `Pyglet <https://github.com/takluyver/pynsist/tree/master/examples/pyglet>`__
  23. examples which use this feature.
  24. * Applications can include commands to run at the Windows command prompt. See
  25. :ref:`command_config`.
  26. Version 1.6
  27. -----------
  28. * Experimental support for creating installers that :ref:`bundle Python with the
  29. application <python_bundled>`.
  30. * Support for Python 3.5 installers.
  31. * The user agent is set when downloading Python builds, so downloads from
  32. Pynsist can be identified.
  33. * New example applications using PyGI, numpy and matplotlib.
  34. * Fixed a bug with different path separators in ``exclude`` patterns.
  35. Version 1.5
  36. -----------
  37. * New ``exclude`` option to cut unnecessary files out of directories and
  38. packages that are copied into the installer.
  39. * The ``installer.nsi`` script is now built using `Jinja <http://jinja.pocoo.org/>`_
  40. templates instead of a custom templating system. If you have specify a custom
  41. ``nsi_template`` file, you will need to update it to use Jinja syntax.
  42. * GUI applications (running under :program:`pythonw`) have stdout and stderr
  43. written to a log file in ``%APPDATA%``. This should catch all ``print``,
  44. warnings, uncaught errors, and avoid the program freezing if it tries to
  45. print.
  46. * Applications run in a console (under :program:`python`) now show the traceback
  47. for an uncaught error in the console as well as writing it to the log file.
  48. * Install :program:`pynsist` command on Windows.
  49. * Fixed an error message caused by unnecessarily rerunning the installer for the
  50. PEP 397 ``py`` launcher, bundled with Python 2 applications.
  51. * :program:`pynsist` now takes a :option:`--no-makensis` option, which stops it
  52. before running :program:`makensis` for debugging.
  53. Version 1.0
  54. -----------
  55. * New ``extra_preamble`` option to specify a snippet of Python code to run
  56. before your main application.
  57. * Packages used in the specified entry points no longer need to be listed
  58. under the Include section; they are automatically included.
  59. * Write the crash log to a file in ``%APPDATA%``, not in the installation
  60. directory - on modern Windows, the application can't normally write to its
  61. install directory.
  62. * Added an example application using pygtk.
  63. * :doc:`installers` documentation added.
  64. * Install Python into ``Program Files\Common Files`` or ``Program Files (x86)\Common Files``,
  65. so that if both 32- and 64-bit Pythons of the same version are installed,
  66. neither replaces the other.
  67. * When using 64-bit Python, the application files now go in ``Program Files`` by
  68. default instead of ``Program Files (x86)``.
  69. * Fixed a bug in finding the NSIS install directory on 64-bit Windows.
  70. * Fixed a bug that prevented using multiprocessing in installed applications.
  71. * Fixed a bug where the ``py.exe`` launcher was not included if you built a
  72. Python 2 installer using Python 3.
  73. * Better error messages for some invalid input.
  74. Version 0.3
  75. -----------
  76. * Extra files can now be installed into locations other than the installation
  77. directory.
  78. * Shortcuts can have non-Python commands, e.g. to create a start menu shortcut
  79. to a help file.
  80. * The Python API has been cleaned up, and there is some :doc:`documentation
  81. <api/index>` for it.
  82. * Better support for modern versions of Windows:
  83. * Uninstall shortcuts correctly on Windows Vista and above.
  84. * Byte compile Python modules at installation, because the ``.pyc`` files
  85. can't be written when the application runs.
  86. * The Python installers are now downloaded over HTTPS instead of using GPG to
  87. validate them.
  88. * Shortcuts now launch the application with the working directory set to the
  89. user's home directory, not the application location.
  90. Version 0.2
  91. -----------
  92. * Python 2 support, thanks to `Johannes Baiter <https://github.com/jbaiter>`_.
  93. * Ability to define multiple shortcuts for one application.
  94. * Validate config files to produce more helpful errors, thanks to
  95. `Tom Wallroth <https://github.com/devsnd>`_.
  96. * Errors starting the application, such as missing libraries, are now written
  97. to a log file in the application directory, so you can work out what
  98. happened.