Releases: hitblast/avro.py
2024.8.8
✨ New Features
- A new
to_unicode()function has been added to the fleet, which can be used to reverse Bijoy text to Unicode Bengali text (Avro). This function does its work without making massive changes to the existing mappings inside the dictionary. To use it, simply copy the following snippet and try:
# Imports.
from avro import to_unicode
# Converting a text.
print(to_unicode("Avwg evsjvh় Mvb MvB।"))🔨 Other Changes
- Regular expressions are now precompiled, instead of being compiled every single time a function runs.
- Improved developer experience for those who'd like to contribute!
🔨 Related PRs
- Bump setuptools from 71.1.0 to 72.1.0 by @dependabot in #59
- [ImgBot] Optimize images by @imgbot in #60
- Bump ruff from 0.5.5 to 0.5.6 by @dependabot in #61
The prebuilt wheels and source files have been shipped with this release.
Full Changelog: 2024.7.29...2024.8.8
2024.7.29
What's Changed
This minor update focuses on some small fixes here and there, as well as on the removal of the built-in CLI module to make room for a new, separate package named avnie, which will be the primary destination of all-things terminal for the coming days.
Related PRs
- Bump ruff from 0.5.2 to 0.5.4 by @dependabot in #57
- Bump pytest from 8.2.2 to 8.3.1 by @dependabot in #56
- Bump setuptools from 70.3.0 to 71.1.0 by @dependabot in #55
- ✨ [feat] Work on a new CLI package and its details by @hitblast in #58
Full Changelog: 2024.7.13...2024.7.29
2024.7.13
What's Changed
This minor update focuses on small optimizations and fixes. No visible change has been done to the library itself. Some of them are:
- Optimized test cases have been added for the library itself.
- The CLI now shows an error message when
checkupdatereceives negative input (e.g. no internet connection) instead of crashing itself entirely.
Related PRs
- Bump ruff from 0.5.0 to 0.5.1 by @dependabot in #52
Full Changelog: 2024.7.5...2024.7.13
2024.7.5
What's Changed
This minor update focuses on optimizing the overall performance and developer experience for avro.py by improving the project's structure itself. It also lightly tweaks the logic behind the Avro to Bijoy conversion method in order to accommodate for some slight performance bumps.
Related PRs
- Bump ruff from 0.4.10 to 0.5.0 by @dependabot in #50
- Bump setuptools from 70.1.1 to 70.2.0 by @dependabot in #51
Full Changelog: 2024.6.29...2024.7.5
2024.6.29
What's Changed
This minor update improves overall performance and stability for both parsing and reversing options.
- The backend for the remap function can now determine if a text needs manual processing or not. This significantly reduces unnecessary post-processing and increases speed altogether.
- The backend for reversing texts now uses a generator, much like the
parse()function, for optimization.
Related PRs
- Bump pdoc3 from 0.10.0 to 0.11.0 by @dependabot in #49
Full Changelog: 2024.6.23...2024.6.29
2024.6.23
What's Changed
This update improves the parsing of remapped words inside the parse() and reverse() functions. It also fixes a lot of issues with the command-line interface and due to the amount of fixes performed, I had to do an "ahead-of-time" release for avro.py today.
- Added a new
remap_wordspositional argument in both of the functions (True by default) which can be used to choose whether to use remapped / exception words while parsing. If set to False, the entire process will be done based on rules and patterns. - Added a new
--ignore-remapflag to both theparseandreversecommands in the CLI. Since the feature is set to True by default (mentioned above), you can choose to ignore it with this flag. - Fixed a bug inside the CLI backend which caused the input text to be copied when the
--copyflag was used, instead of the output text. - Fixed a bug which caused the
--from-clipflag to malfunction inside thereversecommand. - Minified all the available flags inside the CLI commands.
Full Changelog: 2024.6.22...2024.6.23
2024.6.22
What's Changed
- This minor release does a tiny modification to the
parse()function so that predefined, remapped words (inside the built-in dictionary) are replaced before the rule-based parsing even begins. The functionality is similar to autocompletion but at a much simpler scale.
Related PRs
- Bump setuptools from 69.5.1 to 70.0.0 by @dependabot in #43
- Bump pytest from 8.2.1 to 8.2.2 by @dependabot in #46
- Bump ruff from 0.4.8 to 0.4.9 by @dependabot in #47
Full Changelog: 2024.5.14...2024.6.22
2024.5.14
What's Changed
- Fixed a bug within the built-in CLI that caused it to display the input text upon parsing/reversing than the output text.
- Fixed LRU caching within the base functions and set the limit to
maxsize=128globally. - Other internal changes and better exception suppressing.
Related PRs
- Bump ruff from 0.4.2 to 0.4.3 by @dependabot in #35
- Use contextlib.suppress instead of empty pass by @baseplate-admin in #36
- Bump ruff from 0.4.3 to 0.4.4 by @dependabot in #40
New Contributors
- @baseplate-admin made their first contribution in #36
Full Changelog: 2024.5.1...2024.5.14
2024.5.1
What's Changed
- Removed the legacy packaging method for the project and replaced it with Poetry for easier project management, both for developers and the end-users.
- Optimized parts of the internal
utilspackage with comprehensions and built-in function for a minimal bump in performance. This has no functional change.
Related PRs
- 🔨 [tuning] Optimize utils using built-in func and list comprehension by @hitblast in #33
- 🔨 [tuning] Migrate to Poetry and Masonry API for deployment by @hitblast in #29
- Bump peter-evans/create-pull-request from 5 to 6 by @dependabot in #34
Full Changelog: 2024.4.27...2024.5.1