0.14 - Let's make Logos active again!
After months without any new release, 0.14 is finally out!
Short summary
- Logos now provides a very useful handbook;
- Bug fixes and continuous-integration tools via GitHub workflows;
⚠️ BREAKING priority of classes was changed from 1 to 2, see #320, as a result of bumpregex-syntax
. This bump actually improves so performances, but only slightly (see below). The documentation about token disambiguation reflects that changes too.
Performance changes from #320:
group before changes
----- ------ -------
count_ok/identifiers 1.04 869.2±6.09ns 854.7 MB/sec 1.00 832.9±14.13ns 891.9 MB/sec
count_ok/keywords_operators_and_punctators 1.04 2.6±0.02µs 784.4 MB/sec 1.00 2.5±0.08µs 811.9 MB/sec
count_ok/strings 1.03 597.6±5.73ns 1389.9 MB/sec 1.00 582.6±6.94ns 1425.8 MB/sec
iterate/identifiers 1.05 883.7±23.22ns 840.7 MB/sec 1.00 838.2±12.23ns 886.3 MB/sec
iterate/keywords_operators_and_punctators 1.01 2.6±0.03µs 768.0 MB/sec 1.00 2.6±0.03µs 778.2 MB/sec
iterate/strings 1.02 595.7±7.48ns 1394.5 MB/sec 1.00 583.6±4.39ns 1423.3 MB/sec
The detailed list of patches can be found below, many thanks to all contributors!
Longer story and help needed
As mentioned in 0.13, the author of Logos, @maciejhirsz,
is reducing his time on GitHub. A few months ago, I was granted collaborator rights, so I can help to maintain this project by reviewing and merging PRs.
As a result, please tag me, @jeertmans, whenever you need help or else (if I did not give any sign of life for a few days).
From now on, I will be able to publish new versions to crates.io, which I hope to do more frequently than in the past months (or years) of this project.
However, I do not master this project at all, and I welcome any help from the community to make this project grow!
I tried to setup a nice working environment, with many tests and guides, to facilitate first time contributors' life!
What's Changed
- impl<T: Logos> CallbackResult for T by @ExoticMatter in #295
- chore(ci): automatically build handbook by @jeertmans in #293
- Add missing
Debug
error type requirement by @shilangyu in #298 - chore(book): adding examples by @jeertmans in #300
- chore(codegen): error to prevent undesired behavior by @jeertmans in #303
- chore(lib/book): move lib's doc to book by @jeertmans in #304
- chore(book): document extras by @jeertmans in #309
- it's -> its by @eniraa in #314
- chore(ci): improving CI by @jeertmans in #301
- chore(book): adding help and contributing pages by @jeertmans in #311
- feat(lib): impl Clone for SpannedIter by @moenie99 in #317
- chore(ci): print benchmarks to github step summary when fail to comment by @jeertmans in #323
- Use lifetime GAT for Source::Slice by @kmicklas in #332
- Fix ignored source attribute by @kmicklas in #333
- Update
Source
test for GATSlice
by @kmicklas in #334 - fix license violations by @iSaluki in #344
- Fix logos_path in generated code by @jannik4 in #348
- chore(book): first Logo's handbook version by @jeertmans in #319
- chore: fix typos by @a-rustacean in #361
- chore(deps): bump baptiste0928/cargo-install from 1 to 3 by @dependabot in #364
- chore(deps): bump actions/checkout from 2 to 4 by @dependabot in #357
- chore(deps): bump actions/upload-pages-artifact from 1 to 3 by @dependabot in #353
- chore(deps): bump actions/deploy-pages from 2 to 4 by @dependabot in #356
- Releasing Logos2 by @jeertmans in #365
- chore(release): add hooks by @jeertmans in #366
- chore(deps): release test versions by @jeertmans in #367
- chore(deps): bumping regex-syntax by @jeertmans in #320
- chore(deps): bump codecov/codecov-action from 2 to 4 by @dependabot in #363
- chore(deps): bump pretty-assertions to 1.4.0 by @jeertmans in #368
- chore(version): bump logos version to 0.14.0 by @jeertmans in #369
New Contributors
- @jeertmans made their first contribution in #293
- @shilangyu made their first contribution in #298
- @eniraa made their first contribution in #314
- @moenie99 made their first contribution in #317
- @kmicklas made their first contribution in #332
- @iSaluki made their first contribution in #344
- @a-rustacean made their first contribution in #361
- @dependabot made their first contribution in #364
Full Changelog: v0.13...v0.14