- Potentially unstable: Minify the output to reduce size to ~10kb from ~30kb. (Thanks @aminya)
Although none of the APIs have changed, this change may be potentially unstable, so marking it as semver-major so consumers have to opt-in to this.
- Another attempt to fix Windows usages - #332 (Thanks @UziTech)
- Fix compatibility with Windows usernames with spaces - #331 (Thanks @deankevorkian)
- Add Typescript definitions
- Fix installing dependencies in CI on Windows
- Allow purely string entries for name in dependencies
- Readd ability to hide user prompt
- Fix support for
notifications-plus
package (Thanks @UziTech)
- Fix a bug where error would be thrown if user already had one of the packages installed (Thanks @lierdakil)
- Fix a dev dependency accidentally slipping into
post-install
script
- BREAKING Change function signature to get rid of
promptUser
- BREAKING Change format of
package-deps
in manifest from"my-name:my-version"
to be{ "name": "my-name", "minimumVersion": "my-version" }
- BREAKING Instead of accepting a semver-range for version, you can now only specify a minimum version in
x.y.z
format, instead of for example>=2
- Add support for optional/group packages where users only have to install one of many, and are given a choice at runtime. Signature becomes
Dependency[][]
instead ofDependency[]
- Add support for using through CLI for CI and similar purposes
- Fix progress bar on newer Atom versions
- Use rollup to bundle dependencies to decrease load times (Thanks @aminya)
While there's no API breaking change, the distribution format and internal code has changed signficiantly enough that it MAY have some bugs left despite our testing. Therefore, to not break existing expectations, I (@steelbrain) am pushing this out as semver-major.
- Upgrade dependencies
- Name is now required
- When version is specified and package-deps determines currently installed to be outdated, latest version will be installed instead of the specified one
- Fix progress bar not showing up in newer versions of Atom
- Remove
sb-exec
in favor ofBufferedProcess
from Atom builtins - Do not automatically enable
notifications
package if disabled. Instead log a warning to the console
- Remove config file usage, configs are now stored in Atom config store
- Enable prompting user by default
- Add
:$version
support to package dependencies
- Upgrade to latest
sb-config-file
that includes async getters so we don't avoid the event loop
- Add second parameter
showPrompt
to allow package authors to give user the choice to install dependencies
- Bump
sb-exec
from2.x
to3.x
. This should fix any flow related bugs in dependent packages
- Fix support for upcoming Atom versions
- Use babel style exports (backward compatible)
- Support git-based packages without repeatedly reinstalling
- Allow parallel installation of packages
- Better track success of package installs
- Handle packages installed from repositories
- Handle info message from apm during installs
- Stop hiding the first error message in some cases
- Support importing this module in babel with
import x from 'y'
instead ofimport * as x from 'y'
Thanks to @joelbarker2011 for helping out with his PRs!
- Remove outdated API from README
- Remove second parameter to
.install
(API breaking) - Show a nice error notification when installation fails
- Make progress bar implementation more robust
- Bump
atom-package-path
minimum version
- Use
atom-package-path
to determine caller package name
- Simplify the regex used (reduce more than 50% regex steps)
- Supports guessing names of packages outside of main root
- Replace Linux-specific dependency
callsite
with cross-platformsb-callsite
- Fix a scenario when error would be thrown if package name guessing fails
- Use a more reliable way of guessing parent packages
- A few fixes for windows compatibility
- Workaround atom package activation race condition
- Internal cleanup
- Make name optional
- Don't enable already installed packages by default
- Fix progress bar for multiple dependencies
- Invoke apm just one time even for multiple dependencies
- Invoke apm with
--production
- Introduced second parameter to install method
- Made some API breaking changes
- Basic API Introduced