feat: add utilities for easter, pagination, card expiry, and vector ops#948
Merged
davedumto merged 1 commit intoMay 29, 2026
Merged
Conversation
…ry, and vector operations Resolves StreamFi-x#876: Easter date calculator with Meeus/Anonymous Gregorian algorithm Resolves StreamFi-x#849: Pagination endpoint with offset/limit Resolves StreamFi-x#858: Credit card expiry validator with months until expiry Resolves StreamFi-x#870: Vector operations (dot, cross, magnitude, normalize)
|
@logantalen is attempting to deploy a commit to the david's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@logantalen Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Implements four utility endpoints for date calculations, array pagination, card validation, and vector math operations.
Issues Resolved
Closes #876
Closes #849
Closes #858
Closes #870
Changes
#876 - Easter Date Calculator
Computes Easter Sunday, Good Friday, and Easter Monday for a given Gregorian year using the Meeus/Anonymous algorithm. Validates year in range [1583, 4099].
#849 - Array Pagination
Paginates provided array with offset/limit parameters and returns metadata including total count, has_more flag, and next offset. Clamps limit to max 100.
#858 - Credit Card Expiry Validator
Validates card expiry dates (accepts 2 or 4 digit years) and computes months until expiry. Returns expired status and months remaining.
#870 - Vector Operations
Implements dot product, cross product (3D only), magnitude, and normalization operations for numeric vectors.