Skip to content

Releases: valentiay/phobos

[0.29.0] Fixes for sealed trait codecs

16 Nov 17:39
e0c382f

Choose a tag to compare

⚠️ This release partially reverts the behavior of codecs for sealed traits introduced in 0.21.0. Since 0.21.0, codecs for sealed trait children were automatically derived, but this did not allow for any configuration of codecs for children classes (#46) and it generally was not intuitive. After this release, codecs for sealed trait children must be explicitly derived for each sealed trait child class.

Note that the behavior for enums has not changed: the automatic derivation of codecs still applies to enum children and they cannot be configured.

What's Changed

  • Properly handle case object decoding in scala3 by @mpipalovic in #50
  • Summon sealed trait children definitions for Element Encoder/Decoder instead of auto-deriving by @mpipalovic in #51
  • Bump version and update dependencies by @valentiay in #52

New Contributors

Full Changelog: 0.28.0...0.29.0

[0.28.0] Several bug fixes

16 Sep 21:25
9a518ff

Choose a tag to compare

What's Changed

  • Respect preferred namespaces in scala 3 by @valentiay in #43 (issue - #39)
  • Respect prolog config in beautified xml encoder by @valentiay in #44 (issue - #40)
  • Fix infinite loop when decoding empty string by @valentiay in #47 (issue - #45)
  • Bump version and update dependencies by @valentiay in #48:
    • scalacheck: 1.18.1 -> 1.19.0

Full Changelog: 0.27.0...0.28.0

[0.27.0] Fix deprecation warnings

16 Sep 21:12
5bcaabf

Choose a tag to compare

Published on 12 Aug 2025

Key changes

  • Removed deprecation warnings caused by usage of the mutable.AnyRefMap in the scala 3 derivation code (PR - #42)
  • Updated dependency versions:
    • enumeratum: 1.7.6 -> 1.9.0
  • Updated Scala versions:
    • 3.3.5 -> 3.3.6

What's Changed

  • Bump version, update dependencies and fix deprecation warnings by @valentiay in #42

Full Changelog: 0.26.0...0.27.0

[0.26.0] Don't fail on comments before the first element

16 Sep 21:02
c313ff7

Choose a tag to compare

Published on 24 Apr 2025

Key changes

  • Fixed a bug when XmlDecoder fails on comments before the start of the root element (PR - #37)

What's Changed

Full Changelog: 0.25.0...0.26.0

[0.25.0] Dependency Update

12 Apr 21:44
dae88d8

Choose a tag to compare

Key changes

  • Updated dependency versions:
    • aalto-xml: 1.3.2 -> 1.3.3
    • scalacheck: 1.18.0 -> 1.18.1
    • cats-core: 2.12.0 -> 2.13.0
    • derevo-core: 0.13.0 -> 0.14.0
    • enumeratum: 1.7.5 -> 1.7.6
    • fs2: 3.10.2 -> 3.12.0
    • refined: 0.11.2 -> 0.11.3
  • Updated Scala versions:
    • 2.13.15 -> 2.13.16
    • 3.3.4 -> 3.3.5

What's Changed

Full Changelog: 0.24.0...0.25.0

[0.24.0] ValueEnum support in phobos-enumeratum

13 Oct 21:11
161a4f1

Choose a tag to compare

Key changes

  • Added support for ValueEnum in phobos-enumeratum (issue - #27, PR - #28)
  • Updated dependency versions:
    • scalatest, scalactic: 3.2.18 -> 3.2.19
    • akka-stream, akka-testkit: 2.8.5 -> 2.8.6
  • Updated Scala versions:
    • 2.12.19 -> 2.12.20
    • 2.13.13 -> 2.13.15
    • 3.3.3 -> 3.3.4

What's Changed

New Contributors

Full Changelog: 0.23.0...0.24.0

[0.23.0] Support for Scala 3 in phobos-enumeratum

13 Oct 20:36
c11f34a

Choose a tag to compare

Published on 24 Jun 2024

Key changes

  • Added support for Scala 3 in phobos-enumeratum (PR - #21)
  • Minor usability improvements (#9, #18, #20, #23)
  • Downgraded Scala 3 version from 3.4.1 Next to 3.3.3 LTS to comply with best practices for scala library maintainers (issue - #22, PR - #24)
  • Updated dependency versions:
    • scalacheck: 1.17.1 -> 1.18.0
    • cats-core: 2.10.0 -> 2.12.0
    • refined: 0.11.1 -> 0.11.2

What's Changed

New Contributors

Full Changelog: 0.22.0...0.23.0

[0.22.0] Add setting to ignore namespaces

28 Apr 18:59
911a6b5

Choose a tag to compare

Key changes

  • Added config setting to remove element namespaces. It is useful if namespace validation is not necessary. (issue - #3, PR - #5)
  • Updated dependency versions:
    • scalatest, scalactic: 3.2.16 -> 3.2.18
    • scalacheck: 1.17.0 -> 1.17.1
    • scala:
      • 2.12.18 -> 2.12.19
      • 2.13.11 -> 2.13.13
      • 3.3.0 -> 3.4.1
    • diffx: 0.8.3 -> 0.9.0
    • akka: 2.6.20 -> 2.8.5
    • cats: 2.9.0 -> 2.10.0
    • fs2: 3.7.0 -> 3.10.2
    • refined: 0.11.0 -> 0.11.1

What's Changed

New Contributors

Full Changelog: 0.21.0...0.22.0

[0.21.0] Migrate to dev.valentiay namespace

07 Apr 16:35
1909c1d

Choose a tag to compare

About valentiay/Phobos

This is the first release of Phobos under the dev.valentiay Maven Cenral namespace and in the @valentiay GitHub account. This release contains only changes to the package structure (see the first item of "Key changes" for the migration guide) and some dependency updates. It does not introduce any new features compared to the Tinkoff/Phobos version 0.21.0.

Tinkoff's GitHub account has been blocked and all of its repositories are have been archived, so Tinkoff/Phobos is no longer mantained.

The release of valentiay/Phobos aims to continue maintenance and further development of Phobos. This project is owned by the original maintainer of Phobos, but it is not related to Tinkoff.

Key changes

  • Changed package name for the classes from ru.tinkoff.phobos to just phobos (#1, #2).
    Otherwise, the package structure remains the same. You can simply replace ru.tinkoff.phobos with phobos in the imports. There are some minor fixes in the structure of akka-stream, fs2 and monix modules, see #2 for the changes.
  • Updated dependency versions (unpublished changes from Tinkoff/Phobos):
    • scalatest, scalactic: 3.2.15 -> 3.2.16
    • scala:
      • 2.12.17 -> 2.12.18
      • 2.13.10 -> 2.13.11
      • 3.2.2 -> 3.3.0
    • enumeratum: 1.7.2 -> 1.7.3
    • fs2: 3.6.1 -> 3.7.0
    • refined: 0.10.3 -> 0.11.0