Skip to content

Revert base library dependencies, release 0.21.0#3

Merged
jappeace merged 6 commits intojappeace:masterfrom
jappeace-sloth:revert-base-deps
Mar 5, 2026
Merged

Revert base library dependencies, release 0.21.0#3
jappeace merged 6 commits intojappeace:masterfrom
jappeace-sloth:revert-base-deps

Conversation

@jappeace-sloth
Copy link
Copy Markdown

Summary

  • Reverts commit 4879843 ("Reduce code size, use base libraries instead of NIH, use bytestring")
  • Restores custom Base16/Base32/Base64 encoding, GHC.Prim-based Bytes implementation, and readWord8OffAddr#-based FNV hashing
  • Removes dependencies on base16, base32, base64, and text
  • Restores Data.Memory.Internal.CompatPrim64
  • Bumps version to 0.21.0 with updated CHANGELOG

Test plan

  • cabal build passes with no new warnings
  • cabal test — all 276 tests pass

🤖 Generated with Claude Code

jappeace-sloth and others added 6 commits March 5, 2026 20:54
Revert commit 4879843 ("Reduce code size, use base libraries instead of
NIH, use bytestring"). Restores custom Base16/Base32/Base64 encoding,
the GHC.Prim-based Bytes implementation, and readWord8OffAddr#-based FNV
hashing. Removes dependencies on base16, base32, base64, and text.
Restores Data.Memory.Internal.CompatPrim64.

Prompt: read claude.md, then in the ram package revert the commit that
introduced the base dependencies and prep it as a new release

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Attribute set that calls default.nix, so `nix-build nix/ci.nix` works.

Prompt: ci.nix is missing, add one that calls default.nix from top level
in an attribute set

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Nothing in the codebase imports this module.

Prompt: do we need CompatPrim64?

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add nix.yaml (nix-build + cabal test via nix-shell) and cabal.yaml
(matrix build across GHC 9.8/9.10, ubuntu/macOS/windows), matching
the haskell-template-project setup.

Prompt: look at the haskell-template to see how CI is setup, set it up
for ram repository as well

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0.21.0 was already released, this is a non-breaking change so bump to
0.21.1.

Prompt: we already release v21, we need to make another release for
this one, probably 21.1 (because it's non breaking)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Prompt: we've to keep the original changelog of v21 and v21.1 needs to
specify how things are different from v21

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jappeace jappeace merged commit 1587b29 into jappeace:master Mar 5, 2026
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.

2 participants