-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintain changelogs for release branches on
main
only (#930)
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
- Loading branch information
1 parent
0e761d8
commit 44cd17a
Showing
7 changed files
with
47 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,5 @@ | ||
# Changelog | ||
|
||
## 2.4.6 | ||
|
||
## 2.4.5 | ||
|
||
## 2.4.4 | ||
|
||
## 2.4.3 | ||
|
||
## 2.4.2 | ||
|
||
## 2.4.1 | ||
|
||
## 2.4.0 | ||
|
||
### Changed | ||
- Input policies for `check-parse` command can be read from standard input. | ||
|
||
### Fixed | ||
- Duplicate policy ids in `@id` annotations cause the CLI to exit gracefully | ||
instead of panicking. | ||
|
||
## 2.3.3 | ||
|
||
## 2.3.2 | ||
|
||
## 2.3.1 | ||
|
||
## 2.3.0 | ||
|
||
## 2.2.0 | ||
|
||
### Changed | ||
- Update `cedar-policy` and `cedar-policy-core` dependencies. | ||
|
||
## 2.1.0 | ||
|
||
### Changed | ||
- Update `cedar-policy` and `cedar-policy-formater` dependencies. | ||
|
||
### Fixed | ||
- Resolve warning in `Cargo.toml` due to having both `license` and `license-file` metadata entries. | ||
|
||
## 2.0.3 | ||
|
||
### Fixed | ||
- Update `Cargo.toml` metadata to correctly represent this crate as Apache-2.0 licensed. | ||
|
||
## 2.0.2 | ||
|
||
## 2.0.1 | ||
|
||
## 2.0.0 | ||
|
||
Initial release of `cedar-policy-cli`. | ||
The changelog for all the release branches of `cedar-policy-cli` is maintained on | ||
the `main` branch. You can view the most up-to-date changelog | ||
[here](https://github.com/cedar-policy/cedar/blob/main/cedar-policy-cli/CHANGELOG.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,4 @@ | ||
# Changelog | ||
|
||
## 2.4.2 | ||
|
||
## 2.4.1 | ||
|
||
- Bumped `pretty`, `logos`, and `regex` dependencies | ||
|
||
## 2.4.0 | ||
|
||
## 2.3.3 | ||
|
||
## 2.3.2 | ||
|
||
## 2.3.1 | ||
|
||
## 2.3.0 | ||
|
||
## 2.2.0 | ||
|
||
- Update `cedar-policy-core` dependency. | ||
|
||
## 2.1.0 | ||
|
||
- Update `cedar-policy-core` dependency. | ||
- Resolve warning in `Cargo.toml` due to having both `license` and `license-file` metadata entries. | ||
|
||
## 2.0.2 | ||
|
||
- Update `Cargo.toml` metadata to correctly represent this crate as Apache-2.0 licensed. | ||
|
||
## 2.0.1 | ||
|
||
## 2.0.0 | ||
|
||
Initial release of `cedar-policy-formatter`. | ||
We no longer maintain a separate changelog for `cedar-policy-formatter`. | ||
See the changelog for `cedar-policy` [here](https://github.com/cedar-policy/cedar/blob/main/cedar-policy/CHANGELOG.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,188 +1,5 @@ | ||
# Changelog | ||
|
||
## 2.4.7 | ||
|
||
### Fixed | ||
|
||
- Fixed policy formatter reordering some comments around if-then-else and | ||
entity identifier expressions. (#861, resolving #787) | ||
- Fixed policy formatter dropping newlines in string literals. (#870, #910, resolving #862) | ||
|
||
## 2.4.6 | ||
|
||
### Fixed | ||
|
||
- The formatter will now fail with an error if it changes a policy's semantics. | ||
|
||
## 2.4.5 | ||
|
||
### Changed | ||
|
||
- Implement [RFC 57](https://github.com/cedar-policy/rfcs/pull/57): policies can | ||
now include multiplication of arbitrary expressions, not just multiplication of | ||
an expression and a constant. | ||
|
||
## 2.4.4 | ||
|
||
Cedar Language Version: 2.1.3 | ||
|
||
### Changed | ||
|
||
- Calling `add_template` with a `PolicyId` that is an existing link will now error. (#671, backport of #456) | ||
|
||
### Fixed | ||
|
||
- Updated `PolicySet::link` to not mutate internal state when failing to link a static | ||
policy. With this fix it is possible to create a link with a policy id | ||
after previously failing to create that link with the same id from a static | ||
policy. (#669, backport of #412) | ||
- Action entities in the store will pass schema-based validation without requiring | ||
the transitive closure to be pre-computed. (#688, backport of #581) | ||
- Policies containing the literal `i64::MIN` can now be properly converted to the JSON policy format. (#672, backport of #601) | ||
- `Template::from_json` errors when there are slots in template conditions. (#672, backport of #626) | ||
- `Policy::to_json` does not error on policies containing special identifiers such as `principal`, `then`, and `true`. (#672, backport of #628) | ||
|
||
## 2.4.3 | ||
|
||
Cedar Language Version: 2.1.3 | ||
|
||
### Fixed | ||
|
||
- Reverted accidental breaking change to schema format introduced in the 2.3.2 | ||
release. | ||
Attribute types in schema files may now contain unexpected keys (as they could | ||
before 2.3.2). | ||
As a side effect, schema parsing error messages are less useful when an | ||
attribute type is missing a required key. | ||
The 2.4.2 behavior, including the more useful error messages, remain available | ||
in all 3.x versions of Cedar. | ||
(#520) | ||
|
||
## 2.4.2 | ||
|
||
### Changed | ||
- Fixed bug (#370) related to how the validator handles template-linked policies | ||
|
||
## 2.4.1 | ||
### Added | ||
- New experimental API to construct queries with `Unknown` fields for partial evaluation. | ||
|
||
### Changed | ||
- Improved validation error messages for access to undeclared attributes and unsafe access to optional attributes to report the target of the access (fix #175). | ||
- `EntityUid`'s impl of `FromStr` is no longer marked as deprecated. | ||
- Fixed #299, condition of `if` not being partial evaluated. | ||
- Update the behavior of `Request::principal()`, `Request::action()`, and `Request::resource()` to | ||
return `None` if the entities are unspecified (i.e., constructed by passing `None` to `Request::new()`). | ||
|
||
## 2.4.0 | ||
|
||
### Added | ||
- New methods exported for `EntityTypeName`. | ||
- `basename` to get the basename (without namespaces). | ||
- `namespace_components` to get the namespace as an iterator over its components. | ||
- `namespace` to get the namespace as a single string. | ||
|
||
### Changed | ||
- Some error types now carry more information about the error, with error | ||
messages updated appropriately. For instance, added list of attributes that _do_ | ||
exist to the `RecordAttrDoesNotExist` error message. | ||
- Improved error messages for some schema type parsing errors. | ||
- When an entity type shape or action context is declared with type other than | ||
`Record`, the error message will indicated the affected entity type or action. | ||
- Improved a variety of other error messages | ||
- Increased precision for validating records. Previously, | ||
`permit(principal, action, resource) when {{"foo": 5} has bar};` would validate. | ||
Now it will not, since we know `{"foo": 5} has bar` is `False`, and the | ||
validator will return an error for a policy that can never fire. | ||
- Removed deprecated `__expr` escapes from integration tests. | ||
|
||
## 2.3.3 | ||
|
||
### Added | ||
- Re-export `cedar_policy_core::entities::EntitiesError`. | ||
- Fixed bug (#150) around implicit namespaces for actions in `memberOf` lists in | ||
schemas. An action without an explicit namespace in a `memberOf` now | ||
correctly uses the default namespace. | ||
|
||
### Changed | ||
- Improved error messages and documentation for some errors raised during | ||
policy parsing, validation, and evaluation. | ||
- More precise "expected tokens" lists in some parse errors. | ||
|
||
## 2.3.2 | ||
|
||
### Removed | ||
- Move public API for partial evaluation behind experimental feature flag. To | ||
continue using this feature you must enable the `partial-eval` feature flag. | ||
|
||
### Changed | ||
|
||
- Improved error detection in schema based parsing (fix issues #73, #74). | ||
- Detect entities with parents of an incorrect entity type. | ||
- Detect entities with an undeclared entity type. | ||
- Slightly improved error text on some validation type errors | ||
- Improved error messages for some schema type parsing errors | ||
- Parsing a schema type without the `"type"` field will generate an error | ||
stating that `"type"` is a required field instead of an inscrutable error | ||
complaining about the untagged enum `SchemaType`. | ||
- Parsing a schema type with a `"type"` field corresponding to one of the | ||
builtin types but missing a required field for that type will generate an | ||
error stating that a required field is missing instead of claiming that it | ||
could not find "common types" definition for that builtin type. | ||
|
||
## 2.3.1 | ||
|
||
### Fixed | ||
|
||
- Fix a panic in `PolicySet::link()` that could occur when the function was called | ||
with a policy id corresponding to a static policy. | ||
|
||
## 2.3.0 | ||
|
||
### Changed | ||
|
||
- Implementation of | ||
[RFC 9](https://github.com/cedar-policy/rfcs/blob/main/text/0009-disallow-whitespace-in-entityuid.md) | ||
which disallows embedded whitespace, comments, and control characters in the | ||
inputs to several Rust API functions including `EntityTypeName::from_str()` and | ||
`EntityNamespace::from_str()`, as well as in some fields of the Cedar JSON | ||
schema format (e.g., namespace declarations, entity type names), Cedar JSON | ||
entities format (e.g., entity type names, extension function names) and the | ||
Cedar JSON policy format used by `Policy::from_json()` (e.g., entity type names, | ||
extension function names). The risk that this may be a breaking change for some | ||
Cedar users was accepted due to the potential security ramifications; see | ||
discussion in the RFC. | ||
|
||
## 2.2.0 | ||
|
||
### Added | ||
|
||
- `Entities::write_to_json` function to api.rs | ||
|
||
## 2.1.0 | ||
|
||
### Added | ||
|
||
- `Schema::action_entities` to provide access to action entities defined in a schema. | ||
|
||
### Changed | ||
|
||
- Update `cedar-policy-core` dependency. | ||
|
||
### Fixed | ||
|
||
- Resolve warning in `Cargo.toml` due to having both `license` and `license-file` metadata entries. | ||
|
||
## 2.0.3 | ||
|
||
### Fixed | ||
|
||
- Update `Cargo.toml` metadata to correctly represent this crate as Apache-2.0 licensed. | ||
|
||
## 2.0.2 | ||
|
||
## 2.0.1 | ||
|
||
## 2.0.0 | ||
|
||
Initial release of `cedar-policy`. | ||
The changelog for all the release branches of `cedar-policy` is maintained on | ||
the `main` branch. You can view the most up-to-date changelog | ||
[here](https://github.com/cedar-policy/cedar/blob/main/cedar-policy/CHANGELOG.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters