Skip to content

Commit d52ea16

Browse files
committed
v0.5.1: marked-export for HTML/TXT, date fallback and timezones, doc fixes
1 parent 48f0f87 commit d52ea16

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

CHANGELOG-ES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Todos los cambios relevantes de mboxshell se documentan en este fichero.
44

55
El formato sigue [Keep a Changelog](https://keepachangelog.com/es-ES/1.1.0/) y el proyecto se ajusta a [Semantic Versioning](https://semver.org/lang/es/).
66

7+
## v0.5.1
8+
9+
- Corregido: **al exportar con varios mensajes marcados ahora se escribe cada mensaje marcado en HTML y TXT, no solo el actual.** La exportación a EML y CSV ya respetaba el conjunto marcado, pero HTML y TXT solo escribían el mensaje enfocado, así que exportar una selección marcada producía un único fichero. Ahora ambos escriben un fichero por mensaje marcado, todos a la vez. Gracias a @nekromoff (#20).
10+
- Corregido: **los mensajes sin cabecera `Date:` parseable ahora usan como respaldo la fecha del separador `From ` en vez de 1970.** Los chats de Google Takeout, los borradores y muchos mensajes automáticos no llevan cabecera `Date:`; se marcaban todos con `1970-01-01` y se agrupaban en un extremo de cualquier orden por fecha. Ahora se usa la fecha asctime de la línea `From_` del mbox como respaldo documentado.
11+
- Corregido: **las zonas horarias con nombre CET, CEST y JST ya no se leen como UTC.** El parser RFC 2822 de chrono solo reconoce las obs-zones norteamericanas (EST/EDT/…/PST/PDT) y trataba el resto de zonas alfabéticas como `-0000`, así que el correo europeo/asiático quedaba desviado 1–9 horas — suficiente para cambiar el día del calendario cerca de la medianoche. Ahora las zonas con nombre se sustituyen por su offset numérico antes de parsear, y la tabla de sustitución está ordenada para que `CEST` ya no lo capture la regla de `EST`.
12+
- Docs: eliminada la afirmación de los README sobre entrada `.eml` y de directorio de EML (hoy solo se soporta MBOX), corregida una referencia en CONTRIBUTING a un wrapper `memmap2` con `unsafe` ya eliminado (el código no contiene `unsafe`), y actualizados el banner de versión de los manuales de usuario y la lista de campos de `stats` (recuento de `Message-ID` duplicados).
13+
714
## v0.5.0
815

916
Versión de robustez surgida de una auditoría completa de seguridad y estabilidad de todo el código. Sin cambios funcionales en el uso normal; 13 nuevos tests de regresión.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to mboxshell are documented in this file.
44

55
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## v0.5.1
8+
9+
- Fix: **exporting with several messages marked now writes every marked message for HTML and TXT, not just the current one.** EML and CSV export already honored the marked set, but HTML and TXT only wrote the focused message, so exporting a marked selection produced a single file. Both now write one file per marked message, all at once. Thanks to @nekromoff (#20).
10+
- Fix: **messages with no parseable `Date:` header now fall back to the `From ` separator's envelope date instead of 1970.** Gmail Takeout chats, drafts and many automated messages carry no `Date:` header; they were all stamped `1970-01-01` and clumped together at one end of every date sort. The mbox `From_` line's asctime date is now used as the documented fallback.
11+
- Fix: **the named timezones CET, CEST and JST are no longer read as UTC.** chrono's RFC 2822 parser only recognizes the North-American obs-zones (EST/EDT/…/PST/PDT) and treated other alphabetic zones as `-0000`, so European/Asian mail was off by 1–9 hours — enough to shift the calendar day near midnight. Named zones are now substituted with their numeric offset before parsing, and the substitution table is ordered so `CEST` is no longer swallowed by the `EST` rule.
12+
- Docs: removed the READMEs' claim of `.eml` and EML-directory input (only MBOX is supported today), corrected a CONTRIBUTING reference to a removed `memmap2` unsafe wrapper (the codebase contains no `unsafe`), and refreshed the user manuals' version banner and the `stats` field list (duplicate `Message-ID` count).
13+
714
## v0.5.0
815

916
Hardening release from a full security and stability audit of the whole codebase. No functional changes to normal use; 13 new regression tests.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mboxshell"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
edition = "2021"
55
rust-version = "1.85"
66
description = "Fast terminal viewer for MBOX files of any size. Open, search and export emails from Gmail Takeout backups (50GB+) without loading them into memory."

0 commit comments

Comments
 (0)