All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Adding test coverage
- Fixing conflicting GS1 Codes 99 to 990 for "GS1 coupon identification"
- Bump minumum version of Elixir to
1.12
- Update dependencies
- Replace deprecated
use Mix.Config
toimport Mix.Config
- Add Pull Request template - @cdesch
- Updating security Policy - (Not sure that we need this but whatever) - @cdesch
- Fixing "contributions welcome" badge link - @cdesch
- Replacing CI badges on README.md - @cdesch
- Adding github ci for automated testing and removing semaphoreci - @cdesch
Summary: Merged new function normalize/1
and other refactoring thanks to the fork fork
and @michaeljguarino
Details:
- Merged 7a1a0fc3f from fork - @cdesch
- Adding
normalize/1
and tests to convert a GTIN or ISBN to GTIN-14 format - Big Thanks to @michaeljguarino! - Update
gtin_check_digit
,generate_gtin_code
to use capture operators&
- Big Thanks to @michaeljguarino! - Add
()
togenerate_check_digit
functions - Big Thanks to @michaeljguarino! - Fix Formatting of
multiply_and_sum_array
,subtract_from_nearest_multiple_of_ten
,mult_by_index_code
andfind_gs1_prefix_country
- Big Thanks to @michaeljguarino! - Added tests for GTIN-8, GTIN-12, GTIN 14 - @cdesch
- Bumping version from
1.0.0
to1.0.1
- @cdesch - Update dependenciens
credo
,excoveralls
andex_doc
to the latest versions - @cdesch - Add installation instructions to readme.md - @cdesch
- Testing with elixir 1.11.3 - @cdesch
- Remove deperated functions
check_gtin
andgenerate_gtin
- Please usevalidate/1
andgenerate/1
instead - @cdesch - Remove tests associated with
check_gtin
andgenerate_gtin
- Please usevalidate/1
andgenerate/1
instead - @cdesch - Convert
@since
to@doc since:
forex_doc
- @cdesch - Add proper
@doc since: "1.0.0"
tovalidation.ex
- @cdesch - Add
preferred_cli_env
as:test
forpull_request_checkout.task
task - @cdesch
- BREAKING CHANGE
generate/1
- Formerly would return the result. It now returns the result in an atom e.g.{:ok, "6291041500213"}
- @cdesch - Added
generate!/1
- RaisesArgumentError
if invalid - @cdesch - Added
validate!/1
- RaisesArgumentError
if invalid - @cdesch - Deprecated
generate_gtin
forgenerate
.generate_gtin
will be removed in version1.0.1
- @cdesch - Deprecated
check_gtin
forvalidate
.check_gtin
will be removed in version1.0.1
- @cdesch - Updated README with changes
- Fixed README markdown issues for code indentation
- Deprecated
generate_gtin
forgenerate
.generate_gtin
will be removed in version1.0.0
- @cdesch - Deprecated
check_gtin
forvalidated
.check_gtin
will be removed in version1.0.0
- @cdesch - Validated Functionality with Elixir 1.9.1 and Elixir 1.7.4 - @cdesch
- README Updates with additional information - @cdesch
- Credo Fixes - @cdesch
- Updating Credo from
0.10.0
to1.1.2
- @cdesch - Updating Coveralls from
0.9.2
to0.11.1
- @cdesch - Updating ExDocs from
0.19.1
to0.21.1
- @cdesch
TODO: Make functions private in the validation module
- Adding
describe
groupings to tests - @cdesch
- Reformatted CHANGELOG.md - @cdesch
- Testing with Elixir 1.7.2 - @cdesch
- Added UPC acronym definition to README.md - @cdesch
- Updating Credo from
0.9.2
to0.10.0
- @cdesch - Updating Coveralls from
0.8.2
to0.9.2
- @cdesch - Updating ExDocs from
0.18.3
to0.19.1
- @cdesch
- Adding UPC to description in README.md - @cdesch
- Adding Module Docs - @cdesch
- Fixing Readme Link for MIT license badge - @cdesch
- Updated dependencies and fixed Credo Errors - @cdesch
- Added GS1 Prefix Look up
gs1_prefix_country
for country code - @cdesch
- Bumping version to 0.2.7 due to issue with
mix hex.publish
- @cdesch
- Bumping versions of credo, ex_doc and coveralls - @cdesch
- Added additional Doc Tests - @cdesch
- Changed package name from ExGtin to ex_gtin - @cdesch
- Fixing README.md formatting - @cdesch
- Refactored
string
type spec toString.t()
- @cdesch - Added composite mix task for validating the library - @cdesch
- Changed CONTRIBUTING.md pull request process to test the library - @cdesch
- Added .editorconfig file - @cdesch
- Added more test for each type of GTIN - @cdesch
- Added Generate GTIN function - @cdesch
- Added CHANGELOG.md with history - @cdesch
- Updated Readme with usage and minor fixes - @cdesch
- Added GTIN Length Validation and error handling - @cdesch
- Added CONTRIBUTING.md file - @cdesch
- Added LICENSE.md file - @cdesch
- Reorganizing code in modules - @cdesch
- Initial Release - @cdesch