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

Break changes between 0.1 and 0.2 #15

Closed
303248153 opened this issue Mar 27, 2018 · 1 comment
Closed

Break changes between 0.1 and 0.2 #15

303248153 opened this issue Mar 27, 2018 · 1 comment
Assignees
Milestone

Comments

@303248153
Copy link
Member

303248153 commented Mar 27, 2018

Here are all public api changes between 0.1 and 0.2:

BatchCommand::prepareQuery

Before: BatchCommand& prepareQuery() &;
After: BatchCommand& prepareQuery(bool value = true) &;

BatchCommand::getConsistency

Before: ConsistencyLevel getConsistency() const;
After: const std::optional<ConsistencyLevel>& getConsistency() const&;

BatchCommand::getSerialConsistency

Before: const std::pair<ConsistencyLevel, bool>& getSerialConsistency() const&;
After: const std::optional<ConsistencyLevel>& getSerialConsistency() const&;

BatchCommand::getDefaultTimestamp

Before: const std::pair<std::chrono::system_clock::time_point, bool>& getDefaultTimestamp() const&;
After: const std::optional<std::chrono::system_clock::time_point>& getDefaultTimestamp() const&;

Command::getQuery

Before: std::pair<const char*, std::size_t> getQuery() const&;
After: const StringHolder& getQuery() const&;

Command::getConsistency

Before: ConsistencyLevel getConsistency() const;
After: const std::optional<ConsistencyLevel>& getConsistency() const&;

Command::getPageSize

Before: const std::pair<std::size_t, bool>& getPageSize() const&;
After: const std::optional<std::size_t>& getPageSize() const&;

Command::getSerialConsistency

Before: const std::pair<ConsistencyLevel, bool>& getSerialConsistency() const&;
After: const std::optional<ConsistencyLevel>& getSerialConsistency() const&;

Command::getDefaultTimestamp

Before: const std::pair<std::chrono::system_clock::time_point, bool>& getDefaultTimestamp() const&;
After: const std::optional<std::chrono::system_clock::time_point>& getDefaultTimestamp() const&;

@303248153 303248153 added this to the 0.2 milestone Mar 27, 2018
@303248153 303248153 self-assigned this Mar 27, 2018
@303248153
Copy link
Member Author

sealed

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

No branches or pull requests

1 participant