Releases: valentiay/phobos
[0.29.0] Fixes for sealed trait codecs
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
- @mpipalovic made their first contribution in #50
Full Changelog: 0.28.0...0.29.0
[0.28.0] Several bug fixes
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
Published on 12 Aug 2025
Key changes
- Removed deprecation warnings caused by usage of the
mutable.AnyRefMapin 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
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
- Try fix SCM tags by @valentiay in #36
- Don't fail on comments before the first element by @valentiay in #37
- Bump version and ask for stars 🐈 by @valentiay in #38
Full Changelog: 0.25.0...0.26.0
[0.25.0] Dependency Update
Key changes
- Updated dependency versions:
aalto-xml:1.3.2->1.3.3scalacheck:1.18.0->1.18.1cats-core:2.12.0->2.13.0derevo-core:0.13.0->0.14.0enumeratum:1.7.5->1.7.6fs2:3.10.2->3.12.0refined:0.11.2->0.11.3
- Updated Scala versions:
2.13.15->2.13.163.3.4->3.3.5
What's Changed
- Update dependencies & bump version by @valentiay in #35
Full Changelog: 0.24.0...0.25.0
[0.24.0] ValueEnum support in phobos-enumeratum
Key changes
- Added support for ValueEnum in phobos-enumeratum (issue - #27, PR - #28)
- Updated dependency versions:
scalatest,scalactic:3.2.18->3.2.19akka-stream,akka-testkit:2.8.5->2.8.6
- Updated Scala versions:
2.12.19->2.12.202.13.13->2.13.153.3.3->3.3.4
What's Changed
- Add Enumeratum ValueEnum codecs by @ChrisMcD1 in #28
- Update dependencies by @valentiay in #31
- Setup publishing to sonatype central portal and bump version by @valentiay in #32
- Update scala versions by @valentiay in #33
- Update build scala version by @valentiay in #34
New Contributors
- @ChrisMcD1 made their first contribution in #28
Full Changelog: 0.23.0...0.24.0
[0.23.0] Support for Scala 3 in phobos-enumeratum
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.0cats-core:2.10.0->2.12.0refined:0.11.1->0.11.2
What's Changed
- Update README.md by @valentiay in #15
- Add encoders for Nothing by @geny200 in #9
- #14 Updated documentation for
useElementNameAsDiscriminatorby @geny200 in #20 - Cross-build enumeratum module for scala 3 by @susliko in #21
- Restrict user from creating empty namespaces prefixes. Fixes #18. by @valentiay in #23
- Update dependencies and resolve #22 by @valentiay in #24
- Version bump by @valentiay in #25
- Version bump by @valentiay in #26
New Contributors
Full Changelog: 0.22.0...0.23.0
[0.22.0] Add setting to ignore namespaces
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.18scalacheck:1.17.0->1.17.1scala:2.12.18->2.12.192.13.11->2.13.133.3.0->3.4.1
diffx:0.8.3->0.9.0akka:2.6.20->2.8.5cats:2.9.0->2.10.0fs2:3.7.0->3.10.2refined:0.11.0->0.11.1
What's Changed
- Update deps and fix automatic derivation by @valentiay in #4
- Fix element decoder derivation tests by @valentiay in #6
- Resolve warnings in SBT configuration by @valentiay in #7
- Update README.md by @valentiay in #8
- #3 ignore namespaces by @iyfedorov in #5
- Fix compilation for scala3 tests by @valentiay in #10
- Update scalafmt config and reformat code by @valentiay in #11
- Update dependencies by @valentiay in #12
- Version bump by @valentiay in #13
New Contributors
- @iyfedorov made their first contribution in #5
Full Changelog: 0.21.0...0.22.0
[0.21.0] Migrate to dev.valentiay namespace
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.phobosto justphobos(#1, #2).
Otherwise, the package structure remains the same. You can simply replaceru.tinkoff.phoboswithphobosin the imports. There are some minor fixes in the structure ofakka-stream,fs2andmonixmodules, see #2 for the changes. - Updated dependency versions (unpublished changes from Tinkoff/Phobos):
scalatest,scalactic:3.2.15->3.2.16scala:2.12.17->2.12.182.13.10->2.13.113.2.2->3.3.0
enumeratum:1.7.2->1.7.3fs2:3.6.1->3.7.0refined:0.10.3->0.11.0