- 329f92a: Set the main file in the package.json correctly based on the proper publish method
-
5e51fdc: Update package versions to work with Nest v8
For
@ogma/nestjs-module
and all of the@ogma/platform-*
packages, Nest v8 is the supported package version. Nest v7 may still continue to work, but has no guarantees. Also, RxJS is upgraded to v7 to stay inline with Nest's expectations.To stay current with Nest.
Upgrade with Nest v8. There shouldn't be any breaking underlying changes, but you can never be too careful with coded upgrades.
-
8bea02f: Release of
@ogma/common
and@ogma/styler
. Upgrade@ogma/nestjs-module
to be 100% compatible with Nest's logger@ogma/logger
now depends on@ogma/common
and@ogma/styler
for types and string styling, instead of managing it on its own@ogma/nestjs-module
now acceptstrace
as the second parameter toerror
instead ofcontext
.meta
can still be passed as a second parameter too or it can be a third parameter.@ogma/logger
now sets anool
property when logging in JSON mode to accommodate when using a custom log map@ogma/logger
no longer needs thestream
property to have ahasColor
function@ogma/cli
now reads from theool
property insteadlevel
to allow writing back to Ogma's standard format
@ogma/logger
now correctly logs Error objects the same wayprocess.stdout
does instead of logging{}
@ogma/logger
can accept alevelMap
property for custom level mapping@ogma/logger
'sstream
option can now have agetColorDepth
property method, but it is not necessary
I wanted to be able to have full control over string styles and this gave me a great chance to learn about SGRs and how they work. Along with that, this gave me the perfect opportunity to make some changes to the logger to be more compliant with Nest's logger and have better compatibility with it.
I tried to make this is painless as possible in terms of breaking changes. For the most part, you should just be able to upgrade with no problems. If you have a stream with
hasColor
you will need to remove that method. You may want to add in thegetColorDepth
method, but can also just useFORCE_COLOR
if necessary.
- Updated dependencies [8bea02f]
- @ogma/[email protected]
- @ogma/[email protected]
-
bbf66f6: Major release of @ogma
The
ogma
command has been moved from@ogma/logger
to@ogma/cli
. There are no other breaking changes. This change was made to keep the package size as small as possible and to keep the code clean and maintainable.
- Updated dependencies [bbf66f6]
- @ogma/[email protected]
- @ogma/[email protected]
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.4.4 (2021-01-01)
- gql: interceptors now work with subscriptions (55ba385)
0.4.3 (2020-10-30)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.4.2 (2020-10-26)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.4.1 (2020-10-25)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.4.0 (2020-10-25)
- all: log methods now take an object as the second parameter instead of having 3 extra optional parameters
0.3.1 (2020-09-12)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.3.0 (2020-09-05)
- all: fix the failing build for fastify (f166eab)
0.2.2 (2020-08-10)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.2.1 (2020-07-25)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.2.0 (2020-07-20)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.1.2 (2020-07-18)
Note: Version bump only for package @ogma/platform-graphql-fastify
0.1.1 (2020-07-18)
- gql: updates gql types to work with apollo > 2.11 (a097842)
- gql-fastify: update types for graphql-fastify (83335e6)