Skip to content

Commit 6deff81

Browse files
committed
bump version
1 parent abcc0a3 commit 6deff81

File tree

10 files changed

+14
-74
lines changed

10 files changed

+14
-74
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 3.15.0)
33
set(_7BIT_DI_LIBRARY 7bitDI)
44

55
set(_7BIT_DI_VERSION_MAJOR 3)
6-
set(_7BIT_DI_VERSION_MINOR 3)
7-
set(_7BIT_DI_VERSION_PATCH 1)
6+
set(_7BIT_DI_VERSION_MINOR 4)
7+
set(_7BIT_DI_VERSION_PATCH 0)
88

99
set(_7BIT_DI_VERSION ${_7BIT_DI_VERSION_MAJOR}.${_7BIT_DI_VERSION_MINOR}.${_7BIT_DI_VERSION_PATCH})
1010

Docs/advanced-guides/injected-utility-class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Injected Utility Class
22
========================================
33

44
The library provides also Injected_ utility class.
5-
This base class has injectInto() method that can be used to injectParameter services in a simple inline way, also
5+
This base class has inject() method that can be used to inject services in a simple inline way, also
66
there are InjectedSingleton, InjectedScoped and InjectedTransient base classes that inherit
77
from Injected and Registered classes to combine these two features. The injected class has also a method
88
getProvider(), the raw provider can be used to get keyed services for example.

Docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def createIfNotExists(path):
1212
project = "7bitDI"
1313
copyright = "2023, 7BitCoder Sylwester Dawida"
1414
author = "Sylwester Dawida"
15-
version = "3.3.1"
15+
version = "3.4.0"
1616

1717
extensions = [
1818
"sphinx.ext.autodoc",

Docs/getting-started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Installation
4646
FetchContent_Declare(
4747
7bitDI
4848
GIT_REPOSITORY https://github.com/7bitcoder/7bitDI.git
49-
GIT_TAG v3.3.1
49+
GIT_TAG v3.4.0
5050
)
5151
FetchContent_MakeAvailable(7bitDI)
5252
@@ -58,7 +58,7 @@ Installation
5858
.. code-block:: Txt
5959
6060
[requires]
61-
7bitdi/3.3.1
61+
7bitdi/3.4.0
6262
6363
change the version to newer if available, then run the command:
6464

Docs/reference/di/details/utils/meta.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
Meta
22
========================================
33

4-
.. doxygenstruct:: sb::di::details::IsFunctor
5-
:members:
6-
:undoc-members:
7-
8-
.. doxygenstruct:: sb::di::details::IsFunctor< R (T::*)(Args...) >
9-
:members:
10-
:undoc-members:
11-
12-
.. doxygenstruct:: sb::di::details::IsFunctor< R (T::*)(Args...) const >
13-
:members:
14-
:undoc-members:
15-
164
.. doxygenstruct:: sb::di::details::IsCopyCtor
175
:members:
186
:undoc-members:

Include/SevenBit/DI/CmakeDef.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
#endif
1414

1515
#define _7BIT_DI_VERSION_MAJOR 3
16-
#define _7BIT_DI_VERSION_MINOR 3
17-
#define _7BIT_DI_VERSION_PATCH 1
16+
#define _7BIT_DI_VERSION_MINOR 4
17+
/* #undef _7BIT_DI_VERSION_PATCH */

Include/SevenBit/DI/Details/Models/ProviderResult.hpp

Lines changed: 0 additions & 46 deletions
This file was deleted.

Include/SevenBit/DI/Details/Utils/Meta.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace sb::di::details
1616
template <class R, class T, class... Args> struct IsFunctor<R (T::*)(Args...) const> : std::true_type
1717
{
1818
};
19-
template <class T> inline static constexpr bool IsFunctorV = IsFunctor<decltype(&T::operator())>::value;
19+
template <class T> inline constexpr bool IsFunctorV = IsFunctor<decltype(&T::operator())>::value;
2020

2121
template <class, class> struct IsCopyCtor : std::false_type
2222
{
@@ -27,7 +27,7 @@ namespace sb::di::details
2727
template <class T> struct IsCopyCtor<T, const T> : std::true_type
2828
{
2929
};
30-
template <class T, class U> inline static constexpr bool IsCopyCtorV = IsCopyCtor<T, U>::value;
30+
template <class T, class U> inline constexpr bool IsCopyCtorV = IsCopyCtor<T, U>::value;
3131

3232
template <class T> struct IsUniquePtr : std::false_type
3333
{

Include/SevenBit/DI/ServiceCollection.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,15 @@ namespace sb::di
4343
/**
4444
* @brief Builds service provider with specified options
4545
* @details might throw exceptions
46-
* @throws sb::di::ServiceRegisterException if service was already registered
47-
* @throws sb::di::ServiceRegisterException if service has different lifetime than other already
46+
* @throws sb::di::ServiceRegisterException if an error occurs during service registration
4847
* registered with same base type
4948
*/
5049
ServiceProvider buildServiceProvider(ServiceProviderOptions options = {});
5150

5251
/**
5352
* @brief Builds service provider as unique_ptr with specified options
5453
* @details might throw exceptions
55-
* @throws sb::di::ServiceRegisterException if service was already registered
56-
* @throws sb::di::ServiceRegisterException if service has different lifetime than other already
54+
* @throws sb::di::ServiceRegisterException if an error occurs during service registration
5755
* registered with same base type
5856
*/
5957
ServiceProvider::Ptr buildServiceProviderAsPtr(ServiceProviderOptions options = {});

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ include(FetchContent)
7070
FetchContent_Declare(
7171
7bitDI
7272
GIT_REPOSITORY https://github.com/7bitcoder/7bitDI.git
73-
GIT_TAG v3.3.1
73+
GIT_TAG v3.4.0
7474
)
7575
FetchContent_MakeAvailable(7bitDI)
7676
@@ -83,7 +83,7 @@ Download and install A [Conan](https://conan.io/), and create conanfile.txt in t
8383

8484
```
8585
[requires]
86-
7bitdi/3.3.1
86+
7bitdi/3.4.0
8787
```
8888

8989
change the version to newer if available, then run the command:

0 commit comments

Comments
 (0)