question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.0.0-RC6: AssertionM gone

See original GitHub issue

grafik

AssertionM is gone and neither in the migration guide nor in the 2.0.0-RC6 release notes there’s a mention on how to migrate. Please update the docs and/or release notes - thx!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
adamgfrasercommented, May 5, 2022

@boniface That is very fair feedback. Appreciate it. We try to do that but given how close we are to a final release there doesn’t seem to be much value in deprecating things we will need to immediately delete.

At least my experience in upgrading libraries for the latest release candidate was that it was quite straightforward as almost all the changes were relatively mechanical and IO.someMethod can always be replaced with ZIO.someMethod and so on, but understand there is some work involved and that isn’t completely automated if you moved to a previous ZIO release candidate.

Thank you for bearing with us as we get to the final version here. I think at least the experience of everyone I have worked with is ZIO 2 is dramatically nicer to use than ZIO 1, so hopefully you and your team find it was worth the wait.

0reactions
ya-goodfellacommented, May 5, 2022

2.0.0-RC6 is really an “ouch” release for my team. Even zio.IO.fromfuture is gone and replaced with zio.ZIO.fromfuture, and I can understand the reason behind that, ergonomically. However, I would expect this straight deletion of operators to be managed in a usual methodical way that is well known to us all; deprecation and then deletion, especially for a Release Candidate (RC). I would be okay with straight deletions happening at the milestones version. RCs create a certain expectation and signal to a lot of us to start moving our codebases to the upcoming versions, and these straight deletions really catch us off guard. A consideration in this direction will be greatly appreciated.

Well, scalafix would fix that for you automatically. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

JenkinsPipelineSpecification (Groovy Documentation)
... { _arguments -> def args = _arguments[0] assert "label" == args[0] } } ... However, a class that "chomps" all missing events,...
Read more >
ZIO.service[Traitable[Option] @@ Marker] s1 - Scastie
Assertion._ import zio.test. ... yield assert(true)(equalTo(true)) ... statically known to be contained within the environment are missing at zio.
Read more >
social 11.4.0-beta2 | Drupal.org
#3298612: Update drupal/ginvite requirement from 1.1 to 2.0.1 · #3296186: Update ... #3260291: Assertion error on group membership page.
Read more >
Raw - Fedora Package Sources
... LLVM License: Apache-2.0 WITH LLVM-exception URL: https://flang.llvm.org Source0: ... %check # Assertion failure: lib/Semantics/canonicalize-acc.cpp:93 ...
Read more >
spotbugs Documentation
This document describes version 3.1.0-RC6 of SpotBugs. ... Extending the Eclipse Plugin (since 2.0.0) ... check program assertions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found