Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enforce Dafny formatting #865

Merged
merged 3 commits into from
Mar 27, 2024
Merged

feat: enforce Dafny formatting #865

merged 3 commits into from
Mar 27, 2024

Conversation

ajewellamz
Copy link
Contributor

@ajewellamz ajewellamz commented Mar 27, 2024

Description of changes:
added "make format_dafny" and "make format_dafny-check"
ran "make format_dafny"

added library_format.yml to CI to run "make format_dafny-check"

One day soon, we should add formatting for the other languages, in the way that the MPL does.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ajewellamz ajewellamz requested a review from a team as a code owner March 27, 2024 19:57
@ajewellamz ajewellamz merged commit dfc0dbd into main Mar 27, 2024
26 checks passed
@ajewellamz ajewellamz deleted the ajewell/format branch March 27, 2024 21:24
josecorella pushed a commit to josecorella/aws-database-encryption-sdk-dynamodb that referenced this pull request Apr 23, 2024
## [3.4.0](v3.3.0...v3.4.0) (2024-04-23)

### Features

* enforce Dafny formatting ([aws#865](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/865)) ([dfc0dbd](dfc0dbd))

### Maintenance

* add verify test for test vectors ([aws#897](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/897)) ([6c980e7](6c980e7))
* Adopt SmithyDafnyMakefile.mk, progress towards fixing nightly build ([aws#797](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/797)) ([785481c](785481c)), closes [/github.com/aws/pull/797/files#diff-692e2b06d124c9775e2fcd9cd9dbd10e0c8ea470e08174ed0b258b0301622581R182](https://github.com/josecorella//github.com/aws/aws-database-encryption-sdk-dynamodb/pull/797/files/issues/diff-692e2b06d124c9775e2fcd9cd9dbd10e0c8ea470e08174ed0b258b0301622581R182)
* **deps:** bump actions/setup-dotnet from 3 to 4 in /.github/workflows ([aws#943](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/943)) ([f5d9748](f5d9748))
* **deps:** bump io.github.gradle-nexus.publish-plugin ([aws#903](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/903)) ([04c6cc4](04c6cc4))
* **deps:** bump org.projectlombok:lombok ([aws#838](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/838)) ([56f1cd1](56f1cd1))
* **deps:** bump rrainn/dynamodb-action in /.github/workflows ([aws#932](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/932)) ([16e4d7b](16e4d7b))
* point to the correct readme ([aws#845](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/845)) ([b950b4a](b950b4a))
* repair json file names ([aws#846](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/846)) ([3ca955a](3ca955a))
* test "dotnet pack" in CI ([aws#851](https://github.com/josecorella/aws-database-encryption-sdk-dynamodb/issues/851)) ([75e44d0](75e44d0))
josecorella pushed a commit that referenced this pull request Apr 30, 2024
## [3.4.0](v3.3.0...v3.4.0) (2024-04-30)

### Features

* enforce Dafny formatting ([#865](#865)) ([dfc0dbd](dfc0dbd))
* more test vectors ([#959](#959)) ([3ca15af](3ca15af))

### Maintenance

* add verify test for test vectors ([#897](#897)) ([6c980e7](6c980e7))
* Adopt SmithyDafnyMakefile.mk, progress towards fixing nightly build ([#797](#797)) ([785481c](785481c)), closes [/github.com//pull/797/files#diff-692e2b06d124c9775e2fcd9cd9dbd10e0c8ea470e08174ed0b258b0301622581R182](https://github.com/aws//github.com/aws/aws-database-encryption-sdk-dynamodb/pull/797/files/issues/diff-692e2b06d124c9775e2fcd9cd9dbd10e0c8ea470e08174ed0b258b0301622581R182)
* **CI/CD:** add semantic release automation ([#949](#949)) ([3f22abc](3f22abc))
* **deps:** bump actions/setup-dotnet from 3 to 4 in /.github/workflows ([#943](#943)) ([f5d9748](f5d9748))
* **deps:** bump aws-actions/configure-aws-credentials ([#954](#954)) ([90d7d78](90d7d78))
* **deps:** bump io.github.gradle-nexus.publish-plugin ([#903](#903)) ([04c6cc4](04c6cc4))
* **deps:** bump org.projectlombok:lombok ([#838](#838)) ([56f1cd1](56f1cd1))
* **deps:** bump rrainn/dynamodb-action in /.github/workflows ([#932](#932)) ([16e4d7b](16e4d7b))
* **docs:** mention sign_and_include in javadoc for keyid supplier ([#966](#966)) ([2796693](2796693))
* point to the correct readme ([#845](#845)) ([b950b4a](b950b4a))
* repair json file names ([#846](#846)) ([3ca955a](3ca955a))
* test "dotnet pack" in CI ([#851](#851)) ([75e44d0](75e44d0))
* **test:** add tests for attribute names that seem structured ([#964](#964)) ([c4c0886](c4c0886))
* Update MPL to 1.3.0 ([#972](#972)) ([3d8acae](3d8acae))
josecorella added a commit that referenced this pull request May 1, 2024
* chore(release): 3.4.0 [skip ci]

## [3.4.0](v3.3.0...v3.4.0) (2024-04-30)

### Notes
#### .NET
- [#797](#797) ([785481c](785481c)) Enforces User input Constraints at Type Conversion.

Prior to this fix, unset Integers defaulted to `0`, and unset Booleans defaulted to `false`.

Now, all required fields MUST be set or a Runtime Exception will be thrown.

This particularly effects Searchable Encryption's 
`ConstructorPart`, who's required field previously
would have defaulted to false.
Any configuration ever created for Searchable Encryption can be re-created with the fix, but they may look different.

### Features

*  **feat(.NET):** Validate user input #797 (785481c)


### Maintenance

* **format:** enforce Dafny formatting ([#865](#865)) ([dfc0dbd](dfc0dbd))
* **test:** more test vectors ([#959](#959)) ([3ca15af](3ca15af))
* **CI** add verify test for test vectors ([#897](#897)) ([6c980e7](6c980e7))
* **CI/CD:** add semantic release automation ([#949](#949)) ([3f22abc](3f22abc))
* **deps:** bump actions/setup-dotnet from 3 to 4 in /.github/workflows ([#943](#943)) ([f5d9748](f5d9748))
* **deps:** bump aws-actions/configure-aws-credentials ([#954](#954)) ([90d7d78](90d7d78))
* **deps(Java):** bump io.github.gradle-nexus.publish-plugin ([#903](#903)) ([04c6cc4](04c6cc4))
* **deps(Java):** bump org.projectlombok:lombok ([#838](#838)) ([56f1cd1](56f1cd1))
* **deps:** bump rrainn/dynamodb-action in /.github/workflows ([#932](#932)) ([16e4d7b](16e4d7b))
* **docs:** mention sign_and_include in javadoc for keyid supplier ([#966](#966)) ([2796693](2796693))
* **docs:** point to the correct readme ([#845](#845)) ([b950b4a](b950b4a))
* **fix:** repair json file names ([#846](#846)) ([3ca955a](3ca955a))
* **test(.NET):** "dotnet pack" in CI ([#851](#851)) ([75e44d0](75e44d0))
* **test:** add tests for attribute names that seem structured ([#964](#964)) ([c4c0886](c4c0886))
* **deps(Java & .NET):** Update MPL to 1.3.0 ([#972](#972)) ([3d8acae](3d8acae))

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Tony Knapp <5892063+texastony@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants