Releases: wandersonwhcr/romans
v1.5 Galba
This release says goodbye to PHP 7.4 and hello to PHP 8.1!
Now we can use PHP 8.0 features because it is the current base version of PHP.
Happy coding! ⭐
v1.4 Nero
Hey! How long, huh?
This version of Romans is called Nero and it adds a lovely improvement: cache!
Now you can use packages that implement PSR-6 (Caching Interface) to speed up RomanToInt
and IntToRoman
filters.
We suggest the Symfony Cache package.
Please, check docs for more information: https://github.com/wandersonwhcr/romans#cache
Happy Coding! ❤️
v1.3 Claudius
Merge pull request #50 from wandersonwhcr/issue-43 Use PHP 8.0
v1.2 Caligula
v1.2.0 Merge branch 'issue-41'
v1.1 Tiberius
Second release.
Description
This release change the manner that parser read contents, adding a Deterministic Finite Automaton (DFA) to parse input content from string
with Roman number to int
. This technique change the Grammar to, removing duplicated char tokens. This version increment integrity of input content, fixing some bugs like reading IIII
as a valid input.
Now, the thrown exceptions include codes, enabling better handling, and current token and position when lexing or parsing.
Docs are updated too, including description of new features and some development badges. Composer package don't include development files too, minimizing size of installation.
Issues
#18 Composer License
#19 Composer Keywords
#21 Invalid Empty String
#22 Update README Installation Example
#15 Travis CI
#20 Validator
#23 Exceptions with Codes
#25 Error when parsing just one unknown Token
#14 Quality of Code
#26 Add FilterException Code into README
#27 Register Token into Exceptions
#28 Packagist Badge
#29 License Badge
#30 Ignore Files when Package
#31 Problem with Two Tokens and Looahead
v1.0 Augustus
Initial release.
Description
This version creates a Grammar of Tokens. Also, it creates a Lexer to tokenize input into an array
of Grammar Tokens and creates a Parser to parse an array
of Grammar Tokens and output an int
representing the Roman Number.
After, it creates a Filter to handle conversions from Roman Number to Integer and Integer to Roman Number.
Issues
#1 Composer
#2 License
#3 Initialize README
#4 Install PHPUnit
#5 Vagrant Environment
#6 Roman Numerals Parser
#7 Lexer
#8 Parser
#9 Convert Roman to Int
#10 Convert Int to Roman
#11 Enable Zero
#12 Update README
#13 Prepare for Composer
#16 Branch Alias
#17 Composer Require