2020-09-24 10:17:22 -07:00
|
|
|
# Boundary CHANGELOG
|
|
|
|
|
|
2020-10-09 16:11:48 -07:00
|
|
|
Canonical reference for changes, improvements, and bugfixes for Boundary.
|
2020-09-24 10:17:22 -07:00
|
|
|
|
2021-04-15 12:33:52 -05:00
|
|
|
## Next
|
|
|
|
|
|
2021-05-14 12:23:12 -05:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* sessions: Clean up connections that are dangling after a worker dies (is
|
|
|
|
|
restarted, powered off, etc.) This fixes some cases where a session never goes
|
|
|
|
|
to `terminated` state because connections are not properly marked closed.
|
|
|
|
|
([Issue 1](https://github.com/hashicorp/boundary/issues/894), [Issue
|
|
|
|
|
2](https://github.com/hashicorp/boundary/issues/1055),
|
|
|
|
|
[PR](https://github.com/hashicorp/boundary/pull/1220))
|
|
|
|
|
|
2021-05-05 11:51:00 -04:00
|
|
|
## 0.2.1 (2021/05/05)
|
2021-05-04 22:04:31 -04:00
|
|
|
|
2021-04-23 12:45:08 -05:00
|
|
|
### Deprecations/Changes
|
|
|
|
|
|
2021-04-26 19:38:55 -05:00
|
|
|
* API `delete` actions now result in a `204` status code and no body when
|
|
|
|
|
successful. This was not the case previously due to a technical limitation
|
|
|
|
|
which has now been solved.
|
2021-05-04 19:57:35 -05:00
|
|
|
* When using a `delete` command within the CLI we now either show success or
|
|
|
|
|
treat the `404` error the same as any other `404` error, that is, it results
|
|
|
|
|
in a non-zero status code and an error message. This makes `delete` actions
|
|
|
|
|
behave the same as other commands, all of which pass through errors to the
|
|
|
|
|
CLI. Given `-format json` capability, it's relatively easy to perform a check
|
|
|
|
|
to see whether an error was `404` or something else from within scripts, in
|
|
|
|
|
conjunction with checking that the returned status code matches the API error
|
|
|
|
|
status code (`1`).
|
2021-04-26 19:38:55 -05:00
|
|
|
* When outputting from the CLI in JSON format, the resource information under
|
|
|
|
|
`item` or `items` (depending on the action) now exactly matches the JSON sent
|
|
|
|
|
across the wire by the controller, as opposed to matching the Go SDK
|
|
|
|
|
representation which could result in some extra fields being shown or fields
|
|
|
|
|
having Go-specific types. This includes `delete` actions which previously
|
|
|
|
|
would show an object indicating existence, but now show no `item` on success
|
|
|
|
|
or the API's `404` error.
|
2021-04-23 12:45:08 -05:00
|
|
|
* Permissions in new scope default roles have been updated to include support
|
|
|
|
|
for `list`, `read:self`, and `delete:self` on `auth-token` resources. This
|
|
|
|
|
allows a user to list and manage their own authentication tokens. (As is the
|
|
|
|
|
case with other resources, `list` will still be limited to returning tokens on
|
|
|
|
|
which the user has authorization to perform actions, so granting this
|
|
|
|
|
capability does not automatically give user the ability to list other users'
|
|
|
|
|
authentication tokens.)
|
|
|
|
|
|
2021-04-20 20:33:56 -04:00
|
|
|
### New and Improved
|
|
|
|
|
|
2021-05-04 19:57:35 -05:00
|
|
|
* permissions: Improving upon the work put into 0.2.0 to limit the fields that
|
|
|
|
|
are returned when listing as the anonymous user, grants now support a new
|
|
|
|
|
`output_fields` section. This takes in a comma-delimited (or in JSON format,
|
|
|
|
|
array) set of values that correspond to the JSON fields returned from an API
|
|
|
|
|
call (for listing, this will be applied to each resource under the `items`
|
|
|
|
|
field). If specified for a given ID or resource type (and scoped to specific
|
|
|
|
|
actions, if included), only the given values will be returned in the output.
|
|
|
|
|
If no `output_fields` are specified, the defaults are used. For authenticated
|
|
|
|
|
users this defaults to all fields; for `u_anon` this defaults to the fields
|
|
|
|
|
useful for navigating to and authenticating to the system. In either case,
|
|
|
|
|
this is overridable. See the [permissions
|
|
|
|
|
documentation](https://www.boundaryproject.io/docs/concepts/security/permissions)
|
|
|
|
|
for more information on why and when to use this. This currently only applies
|
|
|
|
|
to top-level fields in the response.
|
2021-04-28 09:25:51 -04:00
|
|
|
* cli/api/sdk: Add support to request additional OIDC claims scope values from
|
|
|
|
|
the OIDC provider when making an authentication request.
|
2021-05-07 12:37:20 -04:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1175)).
|
2021-05-04 08:37:56 -05:00
|
|
|
|
2021-04-28 09:25:51 -04:00
|
|
|
By default, Boundary only requests the "openid" claims scope value. Many
|
|
|
|
|
providers, like Okta and Auth0 for example, will not return the standard claims
|
2021-05-07 12:37:20 -04:00
|
|
|
of email and name when you request the default claims scope (openid).
|
2021-05-04 08:37:56 -05:00
|
|
|
|
2021-05-04 16:24:23 -07:00
|
|
|
Boundary uses the standard email and name claims to populate an OIDC
|
2021-04-28 09:25:51 -04:00
|
|
|
account's `Email` and `FullName` attributes. If you'd like these account
|
2021-05-04 16:24:23 -07:00
|
|
|
attributes populated, you'll need to reference your OIDC provider's documentation
|
2021-04-28 09:25:51 -04:00
|
|
|
to learn which claims scopes are required to have these claims returned during
|
2021-05-04 08:37:56 -05:00
|
|
|
the authentication process.
|
2021-04-28 09:25:51 -04:00
|
|
|
|
|
|
|
|
Boundary now provides a new OIDC auth method parameter `claims_scopes` which
|
|
|
|
|
allows you to add multiple additional claims scope values to an OIDC auth
|
2021-05-04 19:57:35 -05:00
|
|
|
method configuration.
|
2021-04-28 09:25:51 -04:00
|
|
|
|
|
|
|
|
For information on claims scope values see: [Scope Claims in the OIDC
|
|
|
|
|
specification](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims)
|
2021-05-04 08:37:56 -05:00
|
|
|
|
2021-04-26 19:38:55 -05:00
|
|
|
* cli: Match JSON format output with the across-the-wire API JSON format
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1155))
|
|
|
|
|
* api: Return `204` instead of an empty object on successful `delete` operations
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1155))
|
2021-04-23 09:13:37 -05:00
|
|
|
* actions: The new `no-op` action allows a grant to be given to a principals
|
|
|
|
|
without conveying any actionable result. Since resources do not appear in list
|
|
|
|
|
results if the principal has no actions granted on that resource, this can be
|
|
|
|
|
used to allow principals to see values in list results without also giving
|
|
|
|
|
`read` or other capabilities on the resources. The default scope permissions
|
|
|
|
|
have been updated to convey `no-op,list` instead of `read,list`.
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1138))
|
2021-04-23 12:45:08 -05:00
|
|
|
* cli/api/sdk: User resources have new attributes for:
|
2021-04-20 20:33:56 -04:00
|
|
|
* Primary Account ID
|
|
|
|
|
* Login Name
|
2021-04-23 12:45:08 -05:00
|
|
|
* Full Name
|
|
|
|
|
* Email
|
2021-05-04 08:37:56 -05:00
|
|
|
|
2021-04-23 09:13:37 -05:00
|
|
|
These new user attributes correspond to attributes from the user's primary
|
2021-04-23 12:45:08 -05:00
|
|
|
auth method account. These attributes will be empty when the user has no
|
2021-04-23 09:13:37 -05:00
|
|
|
account in the primary auth method for their scope, or there is no designated
|
2021-04-23 12:45:08 -05:00
|
|
|
primary auth method for their scope.
|
|
|
|
|
* cli: Support for reading and deleting the user's own token via the new
|
|
|
|
|
`read:self` and `delete:self` actions on auth tokens. If no token ID is
|
|
|
|
|
provided, the stored token's ID will be used (after prompting), or `"self"`
|
2021-05-04 19:57:35 -05:00
|
|
|
can be set as the value of the `-id` parameter to trigger this behavior
|
|
|
|
|
without prompting. ([PR](https://github.com/hashicorp/boundary/pull/1162))
|
2021-04-23 12:45:08 -05:00
|
|
|
* cli: New `logout` command deletes the current token in Boundary and forgets it
|
2021-05-04 19:57:35 -05:00
|
|
|
from the local system credential store, respecting `-token-name`
|
2021-04-23 12:45:08 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1134))
|
2021-05-04 08:37:56 -05:00
|
|
|
* config: The `name` field for workers and controllers now supports being set
|
|
|
|
|
from environment variables or a file on disk
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1181))
|
2021-04-20 20:33:56 -04:00
|
|
|
|
2021-04-15 12:33:52 -05:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* cors: Fix allowing all origins by default
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1134))
|
2021-05-03 08:55:37 -07:00
|
|
|
* cli: It is now an error to run `boundary database migrate` on an uninitalized db.
|
|
|
|
|
Use `boundary database init` instead.
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1184))
|
2021-05-05 10:49:06 -05:00
|
|
|
* cli: Correctly honor the `-format` flag when running `boundary database init`
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1204))
|
2021-04-15 12:33:52 -05:00
|
|
|
|
2021-04-13 20:39:05 -04:00
|
|
|
## 0.2.0 (2021/04/14)
|
2021-03-24 15:33:04 -04:00
|
|
|
|
2021-04-15 12:33:52 -05:00
|
|
|
### Known Issues
|
|
|
|
|
|
|
|
|
|
* By default, CORS support will allow all origins. This is due to a bug in how
|
|
|
|
|
the set of allowed origins was processed, in conjunction with changes to CORS
|
|
|
|
|
behavior to automatically include the origin of the Desktop Client. This will
|
|
|
|
|
be fixed in 0.2.1. In the meantime, this can be worked around by either
|
|
|
|
|
explicitly disabing CORS with `cors_enabled = false` in the `listener` config
|
|
|
|
|
block with purpose `api`; or setting an `allowed_origins` field to have values
|
|
|
|
|
other than `serve://boundary` (including values that do not map to any real
|
|
|
|
|
origin).
|
|
|
|
|
|
2021-03-24 16:07:43 -04:00
|
|
|
### Deprecations/Changes
|
|
|
|
|
|
2021-04-14 17:28:59 -04:00
|
|
|
* The `auth-methods/<id>:authenticate:login` action is deprecated and will be
|
|
|
|
|
removed in a few releases. (Yes, this was meant to deprecate the
|
|
|
|
|
`authenticate` action; apologies for going back on this!) To better support
|
|
|
|
|
future auth methods, and especially the potential for plugins, rather than
|
|
|
|
|
defining custom actions on the URL path the `authenticate` action will consume
|
|
|
|
|
both a map of parameters but also a `command` parameter that specifies the
|
|
|
|
|
type of command. This allows workflows that require multiple steps, such as
|
|
|
|
|
OIDC, to not require custom subactions. Additionally, the `credentials` map in
|
|
|
|
|
the `authenticate` action has been renamed `attributes` to better match other
|
|
|
|
|
types of resources. `credentials` will still work for now but will be removed
|
|
|
|
|
in a few releases. Finally, in the Go SDK, the `Authenticate` function now
|
|
|
|
|
requires a `command` value to be passed in.
|
2021-04-08 20:54:32 -04:00
|
|
|
* Related to the above change, the output of an API
|
|
|
|
|
`auth-methods/<id>:authenticate` call will return the given `command` value
|
|
|
|
|
and a map of attributes that depend on the given command. On the SDK side, the
|
|
|
|
|
output of the `Authenticate` function returns a map, from which a concrete
|
|
|
|
|
type can be easily umarshaled (see the updated `authenticate password` command
|
|
|
|
|
for an example).
|
2021-04-14 16:19:02 -05:00
|
|
|
* Anonymous scope/auth method listing: When listing auth methods and scopes
|
|
|
|
|
without authentication (that is, as the anonymous user `u_anon`), only
|
|
|
|
|
information necessary for navigation to an auth method and authenticating to
|
|
|
|
|
the auth method is now output. Granting `u_anon` list access to other resource
|
|
|
|
|
types will not currently filter any information out.
|
2021-03-24 16:07:43 -04:00
|
|
|
|
2021-03-25 17:53:11 -04:00
|
|
|
### New and Improved
|
|
|
|
|
|
2021-04-08 20:54:32 -04:00
|
|
|
* cli/api/sdk: New OIDC auth method type added with support for create, read,
|
|
|
|
|
update, delete, and list (see new cli `oidc` subcommands available on CRUDL
|
2021-04-14 19:39:33 -04:00
|
|
|
operations for examples), as well as the ability to authenticate against it
|
|
|
|
|
via the SDK, CLI, admin UI, and desktop client.
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1090))
|
2021-04-14 19:39:33 -04:00
|
|
|
* server: When performing recursive listing, `list` action is no longer required
|
|
|
|
|
to be granted to the calling user. Instead, the given scope acts as the root
|
|
|
|
|
point (so only results under that scope will be shown), and `list` grant is
|
2021-05-04 19:57:35 -05:00
|
|
|
evaluated per-scope. ([PR](https://github.com/hashicorp/boundary/pull/1016))
|
2021-03-25 17:53:11 -04:00
|
|
|
* database init: If the database is already initialized, return 0 as the exit
|
|
|
|
|
code. This matches how the `database migrate` command works.
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/1033))
|
2021-03-25 17:53:11 -04:00
|
|
|
|
2021-03-16 08:42:08 -07:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* server: Roles for auto generated scopes are now generated at database init.
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/996))
|
2021-04-09 12:09:51 -05:00
|
|
|
* cli: Don't panic on certain commands when outputting in `json` format
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/pull/992),
|
|
|
|
|
[PR](https://github.com/hashicorp/boundary/pull/1095))
|
2021-03-16 08:42:08 -07:00
|
|
|
|
2021-03-10 10:50:36 -05:00
|
|
|
## 0.1.8 (2021/03/10)
|
2021-02-25 12:43:17 -05:00
|
|
|
|
2021-03-12 10:38:45 -05:00
|
|
|
### Known Issues
|
|
|
|
|
|
|
|
|
|
These are specific known issues in the release that we feel are impactful enough
|
|
|
|
|
to call out in this changelog. The full set of open issues is on GitHub.
|
|
|
|
|
|
|
|
|
|
* cli: When authenticating, changing a password, or a couple of other specific
|
|
|
|
|
actions on the CLI, if the output format is specified as `json`, the command
|
|
|
|
|
will panic (after the API call executes). This is due to a preexisting bug
|
|
|
|
|
that was exposed by the JSON changes described in the changes section below.
|
|
|
|
|
Although most of our CLI-level tests operate on `json`-format output, because
|
|
|
|
|
our CLI-level tests use the token helper during execution, the authentication
|
|
|
|
|
test was using the normal table output since the output was ignored anyways.
|
|
|
|
|
As a result, our CLI tests did not catch this panic. Our apologies, and we
|
|
|
|
|
will fix this in the next release.
|
2021-03-16 08:42:08 -07:00
|
|
|
* Initially Created Scopes: Starting in 0.1.6, When initial scopes are created
|
|
|
|
|
when executing `boundary database init`, the associated admin roles aren't
|
|
|
|
|
created. The intended behavior is to have a role which granted the auto
|
|
|
|
|
created admin the grant `"id=*;type=*;actions=*"` for each auto generated
|
|
|
|
|
scope. To set your data to the intended state you can add a role for the
|
|
|
|
|
admin user in the generated scopes. An outline of the steps to do this can
|
|
|
|
|
be found in this
|
|
|
|
|
[gist](https://gist.github.com/talanknight/98492dc68d894f67742086eb41fdb506).
|
|
|
|
|
This will be fixed in the next release.
|
2021-03-12 10:38:45 -05:00
|
|
|
|
2021-02-25 12:43:17 -05:00
|
|
|
### Changes/Deprecations
|
|
|
|
|
|
2021-03-17 17:33:12 -04:00
|
|
|
* sdk (Go API library): A few functions have changed places. Notably, instead of
|
|
|
|
|
`ResponseMap()` and `ResponseBody()`, resources simply expose `Response()`.
|
|
|
|
|
This higher-level response object contains the map and body, and also exposes
|
|
|
|
|
`StatusCode()` in place of indivdidual resources.
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/962))
|
2021-02-25 12:43:17 -05:00
|
|
|
* cli: In `json` output format, a resource item is now an object under the
|
|
|
|
|
top-level key `item`; a list of resource items is now an list of objects under
|
|
|
|
|
the top-level key `items`. This preserves the top level for putting in other
|
|
|
|
|
useful information later on (and the HTTP status code is included now).
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/962))
|
2021-02-25 12:43:17 -05:00
|
|
|
* cli: In `json` output format, errors are now serialized as a JSON object with
|
|
|
|
|
an `error` key instead of outputting normal text
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/962))
|
2021-02-25 12:43:17 -05:00
|
|
|
* cli: All errors, including API errors, are now written to `stderr`. Previously
|
|
|
|
|
in the default table format, API errors would be written to `stdout`.
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/962))
|
2021-03-04 20:05:17 -05:00
|
|
|
* cli: Error return codes have been standardized across CLI commands. An error
|
|
|
|
|
code of `1` indicates an error generated from the actual controller API; an
|
|
|
|
|
error code of `2` is an error encountered due to the CLI command's logic; and
|
|
|
|
|
an error code of `3` indicates an error that was caused due to user input to
|
|
|
|
|
the command. (There is some nuance sometimes whether an error is really due to
|
|
|
|
|
user input or not, but we attempt to be consistent.)
|
2021-05-04 19:57:35 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/976))
|
2021-02-25 12:43:17 -05:00
|
|
|
|
2021-02-25 17:57:10 -05:00
|
|
|
### New and Improved
|
|
|
|
|
|
2021-03-01 12:23:17 -05:00
|
|
|
* list filtering: Listing now supports filtering results before being returned
|
|
|
|
|
to the user. The filtering takes place server side and uses boolean
|
|
|
|
|
expressions against the JSON representation of returned items. See [the
|
|
|
|
|
documentation](https://www.boundaryproject.io/docs/concepts/filtering/resource-listing)
|
2021-03-09 08:17:22 -05:00
|
|
|
for more details. ([PR 1](https://github.com/hashicorp/boundary/pull/952))
|
|
|
|
|
([PR 2](https://github.com/hashicorp/boundary/pull/957))
|
|
|
|
|
([PR 3](https://github.com/hashicorp/boundary/pull/967))
|
2021-02-25 17:57:10 -05:00
|
|
|
* server: Officially support reloading TLS parameters on `SIGHUP`. (This likely
|
|
|
|
|
worked before but wasn't fully tested.)
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/959))
|
|
|
|
|
* server: On `SIGHUP`, [worker
|
|
|
|
|
tags](https://www.boundaryproject.io/docs/configuration/worker#tags) will be
|
|
|
|
|
re-parsed and new values used
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/959))
|
2021-03-09 08:41:52 -05:00
|
|
|
* server: In addition to the existing `tls_min_version` listener configuration
|
|
|
|
|
value, `tls_max_version` is now supported. This should generally be left blank
|
|
|
|
|
but can be useful for situations where e.g. a load balancer has broken TLS 1.3
|
|
|
|
|
support, or does not support TLS 1.3 and flags it as a disallowed value.
|
2021-02-25 17:57:10 -05:00
|
|
|
|
2021-02-16 14:03:09 -05:00
|
|
|
## 0.1.7 (2021/02/16)
|
|
|
|
|
|
2021-03-09 08:17:22 -05:00
|
|
|
*Note:* This release fixes an upgrade issue affecting users on Postgres 11
|
2021-02-16 14:03:09 -05:00
|
|
|
upgrading to 0.1.5 or 0.1.6 and makes a modification to the `boundary dev`
|
|
|
|
|
environment. It is otherwise identical to 0.1.6; see the entry for that version
|
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
|
|
### Changes/Deprecations
|
|
|
|
|
|
|
|
|
|
* `boundary dev` now uses Postgres 11 by default, rather than Postgres 12.
|
|
|
|
|
|
|
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* server: Fix an issue with migrations affecting Postgres 11
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/940))
|
|
|
|
|
|
2021-02-12 11:53:32 -05:00
|
|
|
## 0.1.6 (2021/02/12)
|
2021-02-02 20:51:44 -05:00
|
|
|
|
2021-02-05 12:39:55 -05:00
|
|
|
### Changes/Deprecations
|
|
|
|
|
|
2021-02-10 15:59:31 -05:00
|
|
|
* authentication: The `auth-methods/<id>:authenticate` action is deprecated and
|
|
|
|
|
will be removed in a few releases. Instead, each auth method will define its
|
|
|
|
|
own action or actions that are valid. This is necessary to support multi-step
|
|
|
|
|
authentication schemes in upcoming releases. For the `password` auth method,
|
|
|
|
|
the new action is `auth-methods/<id>:authenticate:login`.
|
2021-02-05 12:39:55 -05:00
|
|
|
* permissions: Update some errors to make them more descriptive, and disallow
|
|
|
|
|
permissions in some forms where they will never take effect, preventing
|
|
|
|
|
possible confusion (existing grants already saved to the database will not be
|
|
|
|
|
affected as this is only filtered when grants are added/set on a role):
|
|
|
|
|
* `id=<some_id>;actions=<some_actions>` where one of the actions is `create`
|
|
|
|
|
or `list`. By definition this format operates only on individual resources
|
|
|
|
|
so `create` and `list` will never work
|
|
|
|
|
* `type=<some_type>;actions=<some_actions>` where one of the actions is _not_
|
|
|
|
|
`create` or `list`. This format operates only on collections so assigning
|
|
|
|
|
more actions this way will never work
|
2021-02-11 20:10:48 -05:00
|
|
|
* CORS: CORS is now turned on by default when running with `boundary server`
|
2021-02-12 11:04:09 -05:00
|
|
|
with an `allowed_origins` value of `serve://boundary`. You can disable it with
|
|
|
|
|
`cors_enabled = false`, or if you want to change parameters, set `cors_enabled
|
|
|
|
|
= true` and the other related configuration values.
|
2021-02-05 12:39:55 -05:00
|
|
|
|
2021-02-03 08:58:42 -05:00
|
|
|
### New and Improved
|
|
|
|
|
|
|
|
|
|
* server: When running single-server mode and `controllers` is not specified in
|
|
|
|
|
the `worker` block, use `public_cluster_addr` if given
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/904))
|
2021-02-10 20:22:02 -05:00
|
|
|
* server: `public_cluster_addr` in the `controller` block can now be specified
|
|
|
|
|
as a `file://` or `env://` URL to read the value from a file or env var
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/907))
|
2021-02-05 09:41:48 -08:00
|
|
|
* server: Add `read` action to default scope grant
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/913))
|
2021-02-10 20:22:02 -05:00
|
|
|
* server: `public_cluster_addr` in the `controller` block can now be specified
|
|
|
|
|
as a `file://` or `env://` URL to read the value from a file or env var
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/907))
|
2021-02-12 11:53:32 -05:00
|
|
|
* sessions: Add `read:self` and `cancel:self` actions and enable them by default
|
|
|
|
|
(in new project scopes) for all sessions. This allows a user to read or cancel
|
|
|
|
|
any session that is associated with their user ID. `read` and `cancel` actions
|
|
|
|
|
are still available that allow performing these actions on sessions that are
|
|
|
|
|
associated with other users.
|
2021-02-03 08:58:42 -05:00
|
|
|
|
2021-02-02 20:51:44 -05:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* api: Fix nil pointer panic that could occur when using TLS
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/pull/902),
|
|
|
|
|
[PR](https://github.com/hashicorp/boundary/pull/901))
|
2021-02-12 11:53:32 -05:00
|
|
|
* server: When shutting down a controller release the shared advisory lock with
|
|
|
|
|
a non-cancelled context.
|
2021-02-05 13:22:18 -07:00
|
|
|
([Issue](https://github.com/hashicorp/boundary/pull/909),
|
|
|
|
|
[PR](https://github.com/hashicorp/boundary/pull/918))
|
2021-02-10 15:59:31 -05:00
|
|
|
* targets: If a worker filter references a key that doesn't exist, treat it as a
|
|
|
|
|
non-match rather than an error
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/900))
|
2021-02-03 09:03:12 -05:00
|
|
|
|
2021-01-29 18:36:14 -05:00
|
|
|
## 0.1.5 (2021/01/29)
|
|
|
|
|
|
|
|
|
|
*NOTE*: This version requires a database migration via the new `boundary
|
|
|
|
|
database migrate` command.
|
2021-01-06 10:41:38 -08:00
|
|
|
|
2021-01-20 12:09:55 -05:00
|
|
|
### Security
|
|
|
|
|
|
2021-01-21 16:27:20 -05:00
|
|
|
* Boundary now uses Go's new execabs package for execution of binaries in
|
|
|
|
|
`boundary connect`. This is for defense-in-depth rather than a specific
|
|
|
|
|
issue. See the [Go blog post](https://blog.golang.org/path-security) for more
|
2021-01-25 19:37:40 -05:00
|
|
|
details. ([PR](https://github.com/hashicorp/boundary/pull/873))
|
2021-01-21 16:27:20 -05:00
|
|
|
|
|
|
|
|
### Changes/Deprecations
|
|
|
|
|
|
|
|
|
|
* controller/worker: Require names to be all lowercase. This removes ambiguity
|
|
|
|
|
or accidental mismatching when using upcoming filtering features.
|
2021-04-23 12:45:08 -05:00
|
|
|
* api/cli: Due to visibility changes on collection listing, a list will not
|
|
|
|
|
include any resources if the user only has `list` as an authorized action. As
|
|
|
|
|
a result `scope list`, which is used by the UI to populate the login scope
|
|
|
|
|
dropdown, will be empty if the role granting the `u_anon` user `list`
|
|
|
|
|
privileges is not updated to also contain a `read` action
|
2021-01-20 12:09:55 -05:00
|
|
|
|
2021-01-12 08:50:19 -08:00
|
|
|
### New and Improved
|
|
|
|
|
|
2021-01-21 16:27:20 -05:00
|
|
|
* targets: You can now specify a Boolean-expression filter against worker tags
|
|
|
|
|
to control which workers are allowed to handle any given target's sessions
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/862))
|
2021-01-20 10:53:01 -05:00
|
|
|
* api/cli: On listing/reading, return a list of actions the user is authorized
|
2021-01-21 16:27:20 -05:00
|
|
|
to perform on the identified resources or their associated collections
|
2021-01-20 10:53:01 -05:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/870))
|
2021-01-25 19:37:40 -05:00
|
|
|
* api/cli: Most resource types now support recursive listing, allowing listing
|
|
|
|
|
to occur down a scope tree
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/885))
|
2021-04-23 12:45:08 -05:00
|
|
|
* cli: Add a `database migrate` command which updates a database's schema to the
|
|
|
|
|
version supported by the boundary binary
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/872)).
|
2021-01-20 12:09:55 -05:00
|
|
|
|
2021-01-06 10:41:38 -08:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
2021-04-23 12:45:08 -05:00
|
|
|
* controller/db: Correctly check if db init previously completed successfully
|
|
|
|
|
when starting a controller or when running `database init`
|
2021-01-25 14:43:50 -07:00
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/805))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/842))
|
2021-01-08 17:30:41 -05:00
|
|
|
* cli: When `output-curl-string` is used with `update` or `add-/remove-/set-`
|
|
|
|
|
commands and automatic versioning is being used (that is, no `-version` flag
|
|
|
|
|
is given), it will now display the final call instead of the `GET` that
|
|
|
|
|
fetches the current version
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/856))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/858))
|
2021-04-23 12:45:08 -05:00
|
|
|
* db: Fix panic in `database init` when controller config block is missing
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/819))
|
2021-01-06 10:41:38 -08:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/851))
|
|
|
|
|
|
2021-01-05 09:26:21 -05:00
|
|
|
## 0.1.4 (2021/01/05)
|
2020-12-21 10:07:34 -08:00
|
|
|
|
|
|
|
|
### New and Improved
|
|
|
|
|
|
2020-12-23 11:00:00 -08:00
|
|
|
* controller: Improved error handling in iam repo
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/841))
|
2020-12-21 10:07:34 -08:00
|
|
|
* controller: Improved error handling in db
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/815))
|
|
|
|
|
|
|
|
|
|
### Bug Fixes
|
2021-01-02 19:49:39 -05:00
|
|
|
|
|
|
|
|
* servers: Fix erronious global unicast check that disallowed valid addresses
|
|
|
|
|
from being assigned ([PR](https://github.com/hashicorp/boundary/pull/845))
|
2021-01-05 09:26:21 -05:00
|
|
|
* cli: Fix (hopefully) panic some users experience depending on their Linux
|
|
|
|
|
setup when running the binary
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/830))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/846))
|
2021-01-20 12:09:55 -05:00
|
|
|
|
2021-01-05 09:26:21 -05:00
|
|
|
## 0.1.3 (2020/12/18)
|
2020-11-20 09:27:44 -08:00
|
|
|
|
2020-12-09 16:05:48 -05:00
|
|
|
### Changes/Deprecations
|
|
|
|
|
|
|
|
|
|
* controller: Switch the session connection limit for dev mode and the initial
|
|
|
|
|
target when doing database initialization to `-1`. This makes it easier for
|
|
|
|
|
people to start understanding Boundary while not hitting issues related to
|
|
|
|
|
some programs/protocols needing multiple connections as they may not be easy
|
|
|
|
|
for new users to understand.
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/814))
|
|
|
|
|
|
2020-12-02 09:56:19 -08:00
|
|
|
### New and Improved
|
|
|
|
|
|
2020-12-16 17:14:47 -05:00
|
|
|
* controller, worker, cli: When the client quits before the session time is
|
|
|
|
|
over, but in a manner where the TOFU token will be locked, attempt canceling
|
|
|
|
|
the session rather than leaving it open to time out
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/831))
|
2020-12-09 10:15:41 -08:00
|
|
|
* controller: Improved error handling in hosts, host catalog and host set
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/786))
|
2021-04-23 12:45:08 -05:00
|
|
|
* controller: Relax account login name constraints to allow dash as valid
|
|
|
|
|
character ([Issue](https://github.com/hashicorp/boundary/issues/759))
|
2020-12-02 09:56:19 -08:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/806))
|
2020-12-09 14:45:53 -05:00
|
|
|
* cli/connect/http: Pass endpoint address through to allow setting TLS server
|
|
|
|
|
name directly in most cases
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/811))
|
2020-12-14 16:55:13 -05:00
|
|
|
* cli/connect/kube: New `kube` subcommand for `boundary connect` that makes it
|
|
|
|
|
easy to route `kubectl` commands through Boundary, including when using
|
|
|
|
|
`kubectl proxy` ([PR](https://github.com/hashicorp/boundary/pull/816))
|
2020-12-18 12:12:25 -05:00
|
|
|
* cli/server: Add some extra checks around valid/invalid combinations of
|
|
|
|
|
addresses to avoid hard-to-understand runtime issues
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/838))
|
2020-12-02 09:56:19 -08:00
|
|
|
|
2020-11-20 09:27:44 -08:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* cli: Ensure errors print to stderr when token is not found
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/791))
|
2020-12-02 09:56:19 -08:00
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/799))
|
2020-12-18 13:25:28 -05:00
|
|
|
* controller: Fix grant IDs being lowercased when being read back (and when
|
|
|
|
|
being used for permission evaluation)
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/794))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/839))
|
2020-11-20 09:27:44 -08:00
|
|
|
|
2021-01-06 10:41:38 -08:00
|
|
|
## 0.1.2 (2020/11/17)
|
2020-10-27 10:43:50 -04:00
|
|
|
|
2020-10-29 08:44:57 -07:00
|
|
|
### New and Improved
|
|
|
|
|
|
|
|
|
|
* docker: Official Docker image for `hashicorp/boundary`
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/755))
|
2020-10-30 16:54:53 -04:00
|
|
|
* controller: Add ability to set public address for cluster purposes
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/pull/758))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/761))
|
2020-11-05 19:22:40 -05:00
|
|
|
* ui: Improve scope awareness and navigation, including IAM for global scope
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary-ui/pull/355))
|
|
|
|
|
* ui: Add dark mode toggle
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/719))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary-ui/pull/358))
|
|
|
|
|
* ui: Add scope grants to roles
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary-ui/pull/357))
|
|
|
|
|
* ui: Add IAM resources to global scope
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary-ui/pull/351))
|
2020-10-29 08:44:57 -07:00
|
|
|
|
2020-10-27 10:43:50 -04:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
* controller, worker: Fix IPv4-only check so `0.0.0.0` specified without a port
|
2020-11-05 19:22:40 -05:00
|
|
|
only listens on IPv4
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/752))
|
|
|
|
|
* ui: Fix grant string corruption on updates
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/757))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary-ui/pull/356))
|
2020-11-13 07:06:37 -08:00
|
|
|
* controller, cli: Fix mutual exclusivity bug with using -authz-token on `boundary connect`
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/787))
|
2020-10-27 10:43:50 -04:00
|
|
|
|
2021-01-06 10:41:38 -08:00
|
|
|
## 0.1.1 (2020/10/22)
|
2020-10-15 19:29:33 -04:00
|
|
|
|
2020-10-21 09:00:17 -04:00
|
|
|
### Changes/Deprecations
|
2020-10-15 19:29:33 -04:00
|
|
|
|
2020-10-22 08:40:00 -04:00
|
|
|
Note: in addition to changes marked below in this section, be aware that
|
|
|
|
|
currently names of resources are case-sensitive, but in a future update they
|
|
|
|
|
will become case-preserving but case-insensitive for comparisons (e.g. if using
|
|
|
|
|
them to access targets).
|
|
|
|
|
|
2020-10-21 09:00:17 -04:00
|
|
|
* cli: There are two changes to token storage handling:
|
2020-10-22 08:40:00 -04:00
|
|
|
* Specifying `none` for the `-token-name` parameter has been deprecated in
|
|
|
|
|
favor of specifying `none` for the new `-keyring-type` parameter.
|
2020-10-21 09:00:17 -04:00
|
|
|
* [`pass`](https://www.passwordstore.org/) is now the default keyring type on
|
|
|
|
|
non-Windows/non-macOS platforms. See the [CLI docs
|
|
|
|
|
page](https://www.boundaryproject.io/docs/api-clients/cli) for more
|
|
|
|
|
information.
|
2020-10-15 19:29:33 -04:00
|
|
|
|
2020-10-21 09:00:17 -04:00
|
|
|
### New and Improved
|
|
|
|
|
|
2020-10-22 08:40:00 -04:00
|
|
|
* cli: New `-keyring-type` option and `pass` keyring type for token storage
|
2020-10-21 09:00:17 -04:00
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/697))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/issues/731))
|
2020-10-22 08:40:00 -04:00
|
|
|
* connect: Allow using `-target-name` in conjunction with either
|
|
|
|
|
`-target-scope-id` or `-target-scope-name` to connect to targets, rather than
|
2020-11-05 19:22:40 -05:00
|
|
|
the target's ID
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/737))
|
2020-10-16 13:45:47 -04:00
|
|
|
* controller: Allow API/Cluster listeners to be Unix domain sockets
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/pull/699))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/705))
|
2020-10-22 12:24:36 -04:00
|
|
|
* ui: Allow creating and assigning a host to a host set directly from the host
|
2020-11-05 19:22:40 -05:00
|
|
|
set view
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/710))
|
2020-10-22 12:24:36 -04:00
|
|
|
([PR](https://github.com/hashicorp/boundary-ui/pull/350))
|
2020-10-16 13:45:47 -04:00
|
|
|
|
2020-10-15 19:29:33 -04:00
|
|
|
### Bug Fixes
|
|
|
|
|
|
2020-11-05 19:22:40 -05:00
|
|
|
* cli: Fix database init when locale isn't English
|
2020-10-20 21:13:01 -04:00
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/729))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/736))
|
2020-10-15 19:29:33 -04:00
|
|
|
* cli: Fix hyphenation in help output for resources with compound names
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/686))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/689))
|
2020-10-20 18:28:57 -07:00
|
|
|
* controller: Allow connecting to Postgres when using remote Docker in dev mode
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/720)
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/732))
|
2020-10-16 13:45:47 -04:00
|
|
|
* controller, worker: Fix listening on IPv6 addresses
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/701))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/703))
|
2020-10-19 15:02:51 -07:00
|
|
|
* worker: Fix setting controller address for worker in dev mode
|
|
|
|
|
([Issue](https://github.com/hashicorp/boundary/issues/727))
|
|
|
|
|
([PR](https://github.com/hashicorp/boundary/pull/705))
|
2020-10-15 19:29:33 -04:00
|
|
|
|
2021-01-06 10:41:38 -08:00
|
|
|
## 0.1.0 (2020/10/14)
|
2020-09-24 10:17:22 -07:00
|
|
|
|
2020-10-20 18:28:57 -07:00
|
|
|
v0.1.0 is the first release of Boundary. As a result there are no changes,
|
|
|
|
|
improvements, or bugfixes from past versions.
|