Semantic Versioning Flashcards

(10 cards)

1
Q

What is semantic versioning?

A

A versioning scheme that uses a three-part version number format: MAJOR.MINOR.PATCH.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: In semantic versioning, incrementing the MAJOR version indicates backward-incompatible changes.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank: In semantic versioning, the PATCH version is incremented for _____ fixes.

A

bug

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does incrementing the MINOR version signify in semantic versioning?

A

It signifies the addition of new features in a backward-compatible manner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which version number is incremented when making backward-incompatible changes?

A

MAJOR version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multiple choice: What is the correct semantic version for a release that adds new features without breaking changes? A) 1.0.0 B) 1.1.0 C) 2.0.0

A

B) 1.1.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: Semantic versioning allows for arbitrary versioning practices.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of semantic versioning?

A

To communicate the nature of changes in a software project clearly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In semantic versioning, what does a version number of 2.1.3 indicate?

A

MAJOR version 2, MINOR version 1, and PATCH version 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What should be done before releasing a new version according to semantic versioning?

A

Evaluate the changes for backward compatibility and increment the version number accordingly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly