Skip to content

Fix naming convention from pages to chapters#58

Merged
danigm merged 2 commits intodanigm:masterfrom
Pand3ru:master
Oct 28, 2025
Merged

Fix naming convention from pages to chapters#58
danigm merged 2 commits intodanigm:masterfrom
Pand3ru:master

Conversation

@Pand3ru
Copy link
Copy Markdown

@Pand3ru Pand3ru commented Oct 20, 2025

Since epubs are divided into chapters, I think the naming convention for *_pages() is wrong.
Pages are a construct based on client sided parameters, such as text size, font, display size etc. and will vary between parameters.

Other than that great lib!!

@danigm
Copy link
Copy Markdown
Owner

danigm commented Oct 21, 2025

Since epubs are divided into chapters, I think the naming convention for *_pages() is wrong. Pages are a construct based on client sided parameters, such as text size, font, display size etc. and will vary between parameters.

Other than that great lib!!

That's true, but this change will break the API completely. Can you add the previous public functions as a wrapper for compatibility? Maybe we can add some kind of deprecation message so we can keep the old API working for some time before actually dropping.

@Pand3ru
Copy link
Copy Markdown
Author

Pand3ru commented Oct 21, 2025

good idea, will work on it later

@danigm danigm merged commit db51857 into danigm:master Oct 28, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants