Recent Releases of https://github.com/conda/menuinst

https://github.com/conda/menuinst - 2.3.1

Bug fixes

  • Restore behavior where the absence of a platform key in the MenuItem platforms dictionary disables shortcut creation for that platform. (#234, #240 via #350)
  • Allow null for icon and platforms.(win|osx|linux). This bumps the schema version to 1-1-1. (#345 via #351)
  • Restore menuinst.default.json and menuinst.schema.json to prevent errors during conda update. (#358 via #359)

Other

  • Update _schema.py to use pydantic v2. (#351)
  • Fix some type hints. (#352)

Contributors

  • @jaimergp
  • @marcoesters
  • @soapy1

- Python
Published by marcoesters 12 months ago

https://github.com/conda/menuinst - 2.3.0

Enhancements

  • Version the JSON schema using SchemaVer. Current version is 1-1-0. Previous versions are still available as 1-0-0 (as published in menuinst v2.0.0), 1-0-1 (as published in menuinst v2.1.0), and 1-0-2 (as published in menuinst v2.2.0) (#288)
  • Add activator for env files generated by conda 25.3+. (#321 via #330)

Bug fixes

  • Make sure the Pydantic field descriptions make it to the generated JSON schema. (#281)
  • Use $schema to indicate which schema will validate the menuinst shortcut. This means that menuinst shortcuts must now include a $schema key pointing to a URL containing the relevant menuinst JSON schema version. (#282 via #283, #313)
  • Remove quotes around SETUPTOOLS_SCM_PRETEND_VERSION recipe variable. (#317)

Deprecations

  • $id key is no longer required in the schema, and is now deprecated. (#282 via #283)

Other

  • Add setuptools_scm to build recipe. (#309)
  • Replace deprecated run_command function with conda_cli. (#310)
  • Use ruff for linting and formatting. (#315, #318)
  • Check and pretty-format JSON files. (#315)
  • Increase timeout for Windows shortcuts tests to 30 seconds. (#319)

Contributors

  • @dbast
  • @jaimergp
  • @marcoesters

- Python
Published by marcoesters about 1 year ago

https://github.com/conda/menuinst - 2.2.0

Enhancements

  • Partially backport privilege elevation logic from v2 to v1. (#260)
  • Add support for SingleMainWindow in the Linux platform-specific options to allow disabling the New Window option in the app's context menu. (#264 via #265)

Deprecations

  • In v2-style schemas, Windows setting quicklaunch default value is now false and using it is considered deprecated. (#244 via #272)

Docs

  • Add missing comma to base/non-base example. (#248)

Other

  • Update Python versions in canary builds: remove version 3.8 and add 3.12. (#266)
  • Drop Python 3.8 from the CI test matrix. (#263)

Contributors

  • @jaimergp
  • @marcoesters

New Contributors

  • @larsoner made their first contribution in https://github.com/conda/menuinst/pull/265

- Python
Published by jaimergp over 1 year ago

https://github.com/conda/menuinst - 2.1.2

Bug fixes

  • Display shortcut name in Windows' "Open with" menu entries. (#225)
  • Fix default MIME type registration on Linux. (#226 via #227)
  • Add setuptools to recipe host requirements. (#237)

Contributors

  • @jaimergp
  • @marcoesters
  • @zklaus

- Python
Published by jaimergp almost 2 years ago

https://github.com/conda/menuinst - 2.1.1

Bug fixes

  • Only delete menus when they do not contain any items. (#218)

Contributors

  • @marcoesters

- Python
Published by jaimergp about 2 years ago

https://github.com/conda/menuinst - 2.1.0

Enhancements

  • Support different name for shortcuts within and outside base environment (support v1 behavior). (#180)
  • Support the NSSupportsAutomaticGraphicsSwitching flag for MacOS apps. (#194)
  • Add option to create a Windows Terminal profile. (#196 via #200)
  • Improve error handling for installing identical MacOS apps and warn about overwriting shortcuts on other platforms. (#203 via #205)
  • Expand variables when creating working_dir and use os.path.expanduser logic for default working_dir on Windows. (#211 via #212)

Bug fixes

  • Do not inject the AppKit launcher unless event_handler has been set. Only affects macOS. (#179 via #183)
  • Render all menu name instances for Linux. (#201)
  • Fix Windows registry key access mode when adding icon file to file type association. (#191 via #206)

Docs

  • Add notes on "missing" Start Menu directories on Windows and on how to migrate pywscript and pyscript to menuinst v2 (#181)
  • Fix API Reference hyperlinks. (#190)

Other

  • Pin Visual Studio version to 2022 for canary builds to account for changes to GitHub runners. (#215)

Contributors

  • @JTignor-Raltron
  • @jaimergp
  • @marcoesters

- Python
Published by marcoesters about 2 years ago

https://github.com/conda/menuinst - 2.0.2

Bug fixes

  • Render placeholders in menu_name key. (#175)

Contributors

  • @jaimergp

- Python
Published by jaimergp over 2 years ago

https://github.com/conda/menuinst - 2.0.1

Enhancements

  • Update winshortcut C extension to support Python 3.12. (#164)

Bug fixes

  • Fix a regression in 2.0.0, where v1-style Windows shortcuts would fail to start applications that required environment activation. Addressed by adjusting an invalid import in menuinst v1's legacy cwp.py. (#167 via #168)

Other

  • Add support for pydantic v2 in menuinst._schema. (#166 via #169)

Contributors

  • @jaimergp
  • @kenodegard

- Python
Published by jaimergp over 2 years ago

https://github.com/conda/menuinst - 1.4.20

What's Changed

  • Improve support for Python 3.12 by @jaimergp in https://github.com/conda/menuinst/pull/165

Full Changelog: https://github.com/conda/menuinst/compare/1.4.19...1.4.20

- Python
Published by jaimergp over 2 years ago

https://github.com/conda/menuinst - 2.0.0

menuinst v2 is a backwards compatible rewrite of v1 that adds a new JSON document standard with multiplatform support. Some highlights:

  • Single unified JSON document for Windows, Linux and macOS, as introduced in CEP-11
  • Backwards compatible API with v1-style JSON documents
  • Support for file extension (e.g. .png) and URL protocol (e.g. menuinst://) association
  • Rewritten documentation

Enhancements

  • Add support for file extension and URL protocol association on Windows. (#117)
  • Add support for URL protocol and file type association in all operating systems. Adds tests and examples. (#118 via #119, #135)
  • Add app_user_model_id field on Windows shortcuts to group taskbar icons together. (#127 via #133)
  • Enable automatic elevation on Unix platforms too, and add tests. (#137 via #138, #139)
  • Add recipe and CI workflow steps to build and upload canaries to conda-canary. (#144, #145, #149)
  • Implement auto-elevation logic in Unix systems so it doesn't depend on pre-existing .nonadmin files. (#150 via #156)

Bug fixes

  • Ensure some v1-only import paths are still available for backwards compatibility. (#151)
  • Do not capitalize ${DISTRIBUTION_NAME} in v1-style menuinst JSON documents. (#153)

Docs

  • Create Sphinx-based documentation following community practices (constructor, conda-libmamba-solver). Absorbs and updates the existing info in wiki and non-deployed docs. (#112)
  • Add development documentation. (#131)

Other

  • Enable and apply pre-commit with isort/flake8/black. (#116, #125)
  • Adjust workflows to only target main after merging the cep-devel branch. (#141)
  • Move cwp.py from the repository root to menuinst._legacy subpackage. It's still shipped to %PREFIX% in the conda package. (#145)

Contributors

  • @aganders3
  • @dbast
  • @jaimergp

New Contributors

  • @dbast made their first contribution in https://github.com/conda/menuinst/pull/116
  • @aganders3 made their first contribution in https://github.com/conda/menuinst/pull/119

- Python
Published by jaimergp almost 3 years ago

https://github.com/conda/menuinst - 2.0.0a0

This is a preview release of the upcoming 2.0 version. See https://github.com/conda/menuinst/issues/142 for details.

The changelog (so far) can be checked at https://github.com/conda/menuinst/compare/1.4.19...2.0.0a0

- Python
Published by jaimergp almost 3 years ago

https://github.com/conda/menuinst - 1.4.19

What's Changed

  • Copy ShellExecuteEx from conda to replace pywin32 by @isuruf in https://github.com/conda/menuinst/pull/103
  • Fix exceptions for pywin32 removal by @isuruf in https://github.com/conda/menuinst/pull/105

Full Changelog: https://github.com/conda/menuinst/compare/1.4.18...1.4.19

- Python
Published by jaimergp almost 4 years ago

https://github.com/conda/menuinst - 1.4.18

  • Merge in various patches used by conda-standalone (#85)
    • Do not assume menuinst wants to operate on sys.prefix
    • Do not use runAsAdmin when the user is not an admin
    • Allow menuinst to operate on non-base prefix
    • Update various tests

- Python
Published by chenghlee almost 5 years ago

https://github.com/conda/menuinst - 1.4.17

  • Use distribution name as part of the Start Menu item (#77)
  • Transfer repository to conda GitHub organization (#81)
  • Switch from AppVeyor to GitHub Actions for CI (#78, #82, #83)

- Python
Published by chenghlee about 5 years ago

https://github.com/conda/menuinst -

  • Command line option starting with minux, or a space shall not be quoted

- Python
Published by katietz over 7 years ago

https://github.com/conda/menuinst -

This release was an accidental release of the master branch, now renamed to avoid future confusion. The master branch had code that is not ready for release.

  • Command line options starting with minus, or a space shall not be quoted * Update cwp.py
  • Fix groups files per OS
  • Update setup.py to include pkg data, include modules, and add header * Fail CI scripts on appveyor if one container fails
  • Fix typo in shortcut imports
  • Fix bad import
  • Switch to absolute imports
  • Add OS specific code in specific folder
  • Various enhancements and clean up (#50)
  • Fix code when run as admin
  • Add pep8speaks config
  • Add updated copyright header, and clean up code a bit
  • Move initcode to api.py

- Python
Published by katietz over 7 years ago

https://github.com/conda/menuinst - Fixes for unicode in Python 2 and a latent bug surfaced by conda 4.4

Contributions from @kalefranz and @nehaljwani:

  • fix #60 more cmd.exe-specific hacking (#61)
  • fix #54 incorrect locale handling (#62)
  • fix logging traceback from #54 (#63)

- Python
Published by mingwandroid over 8 years ago

https://github.com/conda/menuinst - 1.4.8

2017-09-16 1.4.8:

  • fix non-root pythons being used to call cwp.py #47

- Python
Published by msarahan almost 9 years ago

https://github.com/conda/menuinst - 1.4.0

  • Add license explicitly (BSD 3-clause) (#26)
  • Rework elevation on Windows to not use separate batch file (#27)
  • Improve support for non-ascii characters (#27)
  • Migrate to Windows KnownFolder instead of CSIDL for win > XP (#27)
  • support istalling as SYSTEM user on Windows (for SCCM usage) (#29)
  • Add Appveyor for build testing (#30)
  • Drop CSIDL support in favor of uniform KnownFolder usage (#31)

- Python
Published by msarahan about 10 years ago

https://github.com/conda/menuinst -

This release attempts to fall back to user-level directories for shortcuts when system-wide directories are off-limits.

This situation comes up with Anaconda and Miniconda: if the initial installation is system-wide, then shortcuts will be placed in a location that requires elevation. This release should address that condition: shortcuts will instead be installed to the current user's personal collection of start menu shortcuts, and a warning is printed to the console.

This should fix many failed conda update calls.

- Python
Published by msarahan over 10 years ago

https://github.com/conda/menuinst -

This release runs python and pythonw script types in python shells that set PATH for environments, rather than bat files.

This release also changes the "scriptargument" key to "scriptarguments" and expects a list of arguments to be passed to the command. The older syntax was a space-delimited string, and was not consistent between "script" and "system" shortcut types.

- Python
Published by msarahan over 10 years ago

https://github.com/conda/menuinst -

This was meant to be 1.1.3.1, but #14 was not merged. This fixes activation behavior when used with Conda version 1.18.3.

- Python
Published by msarahan over 10 years ago

https://github.com/conda/menuinst -

Fixes a bug where wrapped scripts would fail to run if envsetupcmd was passed as None. This is true for Conda 3.18.3 calling Menuinst. Adds default "activate" string. This should be fixed in Conda, but we'll patch it here for now to not force a Conda release.

- Python
Published by msarahan over 10 years ago

https://github.com/conda/menuinst -

  • wrap all shortcuts except "system" shortcuts in activate scripts, so that PATH will always have runtime libraries on it
  • Fix out-of-date comment regarding subprocesses

- Python
Published by msarahan over 10 years ago

https://github.com/conda/menuinst -

This is a minor change to make the architecture string on Windows read as 64-bit or 32-bit, rather than strings like "AMD64" which have historically confused some people about compatibility with Intel processors.

- Python
Published by msarahan over 10 years ago