# \[ANN\] LocalRegistry 0.4

**URL:** <https://discourse.julialang.org/t/ann-localregistry-0-4/61254>\
**Category:** Package Announcements\
**Created:** [May 16, 2021, 5:57pm UTC](https://discourse.julialang.org/t/ann-localregistry-0-4/61254 "2021-05-16T17:57:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [May 16, 2021, 5:57pm UTC](https://discourse.julialang.org/t/ann-localregistry-0-4/61254/1 "2021-05-16T17:57:05Z")

</div>

[LocalRegistry](https://github.com/GunnarFarneback/LocalRegistry.jl) lets you create and maintain local registries for Julia packages.

Version 0.4.0 is a breaking release.

#### Breaking Changes

- The `push` keyword argument to `register` now defaults to `true`.

- The `registry` argument to `register` is now a keyword argument  
instead of a positional argument.

#### New Features

- The `registry` argument to `register` can be omitted also for new  
packages if you have exactly one registry installed beside  
`General`.

- If you have an activated package, either by `julia --project` or  
`Pkg.activate()`, you can just use `register()` without arguments.

#### Summary for New Users

To create a new registry:

```julia-auto
using LocalRegistry
create_registry(name, repository_url)

```

To register a new package or a new version of an existing package:

```julia-auto
using LocalRegistry
register(package)

```

This assumes that the package is developed and that `Project.toml` is  
updated with a new version number. See the [README](https://github.com/GunnarFarneback/LocalRegistry.jl/blob/master/README.md) and the docstrings for details.
