Skip to content

Crystal 1.21 - #252

Merged
spuun merged 11 commits into
mainfrom
crystal-1.21
Aug 29, 2026
Merged

Crystal 1.21#252
spuun merged 11 commits into
mainfrom
crystal-1.21

Conversation

@spuun

@spuun spuun commented Aug 28, 2026

Copy link
Copy Markdown
Member

Bumps amqproxy to Crystal 1.21.0 and adapts the code to it:

  • Time.monotonic → Time.instant
  • Requires amq-protocol 1.3.1 for Crystal 1.21 compatibility. That version replaces AMQ::Protocol::Frame.from_io with AMQ::Protocol::Stream#next_frame, so both the client and upstream sockets are now wrapped in an AMQ::Protocol::Stream and read frames through
    it.

Bonus:

  • Makefile: LDFLAGS is now platform-conditional — the GNU-ld hardening flags (--as-needed, -z relro, -z now, -pie) aren't understood by Apple's linker, so macOS gets -Wl,-dead_strip_dylibs instead and make works there again.

@spuun
spuun requested a review from a team as a code owner August 28, 2026 09:59
@spuun
spuun merged commit 8ad8668 into main Aug 29, 2026
9 checks passed
@spuun
spuun deleted the crystal-1.21 branch August 29, 2026 11:57
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