-
Notifications
You must be signed in to change notification settings - Fork 18
Comparing changes
Open a pull request
base repository: toon-format/toon-java
base: v0.1.0
head repository: toon-format/toon-java
compare: v0.1.1
- 19 commits
- 38 files changed
- 2 contributors
Commits on Oct 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2403ab3 - Browse repository at this point
Copy the full SHA 2403ab3View commit details
Commits on Oct 29, 2025
-
Adjust Java toolchain enforcement in build.gradle to apply only in CI…
… environments, allowing local builds to use the installed JDK.
Configuration menu - View commit details
-
Copy full SHA for c93d9fa - Browse repository at this point
Copy the full SHA c93d9faView commit details
Commits on Oct 30, 2025
-
Add unit tests for encoding various POJOs, including nested structure…
…s and collections - Introduced a new test class structure for testing Plain Old Java Objects (POJOs). - Added tests for encoding simple POJOs, nested POJOs, collections, and POJOs with Jackson annotations. - Included assertions for various scenarios, such as handling null values and empty collections.
Configuration menu - View commit details
-
Copy full SHA for 8d0305c - Browse repository at this point
Copy the full SHA 8d0305cView commit details -
Refactor README and add TOON format specification
- Removed outdated sections from README, including format comparison and key features. - Added a comprehensive TOON format specification document detailing syntax, benchmarks, and usage examples. - Updated token efficiency examples and retrieval accuracy metrics for clarity and relevance. - Improved overall structure and readability of the documentation.
Configuration menu - View commit details
-
Copy full SHA for ca8880d - Browse repository at this point
Copy the full SHA ca8880dView commit details -
Refactor README to use records for data structures
- Replaced traditional Map-based data structures with Java records for User and Item. - Updated examples to demonstrate the new record syntax and improved data handling. - Enhanced clarity and maintainability of the code snippets in the documentation.
Configuration menu - View commit details
-
Copy full SHA for 8063b37 - Browse repository at this point
Copy the full SHA 8063b37View commit details -
Merge pull request #2 from felipestanzani/code_coverage
Improve Documentation and Test Coverage for JToon
Configuration menu - View commit details
-
Copy full SHA for 6db3b19 - Browse repository at this point
Copy the full SHA 6db3b19View commit details -
Refactor Constants and JToon classes, and add JsonNormalizer unit tests
- Removed unused constants from the Constants class, including PIPE, NEWLINE, CARRIAGE_RETURN, and TAB. - Deleted redundant encode methods from the JToon class to streamline the encoding process. - Introduced a comprehensive unit test suite for the JsonNormalizer utility, covering various input types and edge cases, ensuring robust functionality and correctness.
Configuration menu - View commit details
-
Copy full SHA for 8775304 - Browse repository at this point
Copy the full SHA 8775304View commit details -
Refactor JsonNormalizer for improved readability and performance
- Replaced traditional if-else statements with switch expressions for better clarity and conciseness in the normalize method and its helper functions. - Updated the ProjectRootManager's language level in the IDE configuration from JDK_25 to JDK_21.
Configuration menu - View commit details
-
Copy full SHA for d5c7cca - Browse repository at this point
Copy the full SHA d5c7ccaView commit details -
Refactor JsonNormalizer to implement a chain of responsibility patter…
…n for normalization - Introduced a list of normalization functions to streamline the normalization process for various data types. - Replaced multiple conditional checks with a functional approach, enhancing readability and maintainability. - Updated normalization methods for primitives, big numbers, and temporal types to improve clarity and efficiency.
Configuration menu - View commit details
-
Copy full SHA for 3b835b6 - Browse repository at this point
Copy the full SHA 3b835b6View commit details -
Refactor PrimitiveEncoder to enhance clarity and maintainability
- Simplified encoding methods by utilizing Java 21 switch expressions for primitive values. - Delegated validation and escaping responsibilities to StringValidator and StringEscaper. - Updated header formatting to use HeaderFormatter for improved modularity and readability. - Removed unused regex patterns and redundant methods to streamline the class structure.
Configuration menu - View commit details
-
Copy full SHA for e271138 - Browse repository at this point
Copy the full SHA e271138View commit details -
Enhance build configuration and add encoding utilities
- Applied external Gradle scripts for publishing and verification to streamline build processes. - Updated ProjectRootManager's language level to JDK_25 for improved compatibility. - Introduced new encoding utilities, including ArrayEncoder, ObjectEncoder, and LineWriter, to enhance the encoding process for TOON format. - Added JsonNormalizer for normalizing Java objects to Jackson JsonNode representation, supporting various data types. - Implemented utility classes for string validation and escaping to ensure proper formatting in TOON output. - Added comprehensive unit tests for encoding and normalization functionalities to ensure robustness and correctness.
Configuration menu - View commit details
-
Copy full SHA for bcce619 - Browse repository at this point
Copy the full SHA bcce619View commit details -
Merge pull request #3 from felipestanzani/code_coverage
Refactor encoders and normalizers, add utilities and tests, and enhance Gradle build
Configuration menu - View commit details
-
Copy full SHA for d58ddc9 - Browse repository at this point
Copy the full SHA d58ddc9View commit details -
Add changelog, enhance README, and implement JSON string encoding
- Introduced `JToon.encodeJson(String)` and `JToon.encodeJson(String, EncodeOptions)` methods for direct JSON string encoding to TOON format. - Centralized JSON parsing in `JsonNormalizer.parse(String)` to maintain separation of concerns. - Expanded README documentation to include new encoding methods and examples. - Added a comprehensive changelog to document notable changes and version history. - Implemented unit tests for JSON string encoding, covering various scenarios and error cases.
Configuration menu - View commit details
-
Copy full SHA for fb5b1be - Browse repository at this point
Copy the full SHA fb5b1beView commit details -
Merge pull request #4 from felipestanzani/plainJson
Add plain JSON string encoding entry points (encodeJson) and docs/tests (v0.1.1)
Configuration menu - View commit details
-
Copy full SHA for 58c7eb7 - Browse repository at this point
Copy the full SHA 58c7eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb4c09 - Browse repository at this point
Copy the full SHA 8bb4c09View commit details -
Update versioning in build.gradle and enhance release workflow
- Updated the version in build.gradle to dynamically retrieve from Git tags, defaulting to '0.1.1'. - Modified the GitHub Actions release workflow to automatically update the version in build.gradle based on the tag during the release process.
Configuration menu - View commit details
-
Copy full SHA for 6498bd0 - Browse repository at this point
Copy the full SHA 6498bd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 943d4e5 - Browse repository at this point
Copy the full SHA 943d4e5View commit details -
Update README with testing playground link
Added a link to an online playground for testing differences.
Configuration menu - View commit details
-
Copy full SHA for f8e4110 - Browse repository at this point
Copy the full SHA f8e4110View commit details
Commits on Oct 31, 2025
-
Update build.gradle version retrieval and enhance release workflow
- Changed version retrieval in build.gradle to use providers.gradleProperty for better compatibility. - Updated GitHub Actions workflow to set the version from tags and create a gradle.properties file for version management.
Configuration menu - View commit details
-
Copy full SHA for 0d8e047 - Browse repository at this point
Copy the full SHA 0d8e047View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.1.0...v0.1.1