Skip to content

Commit 6119cb8

Browse files
committed
Release v0.17.3
1 parent 0d921e0 commit 6119cb8

3 files changed

Lines changed: 52 additions & 114 deletions

File tree

CHANGELOG.md

Lines changed: 50 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# CHANGELOG
22

3-
## v0.17.3-dev
3+
## v0.17.3 (2018-01-17)
4+
5+
### Bug fixes
6+
7+
* Handle missing package descriptions in `hex.search` task
8+
* Fix printing of package checksum after publishing
49

510
## v0.17.2 (2018-01-16)
611

712
### Enhancements
813

9-
* Increase `hex.publish` timeouts and make it configurable with `:http_timeout` config and
10-
`HEX_HTTP_TIMEOUT` variable
14+
* Increase `hex.publish` timeouts and make it configurable with `:http_timeout` config and `HEX_HTTP_TIMEOUT` variable
1115
* Test key before adding it with `hex.organization auth NAME --key KEY`
1216
* Remove pre-release publish restriction for private packages
1317
* Add package descriptions to `hex.search` task
@@ -46,27 +50,16 @@
4650

4751
* Improve error message when package does not exist
4852
* Improve error message when no versions exist for given requirement
49-
* Add `--key` flag to `hex.organization auth` to authorize by giving a key
50-
directly without supplying a password
51-
* Add `hex.organization key` to generate a key for accessing the organization's
52-
repository
53+
* Add `--key` flag to `hex.organization auth` to authorize by giving a key directly without supplying a password
54+
* Add `hex.organization key` to generate a key for accessing the organization's repository
5355

5456
## v0.17.0 (2017-08-28)
5557

5658
### Private packages and organizations
5759

58-
Hex.pm is adding support for private packages with organizations. See
59-
https://hex.pm/docs/private for more details. To authorize an organization on
60-
your machine run `mix hex.organization auth acme`, this will store the
61-
organization's repository details in Hex so that you can fetch packages from the
62-
repository. As soon as you are added as a member to an organization you can
63-
administer and publish packages, if you have the appropriate role, with the
64-
`--organization` flag or by setting the `:organization` option on the package
65-
configuration.
60+
Hex.pm is adding support for private packages with organizations. See https://hex.pm/docs/private for more details. To authorize an organization on your machine run `mix hex.organization auth acme`, this will store the organization's repository details in Hex so that you can fetch packages from the repository. As soon as you are added as a member to an organization you can administer and publish packages, if you have the appropriate role, with the `--organization` flag or by setting the `:organization` option on the package configuration.
6661

67-
Different from the last release packages will always be pulled from the default
68-
`hexpm` repository and you have to override it with the `:organization` or
69-
`:repo` options on the dependency configuration.
62+
Different from the last release packages will always be pulled from the default `hexpm` repository and you have to override it with the `:organization` or `:repo` options on the dependency configuration.
7063

7164
### Enhancements
7265

@@ -90,8 +83,7 @@ Different from the last release packages will always be pulled from the default
9083
### Enhancements
9184

9285
* Add `mix hex.repo show` task for showing repo configuration
93-
* Improve error message if there are no releases for given requirement in the
94-
registry
86+
* Improve error message if there are no releases for given requirement in the registry
9587
* Add `mix hex.audit` task for checking for retired packages
9688

9789
### Bug fixes
@@ -100,24 +92,14 @@ Different from the last release packages will always be pulled from the default
10092
* Do not update lock entry if only metadata changed
10193
* Do not show authentication details when printing URLs
10294
* Fix password reset
103-
* Fix race condition where some entries may not be cached if they were added
104-
just before application closed
105-
* Support PAX tarballs, created on OTP 20, when using older OTP versions.
106-
Additionally, make it less likely PAX tarballs are created
95+
* Fix race condition where some entries may not be cached if they were added just before application closed
96+
* Support PAX tarballs, created on OTP 20, when using older OTP versions. Additionally, make it less likely PAX tarballs are created
10797

10898
## v0.16.0 (2017-04-18)
10999

110100
### Multiple repository support
111101

112-
This version adds support for using packages from multiple repositories. With
113-
the `hex.repo` task additional repositories can be added to Hex. With it you
114-
can add additional repositories or replace the default "hexpm" repository
115-
by running `mix hex.repo add hexpm ...`, check the docs for more information.
116-
To use a dependency from another repository add `repo: :my_other_repo` to the
117-
dependency definition in `mix.exs` and make sure you have added `my_other_repo`
118-
with `mix hex.repo add my_other_repo`. Dependencies of a package will be
119-
automatically pulled from the same repository as the parent package unless
120-
otherwise stated with the `:repo` option on the dependency definition.
102+
This version adds support for using packages from multiple repositories. With the `hex.repo` task additional repositories can be added to Hex. With it you can add additional repositories or replace the default "hexpm" repository by running `mix hex.repo add hexpm ...`, check the docs for more information. To use a dependency from another repository add `repo: :my_other_repo` to the dependency definition in `mix.exs` and make sure you have added `my_other_repo` with `mix hex.repo add my_other_repo`. Dependencies of a package will be automatically pulled from the same repository as the parent package unless otherwise stated with the `:repo` option on the dependency definition.
121103

122104
### Enhancements
123105

@@ -137,12 +119,7 @@ otherwise stated with the `:repo` option on the dependency definition.
137119

138120
### Package retirement
139121

140-
With this new release you can mark versions of your packages as retired when you
141-
no longer recommend its use. This can be because the release has a serious
142-
security flaw, something went wrong with the release so that it's unusable or
143-
because the package has been renamed or deprecated. A retired version is still
144-
usable and fetchable but it will show as retired on hex.pm and when resolved Hex
145-
will show a warning to the user with the retirement message.
122+
With this new release you can mark versions of your packages as retired when you no longer recommend its use. This can be because the release has a serious security flaw, something went wrong with the release so that it's unusable or because the package has been renamed or deprecated. A retired version is still usable and fetchable but it will show as retired on hex.pm and when resolved Hex will show a warning to the user with the retirement message.
146123

147124
### Enhancements
148125

@@ -161,8 +138,7 @@ will show a warning to the user with the retirement message.
161138

162139
### Enhancements
163140

164-
* Add environment variable `HEX_HTTP_CONCURRENCY` for limiting number of
165-
concurrent HTTP requests
141+
* Add environment variable `HEX_HTTP_CONCURRENCY` for limiting number of concurrent HTTP requests
166142

167143
### Bug fixes
168144

@@ -177,29 +153,18 @@ will show a warning to the user with the retirement message.
177153

178154
### New registry format
179155

180-
Hex has switched to a new registry format that is more efficient and will scale
181-
better as the registry grows. The new registry format is encoded with protocol
182-
buffers and is split into multiple files (one file per package) to avoid
183-
fetching one big file with data you will not need. The resolver will make more
184-
HTTP requests but will in total fetch much less data. The specification for the
185-
new format can be found here: https://github.com/hexpm/specifications/pull/10.
186-
The old ETS based registry format is no longer supported in the client but will
187-
continue to be available from the registry for the foreseeable future.
156+
Hex has switched to a new registry format that is more efficient and will scale better as the registry grows. The new registry format is encoded with protocol buffers and is split into multiple files (one file per package) to avoid fetching one big file with data you will not need. The resolver will make more HTTP requests but will in total fetch much less data. The specification for the new format can be found here: https://github.com/hexpm/specifications/pull/10. The old ETS based registry format is no longer supported in the client but will continue to be available from the registry for the foreseeable future.
188157

189158
### Enhancements
190159

191160
* `hex.docs open` will by default open the online hexdocs for the given package
192-
* An `--offline` option has been added to `hex.docs open` for opening docs
193-
stored on your local filesystem and it will automatically fetch the docs if
194-
they are not available locally
195-
* Only support secure SSL ciphers and safe SSL versions (support for SSLv3 has
196-
been dropped)
161+
* An `--offline` option has been added to `hex.docs open` for opening docs stored on your local filesystem and it will automatically fetch the docs if they are not available locally
162+
* Only support secure SSL ciphers and safe SSL versions (support for SSLv3 has been dropped)
197163
* Improvements to the language in the resolver error messages
198164

199165
### Bug fixes
200166

201-
* Fix an issue where duplicate build tool names could be added to the package
202-
metadata
167+
* Fix an issue where duplicate build tool names could be added to the package metadata
203168

204169
## v0.13.2 (2016-09-19)
205170

@@ -230,16 +195,12 @@ continue to be available from the registry for the foreseeable future.
230195
* Show creation time of API keys in `hex.keys list`
231196
* Improve the error message if OTP has broken SNI in `:ssl` application
232197
* Verify dependencies from registry against lock
233-
* Hex will now automatically encrypt your local API key, use
234-
`hex.user passphrase` to change the encryption passphrase
198+
* Hex will now automatically encrypt your local API key, use `hex.user passphrase` to change the encryption passphrase
235199
* Improve resolver error message to mention behavior of pre-releases and overrides
236-
* Improve error message if a dependency has configured the OTP application name
237-
incorrectly for another dependency
238-
* `hex.publish` now also publishes docs by default, use `hex.publish package`
239-
and `hex.publish docs` to respectively publish package and docs independently
200+
* Improve error message if a dependency has configured the OTP application name incorrectly for another dependency
201+
* `hex.publish` now also publishes docs by default, use `hex.publish package` and `hex.publish docs` to respectively publish package and docs independently
240202
* `hex.docs` will now open or fetch documentation tarballs
241-
* `hex.key remove` will now also de-auth the user if the local API key was
242-
removed
203+
* `hex.key remove` will now also de-auth the user if the local API key was removed
243204
* Add status messages when publishing and reverting
244205

245206
### Bug fixes
@@ -263,10 +224,8 @@ continue to be available from the registry for the foreseeable future.
263224

264225
### Enhancements
265226

266-
* Add package checksums to lock, ensuring a locked package can not change its
267-
content
268-
* Add managers and deps to lock, allowing Hex to run without loading the
269-
registry
227+
* Add package checksums to lock, ensuring a locked package can not change its content
228+
* Add managers and deps to lock, allowing Hex to run without loading the registry
270229
* Align deps fetching output from scm
271230
* Update hex.pm repo URL to https://repo.hex.pm
272231
* Link to policies when registering account
@@ -288,17 +247,15 @@ continue to be available from the registry for the foreseeable future.
288247

289248
### Bug fixes
290249

291-
* Fix a bug where Hex was about a bit too enthusiastic when informing the user
292-
of new versions
250+
* Fix a bug where Hex was about a bit too enthusiastic when informing the user of new versions
293251
* Fix some missing future-proofing of lock
294252

295253
## v0.11.4 (2016-04-06)
296254

297255
### Enhancements
298256

299257
* Use HTTPS to Hex.pm repository
300-
* Make lock backwards compatible by treating it as a list and only matching on
301-
the front
258+
* Make lock backwards compatible by treating it as a list and only matching on the front
302259

303260
### Bug fixes
304261

@@ -319,10 +276,8 @@ continue to be available from the registry for the foreseeable future.
319276

320277
* Verify registry signature against public key
321278
* Improve missing registry error message
322-
* Deprecate `HEX_CDN` in favor of `HEX_REPO` and `HEX_MIRROR`. See the `hex`
323-
task for more information
324-
* Deprecate `:cdn_url` config in favor of `:repo_url` and `mirror_url`. See the
325-
`hex.config` task for more information
279+
* Deprecate `HEX_CDN` in favor of `HEX_REPO` and `HEX_MIRROR`. See the `hex` task for more information
280+
* Deprecate `:cdn_url` config in favor of `:repo_url` and `mirror_url`. See the `hex.config` task for more information
326281
* Improve performance of parallel package fetching
327282
* Use fastly instead of S3 for the Hex.pm repository
328283
* Add `--delete` option to `hex.config` task
@@ -353,8 +308,7 @@ continue to be available from the registry for the foreseeable future.
353308
* Pass canonical url to ex_doc task
354309
* Change hexdocs links to use https
355310
* Add `hex.outdated APP` to list all requirements on given dependency
356-
* Do not allow pre-releases for dependencies unless the requirement uses a
357-
pre-release version
311+
* Do not allow pre-releases for dependencies unless the requirement uses a pre-release version
358312
* Optimize version cache memory usage
359313

360314
### Bug fixes
@@ -373,8 +327,7 @@ continue to be available from the registry for the foreseeable future.
373327

374328
* Ensure registry can be opened/closed multiple times
375329
* Ensure `hex.search` task handles empty results
376-
* Fix experimental resolvers only backtracking on parents that had requirements
377-
that failed
330+
* Fix experimental resolvers only backtracking on parents that had requirements that failed
378331
* Fix merging of overlapping parent and package versions in backtrack messages
379332

380333
## v0.10.3 (2016-01-23)
@@ -388,11 +341,9 @@ continue to be available from the registry for the foreseeable future.
388341
### Enhancements
389342

390343
* General optimizations in dependency resolver
391-
* Add experimental faster backtracker that does more aggressive backtracking,
392-
set environment variable `HEX_EXPERIMENTAL_RESOLVER=1` to use it
344+
* Add experimental faster backtracker that does more aggressive backtracking, set environment variable `HEX_EXPERIMENTAL_RESOLVER=1` to use it
393345
* Merge backtrack messages that have similar parents
394-
* Merge multiple versions into version ranges when possible for more succinct
395-
backtrack messages
346+
* Merge multiple versions into version ranges when possible for more succinct backtrack messages
396347

397348
### Bug fixes
398349

@@ -436,15 +387,12 @@ continue to be available from the registry for the foreseeable future.
436387
* Warn if files are missing when building package
437388
* Improve error message when resolution fails because of a locked dependency
438389
* Add `hex.registry` task for loading and dumping registry
439-
* Add `HEX_OFFLINE` for running in offline mode which skips fetching registry
440-
and packages
390+
* Add `HEX_OFFLINE` for running in offline mode which skips fetching registry and packages
441391
* Add `hex.build` task for building package without publishing
442-
* Reduce noise when users gets lots of resolution errors and generally improve
443-
their output
392+
* Reduce noise when users gets lots of resolution errors and generally improve their output
444393
* Add Server Name Indication support for HTTPS requests
445394
* Add `HEX_UNSAFE_HTTPS` for disabling certificate checking
446-
* Rename `:contributors` metadata to `:maintainers` to better reflect purpose of
447-
field
395+
* Rename `:contributors` metadata to `:maintainers` to better reflect purpose of field
448396

449397
### Bug fixes
450398

@@ -457,10 +405,9 @@ continue to be available from the registry for the foreseeable future.
457405

458406
## v0.8.3 (2015-07-17)
459407

460-
* Security fixes
461-
* Fix a bug that would trust any certificate in the certificate chain signed
462-
by a trusted CA, this could allow the certificate, that is not a CA, to
463-
issue and sign new certificates for any host
408+
### Security fixes
409+
410+
* Fix a bug that would trust any certificate in the certificate chain signed by a trusted CA, this could allow the certificate, that is not a CA, to issue and sign new certificates for any host
464411

465412
## v0.8.2 (2015-07-13)
466413

@@ -502,16 +449,14 @@ continue to be available from the registry for the foreseeable future.
502449
### Enhancements
503450

504451
* Add task `hex.user test` for testing user authentication.
505-
* Add task `hex.outdated` for listing outdated packages compared to the
506-
registry.
452+
* Add task `hex.outdated` for listing outdated packages compared to the registry.
507453
* Update CA store as of April 3.
508454
* Inform user if authentication failed because they did not confirm email.
509455
* Improve error message for unsupported tarball version.
510456

511457
### Bug fixes
512458

513-
* Fix a bug where overriding a Hex dependency with a non-Hex dependency was
514-
ignored when the overriding at least two levels deep in the dependency tree
459+
* Fix a bug where overriding a Hex dependency with a non-Hex dependency was ignored when the overriding at least two levels deep in the dependency tree
515460

516461
## v0.7.4 (2015-03-16)
517462

@@ -530,15 +475,12 @@ continue to be available from the registry for the foreseeable future.
530475

531476
### Enhancements
532477

533-
* Print messages on backtracks if dependency resolution failed, this is intended
534-
to help users resolve conflicts
478+
* Print messages on backtracks if dependency resolution failed, this is intended to help users resolve conflicts
535479

536480
### Bug fixes
537481

538-
* Fix a bug where a dependency converged in mix did not consider all its
539-
requirements
540-
* Fix a bug where dependencies in the lock was considered even if they weren't
541-
requested
482+
* Fix a bug where a dependency converged in mix did not consider all its requirements
483+
* Fix a bug where dependencies in the lock was considered even if they weren't requested
542484

543485
## v0.7.1 (2015-02-15)
544486

@@ -557,8 +499,7 @@ continue to be available from the registry for the foreseeable future.
557499
### Bug fixes
558500

559501
* Verify peer certificate against CA certificate public key in `partial_chain`
560-
* Fix a bug where overriding a Hex dependency with a non-Hex dependency was
561-
ignored when the overriding happened in a sub-dependency
502+
* Fix a bug where overriding a Hex dependency with a non-Hex dependency was ignored when the overriding happened in a sub-dependency
562503
* Create hex directory before writing registry
563504

564505
## v0.6.2 (2015-01-02)
@@ -581,8 +522,7 @@ continue to be available from the registry for the foreseeable future.
581522

582523
### Enhancements
583524

584-
* Add support for packages with a different OTP application name than the
585-
package name
525+
* Add support for packages with a different OTP application name than the package name
586526
* Add task `mix hex.docs` for uploading project documentation
587527
* Add email confirmation
588528

@@ -609,8 +549,7 @@ continue to be available from the registry for the foreseeable future.
609549

610550
* Add task `hex.user whoami` that prints the locally authorized user
611551
* Add task `hex.user deauth` to deauthorize the local user
612-
* Rename environment variable `HEX_URL` to `HEX_API` to not confuse it with
613-
`HEX_CDN`
552+
* Rename environment variable `HEX_URL` to `HEX_API` to not confuse it with `HEX_CDN`
614553

615554
### Bug fixes
616555

@@ -623,8 +562,7 @@ continue to be available from the registry for the foreseeable future.
623562
* Add progress bar for uploading the tarball when publishing
624563
* Compare tarball checksum against checksum in registry
625564
* Bump tarball support to version 3
626-
* Rename task for authenticating on the local machine from `hex.key new` to
627-
`hex.user auth`
565+
* Rename task for authenticating on the local machine from `hex.key new` to `hex.user auth`
628566
* Remove the ability to pass password as a CLI parameter
629567

630568
### Bug fixes

lib/hex/shell.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ defmodule Hex.Shell do
4040
end
4141
end
4242
else
43-
defp validate_output!(output), do: :ok
43+
defp validate_output!(_output), do: :ok
4444
end
4545
end

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Hex.MixProject do
22
use Mix.Project
33

4-
@version "0.17.3-dev"
4+
@version "0.17.3"
55

66
{:ok, system_version} = Version.parse(System.version)
77
@elixir_version {system_version.major, system_version.minor, system_version.patch}

0 commit comments

Comments
 (0)