Skip to content

Conversation

@stewSquared
Copy link

@stewSquared stewSquared commented Jul 21, 2025

Resolves #1330

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

I imagine updating the changelog is unnecessary if the deprecations were previously mentioned.

@CLAassistant
Copy link

CLAassistant commented Jul 21, 2025

CLA assistant check
All committers have signed the CLA.

) extends CachedSchemaCompiler.DerivingImpl[Encoder]
with EncoderCompiler {

@deprecated
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting this didn't have a message or version in case that warrants scrutiny.

def this(cache: CompilationCache[DocumentEncoder]) =
this(cache, explicitDefaultsEncoding = false)

@deprecated
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting this didn't have a message or version in case that warrants scrutiny.

@stewSquared stewSquared force-pushed the remove-deprecations-for-0.19 branch 2 times, most recently from b8e03cc to a08ca1d Compare July 21, 2025 21:53
test("Document encoder - timestamp defaults") {
val result = Document.Encoder
.withExplicitDefaultsEncoding(false)
.withFieldFilter(FieldFilter.Default)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: since it's the default, we can just skip this line. Applies to both cases

@kubukoz
Copy link
Member

kubukoz commented Jul 21, 2025

Normally I'd only get to such tasks once we're relatively close to that 0.19 release, but it doesn't hurt so let's go with it :)

@stewSquared stewSquared force-pushed the remove-deprecations-for-0.19 branch from a08ca1d to 6854aee Compare July 21, 2025 22:59
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.

3 participants