You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.1.7] - 2025-10-27
11
+
12
+
### Fixed
13
+
-**Windows HTML payloads**: Layer 3's binary optimization now trims HTML fragments using byte-accurate offsets, ensuring CRLF-terminated bodies are quoted without leaving stray delimiters.
14
+
-**Regression coverage**: Added a direct regression test mirroring the reporter's `CRLF_html.json` sample so Windows-style newlines stay guarded.
15
+
16
+
### Added
17
+
-**Examples**: Extended `examples/html_content_examples.exs` with a Windows newline scenario to demonstrate the repaired behaviour via `mix run`.
18
+
-**Documentation**: HexDocs now surfaces grouped README, changelog, and license pages for easier navigation.
19
+
10
20
## [0.1.6] - 2025-10-24
11
21
12
22
### Added
@@ -297,7 +307,7 @@ This is a **100% rewrite** - all previous code has been replaced with the new la
~s({"responses": [{"id":"33","status":503,"headers":{"Content-Type":"text/html; charset=us-ascii"},"body":<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>Service Unavailable</TITLE><META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD><BODY><h2>Application Request Queue Full</h2><hr><p>HTTP Error 503. The application request queue is full.</p>\r\n</BODY></HTML>}]} )
253
+
254
+
IO.puts("Input (API response with CRLF-terminated HTML body):")
@@ -11,6 +11,9 @@ defmodule JsonRemedy.MixProject do
11
11
elixir: "~> 1.14",
12
12
start_permanent: Mix.env()==:prod,
13
13
deps: deps(),
14
+
name: "JsonRemedy",
15
+
source_url: @source_url,
16
+
homepage_url: @source_url,
14
17
description:
15
18
"A blazingly fast Elixir library for repairing malformed JSON using binary pattern matching. Handles LLM outputs, legacy data, and broken JSON with intelligent context-aware fixes.",
16
19
package: package(),
@@ -55,18 +58,29 @@ defmodule JsonRemedy.MixProject do
{"responses": [{"id":"33","status":503,"headers":{"Content-Type":"text/html; charset=us-ascii"},"body":<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>Service Unavailable</TITLE><META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD><BODY><h2>Application Request Queue Full</h2><hr><p>HTTP Error 503. The application request queue is full.</p>\r\n</BODY></HTML>}]}
0 commit comments