Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#235 Replace usage of java.util.Date #884

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Dec 25, 2023

  1. jwtk#235 Replace usage of java.util.Date with java.time.Instant in JW…

    …T claims
    
    This commit replaces the usage of java.util.Date with java.time.Instant in handling JWT claims. This means upgrading from JDK7 to JDK8. This is done for better adherence to ISO 8601 standards and better precision in time-related operations. Classes working with claims have been updated to use the newer Instant class, providing better precision and cross-timezone compatibility. Additionally, overloading convenience methods for setting OffsetDateTime and ZonedDateTime on top of Instant have been added on the JwtBuilder and DefaultJwtBuilder.
    pveeckhout committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    9bdbb85 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. jwtk#235 Update JWT for default Instant usage

    The JWT handling has been updated to default to Java's Instant class. This change removed support for various date and time classes such as ZonedDateTime, OffsetDateTime, Date, and Calendar in favor of an Instant-based approach throughout the codebase. The appropriate tests and documentation were updated to reflect this change.
    Pieter Van Eeckhout committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    0921e29 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. jwtk#235 Replace 'Date' with 'Instant' in JwtParserTest

    Replaced all instances of 'Date' with 'Instant' in JwtParserTest to more accurately reflect variable usage. Also added a TODO in JwtDateConverter.java to clarify the handling of epochMillis vs epochSeconds.
    pveeckhout committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    54f3a19 View commit details
    Browse the repository at this point in the history
  2. jwtk#235 Update project version to 1.0.0-SNAPSHOT

    This commit updates the version of the project across all pom.xml files from 0.12.4-SNAPSHOT to 1.0.0-SNAPSHOT as it prepares for a major release. Changes cover the core project and various extensions, signaling a coordinated upgrade across the codebase.
    pveeckhout committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    fd1728c View commit details
    Browse the repository at this point in the history
  3. jwtk#235 Replace usage of Date with Instant

    All instances of java.util.Date in code have been replaced with java.time.Instant for better time precision and timezone handling. This includes changes in variable names, method names, test cases, comments and documentation. The java.util.Date-based utilities have also been removed.
    pveeckhout committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    13a83b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    a7c80d1 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    59196a7 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    9cbbbe7 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Update ClaimsMutator.java

    pveeckhout authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    a940383 View commit details
    Browse the repository at this point in the history