Skip to content

Releases: wandersonwhcr/romans

v1.5 Galba

30 Nov 11:59
972f8d4
Compare
Choose a tag to compare

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

10 Nov 21:36
3067eac
Compare
Choose a tag to compare

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

18 Mar 16:04
334697b
Compare
Choose a tag to compare
Merge pull request #50 from wandersonwhcr/issue-43

Use PHP 8.0

v1.2 Caligula

18 Mar 15:41
Compare
Choose a tag to compare
v1.2.0

Merge branch 'issue-41'

v1.1 Tiberius

18 Apr 20:49
Compare
Choose a tag to compare

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

10 Apr 00:53
Compare
Choose a tag to compare

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