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

Merge 0.18 into 0.19 #1561

Merged
merged 42 commits into from
Jul 24, 2024
Merged

Merge 0.18 into 0.19 #1561

merged 42 commits into from
Jul 24, 2024

Conversation

kubukoz
Copy link
Member

@kubukoz kubukoz commented Jun 14, 2024

Clean merge except for changelog and an import in SmithyToIR.

PR Checklist (not all items are relevant to all PRs)

  • Added unit-tests (for runtime code)
  • Added bootstrapped code + smoke tests (when the rendering logic is modified)
  • Added build-plugins integration tests (when reflection loading is required at codegen-time)
  • Added alloy compliance tests (when simpleRestJson protocol behaviour is expanded/updated)
  • Updated dynamic module to match generated-code behaviour
  • Added documentation
  • Updated changelog

msosnicki and others added 30 commits May 16, 2024 11:56
Change Blob equals semantics + fix tests
Also align on what ScalaPB does and avoid the `/scala` segment in the
generated folders.
Change the smithy4sOutputDir SBT setting default value
…ros-2.28.5

Update jsoniter-scala-macros to 2.28.5
…oto-0.5.3

Update smithytranslate-proto to 0.5.3
Update protobuf-java, protobuf-java-util to 3.24.4
* Avoid relying on a .sbtopts file to communicate JVM options to SBT in CI 
* adds .sbtopts to the gitignore
Adds a `scalaImports` trait which can be used to add ad-hoc imports to the generated code, which can be useful when combining built-in validators and refinements.
Support parsing timestamps without seconds
Bumps [clsx](https://github.com/lukeed/clsx) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/lukeed/clsx/releases)
- [Commits](lukeed/clsx@v2.0.0...v2.1.1)

---
updated-dependencies:
- dependency-name: clsx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot bot and others added 8 commits June 3, 2024 17:35
…1555)

Bumps [docusaurus-lunr-search](https://github.com/lelouch77/docusaurus-lunr-search) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/lelouch77/docusaurus-lunr-search/releases)
- [Commits](praveenn77/docusaurus-lunr-search@v3.3.2...v3.4.0)

---
updated-dependencies:
- dependency-name: docusaurus-lunr-search
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Timestamp defaults

* Fix JS tests

* Update CHANGELOG

* Delete unused import

* Fix broken http4s test

* Fix CHANGELOG

* Update CHANGELOG

* PR comments

* Remove unnecessary change
This PR introduces a change in Smithy4s sbt codegen plugin that would allow users to see what caused the codegen to re-execute. It is done by replacing `sbt.util.Tracked.inputChanged` with a similar implementation that keeps the entire codegen args serialized in cache, and when codegen needs to be rerun, plugin will print the diff of the values to debug log. The diff is calculated using [munit-diff](https://scalameta.org/munit/blog/2024/05/22/release-1.0.0.html#diff-module-extracted-to-a-separate-module).

When running `sbt` with `set logLevel := Level.Debug`, user will notice a diff like this when codegen needs to rerun:
* Use protoc from nix when available

* Add TODO

* Update nixpkgs and nodejs to 18.x

* Replace explicit exec path with lib function

* Override jre used by sbt

* Update flake.nix

Co-authored-by: Jakub Kozłowski <[email protected]>

* Extract protobuf variable

---------

Co-authored-by: ghostbuster91 <[email protected]>
Co-authored-by: Jakub Kozłowski <[email protected]>
…1511)

empty Json payload now will decode to the default value of the shape being decode. If no default is present, only then will it attempt to decode an empty json object
@kubukoz kubukoz marked this pull request as ready for review June 20, 2024 18:00
denisrosca and others added 4 commits June 25, 2024 01:08
* WIP: validated newtypes squashed

Co-Authored-By: Denis Rosca <[email protected]>

* Common supertype

* Fix mima

* Fix formatting

* Fix bincompat issue in 2.1x

* ber precise about mima baseline

* Add dummy change to retrigger build

---------

Co-authored-by: Jakub Kozłowski <[email protected]>
Fix version number (we moved the feature to 0.18)
@kubukoz kubukoz merged commit 2a3f689 into series/0.19 Jul 24, 2024
11 checks passed
@kubukoz kubukoz deleted the merge-018-into-019-jun14 branch July 24, 2024 20:04
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.

10 participants