v1.1.0
💥 BREAKING CHANGES
-
due to
edaca6a- drop support for EOL Python 3.7 (commit by @joanise):Python 3.7 is no longer supported
✨ New Features
567cdf3- publish the accuracy script we used in our 2022 papers (commit by @joanise)4b0ad9d- cli generates readme (commit by @deltork)b3f8923- switch to standard M.m.p versioning, e.g., 1.1.0 (commit by @joanise)29ec752- including generator meta tag in .readalong files (PR #226 by @roedoejet)73d2455- structure align output into www and Offline-HTML dirs (PR #231 by @joanise)d4b8a69- RAS format 1.2, new DTD with annotations support (commit by @deltork)
🐛 Bug Fixes
d5520ea- the CLI needs to output utf8 on Windows (commit by @joanise)5f446a0- make Studio work with old and new g2p until the next g2p release (commit by @joanise)96136b1- relax the pympi-link reqs that was unecessarily strict (commit by @joanise)65158d5- deps: make g2p^=1.0.date instead of >=1.0.date (commit by @joanise)b5d1192- deploy only 4 workers because we use too much RAM (commit by @joanise)daa41a2- issue the lexicon warning for all lexicon-based g2p's (commit by @joanise)6bf0f91- all empty words from g2p should get treated as error situations (commit by @joanise)6dfd7fe- deps: adjust deps for latest g2p update (commit by @joanise)9a526c2- compensate for soundswallower model breakage (commit by @dhdaines)adfe51f- g2p main is about to be 2.0, but we still want 1.1 on Heroku (commit by @joanise)fba7b3a- api: pin anyio to less than 4.0.0 (commit by @roedoejet)eb03934- make Studio compatible with Pydantic 2 and thus g2p 2 (commit by @joanise)022bd31- coloredlogs: remove bold bug (commit by @joanise)53be622- deps: lock numpy<2 because 2.0.0 is coming and has breaking changes (commit by @joanise)ddbfaee- bump lxml to support Python 3.11 on Windows (commit by @joanise)81effb9- work around missing/broken editdistance on python 3.12 (commit by @dhdaines)fc5db32- bump fastapi to minimum Pydantic v2 compatible version (commit by @joanise)8d8dfc2- editdistance can now come from PyPI again for Py 3.12 (commit by @joanise)787ead4- style: bump black to 24.3.0 to fix black's first CVE (commit by @joanise)06d9b17- with pydantic 2, Field only takes examples plural (commit by @joanise)4dd0e42- the current web-component version is 1.4.x (commit by @joanise)6ac285f- update the fallback offline bundles to web-c 1.4.0 (commit by @joanise)469f9ec- updated the exported readme to include default upload path and image-asset-folder attribute (commit by @deltork)c4cac88- added meta data to generated HTML (commit by @deltork)7548038- docs: fix errors in sphinx docs before conversion to mkdocs (commit by @joanise)d928373- added optional id to meta tag attributes (PR #232 by @deltork)b432bad- very minor typo correction in cli.py (commit by @MENGZHEGENG)6087b74- very minor typo correction in cli.py (commit by @MENGZHEGENG)f114b8d- deps: exclude panphon 0.21 not compat with Python 3.8 (PR #237 by @joanise)6fa849f- deps: gunicorn 23 has vulnerability fixes that seem worthwhile (PR #239 by @joanise)0533b4f- remind user to install ffmpeg when an audio file is not found (commit by @joanise)fa7b191- deps: we are actually compatible with numpy 2 (commit by @joanise)b1db242- deps: remove panphon declaration since g2p fixed it (commit by @joanise)c4328db- ci: remove the broken sigstore code, and publish only real versions (commit by @joanise)56b5e1d- fix (or attempt to fix) the pypi publication process (commit by @joanise)51311e9- ci: pypi publish does not like the sigstore.json files (commit by @joanise)
⚡ Performance Improvements
6c2eaa6- update Procfile to start with 5 users instead (commit by @marctessier)8bf389d- with lower memory use we can have 5 workers again (commit by @joanise)baffdd4- defer expensive imports to optimize readalongs -h (commit by @joanise)2daf991- even more aggressively optimize readalongs -h (commit by @joanise)
♻️ Refactors
cd5d6df- move get_langs out to g2p (commit by @joanise)774e178- get_langs returns its output in order of codes, no need to re-sort (commit by @joanise)256d79b- and g2p has been released, only use g2p.get_arpabet_langs (commit by @joanise)1ad311b- use g2p's lexicon-based eng mapping (commit by @joanise)c34ca8c- strip now-redundant lexicon-g2p code from Studio (commit by @joanise)94d49ae- let us parse and load XML in just one place (commit by @joanise)396b2f1- simplify parsing input_text in web_api /assemble (commit by @joanise)e338f97- docs: automatically convert from Sphinx .rst to mkdocs .md (commit by @joanise)191e1fb- docs: configure mkdocs and fix the .md files for it (commit by @joanise)
✅ Tests
6af12d8- make sure the CLI outputs utf8 on Windows (commit by @joanise)ca97a75- adjust test suites for eng now being done in g2p (commit by @joanise)42d886b- make test/run.py DRYer, make dev the default suite, and optimize a bit (commit by @joanise)2ecadb6- quiet the test suites by quenching pointless DEBUG logs (commit by @joanise)5d78d27- added backwards compatiblity test for DTD (commit by @deltork)
🔧 Chores
1e86389- commit version (commit by @roedoejet)3b691a8- delete obsolete .travis.yml file (commit by @joanise)9ef58be- remove obsolete and unused end_to_end.py (commit by @joanise)81869b9- ignore coverage on line we will never test (commit by @joanise)311372a- deps: we are compat with networkx up to 2.8.4 (commit by @joanise)e5643ce- adjust make_g2p call for new tok by default behaviour (commit by @joanise)f7d641c- delete dead files from the sphinx docs (commit by @joanise)