Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.0 WIP #81

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

0.4.0 WIP #81

wants to merge 3 commits into from

Conversation

beardedeagle
Copy link
Owner

@beardedeagle beardedeagle commented Aug 2, 2021

Fixes/Addresses

#9 Replication Factor
#53 0.4.0 checklist

Change proposed in this pull request

Added

  • Ability to specify how many copies of schema can exist, by type.
  • Ability to specify how many copies of a store can exist, per store by type.
  • Ability to blacklist Mnesia cluster nodes, per store.
  • init_schema/1, copy_schema/2, refresh_cluster/1 overridable callbacks in Mnesiac.Store.
  • Structs for explicit config and store contracts.
  • Specs for explicit library contracts.
  • Escape hatch of sorts, which allows you to override the base Mnesiac configuration struct.
  • Mnesiac.validate_config/2 which can be used to validate the configuration being passed in to Mnesiac, possible to test override functions too.

Removed

  • Removed Mnesiac.StoreManager module.
  • Removed config directory. Configuration is now to be passed in directly.

Changed

  • resolve_conflict/1 -> resolve_conflict/2, now accepts configuration.
  • Standardized terminology in library.
  • Improved Travis CI jobs.
  • Bumped OTP and Elixir version.
  • Updated dependencies.

Fixed

  • More docs cleanup.

Check list

  • If applicable, all new code is formatted.
  • If applicable, all new code is documented.
  • If applicable, all new code passed static analysis/linter checks.
  • If applicable, added tests to ensure coverage of new code.
  • If applicable, all tests passed.

Additional info

@beardedeagle beardedeagle self-assigned this Aug 2, 2021
@beardedeagle beardedeagle added this to the 0.4.0 milestone Aug 2, 2021
@beardedeagle beardedeagle linked an issue Aug 2, 2021 that may be closed by this pull request
@beardedeagle beardedeagle linked an issue Dec 8, 2021 that may be closed by this pull request
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.4.0 checklist Replication factor
1 participant