Skip to content

Commit

Permalink
Release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklupton committed May 18, 2023
1 parent 10e5e4e commit 4e76368
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,31 @@ To convert rm files to other formats, you can use [rmc](https://github.com/rickl

## Changelog

### Unreleased
### v0.4.0

Breaking changes:

- Rename `scene_items.TextFormat` to `ParagraphStyle` to better describe its
meaning, now that we have inline bold/italic text styles.
- Remove methods from `scene_items.Text` object; use `text.TextDocument`
instead.
- Writer: experimental change to emulate different reMarkable software versions
by passing `{"version": "3.2.2"}` options to `write_blocks`. This allows us to
continue to test round-trip reading and writing of old test files as new data
values are added. Replaces `"line_version"` option.

New features:
- Parse text formatting information (bold and italic) introduced in reMarkable
software version 3.3.

Other changes:

- Allow empty text items and unknown text formats without throwing exceptions.
- When extra data is present in the file, log the unrecognised bytes at DEBUG
logging level along with the call stack, to make it easier to figure out where
the code needs to be modified to read new data.
- Writer: experimental change to emulate different reMarkable software versions
by passing `{"version": "3.2.2"}` options to `write_blocks`. This allows us to
continue to test round-trip reading and writing of old test files as new data
values are added.
- Parse new data values in PageInfoBlock and MigrationInfoBlock.
- Parse text formatting information (bold and italic) introduced in reMarkable
software version 3.3.
- Parse new data values (with unknown meaning) in PageInfoBlock and
MigrationInfoBlock.

### v0.3.0

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rmscene"
version = "0.3.0"
version = "0.4.0"
description = "Read v6 .rm files from the reMarkable tablet"
authors = ["Rick Lupton <mail@ricklupton.name>"]
license = "MIT"
Expand Down

0 comments on commit 4e76368

Please sign in to comment.