9.1 KiB
@openstapps/logger
4.0.2
Patch Changes
6b06de40: Updated nodemailer dependency
4.0.0
Major Changes
c8e29020: Update to Node 22
3.0.0
Major Changes
-
64caebaf: Move project to a turbo monorepo & pnpmInternal dependencies are now defined using
"@openstapps/package": "workspace:*"- Removed extraneous files from packages
.npmrc.npmignore.mailmap.gitignoreCONTRIBUTING.mdLICENSE(Project license file is added upon publishing, see pnpm.io)package-lock.json.editorconfig.eslintrc.json(moved eslint config topackage.json).eslintignore.gitlab-ci.yml(Most workflows are workspace-level).gitlab/**(issue templates etc. are now workspace-level).dockerignore(Docker files are determined by which files are deployed withpnpm deploy, as perpackage.json/files)
- TSConfig has been moved to its own package (You can now use
"extends": "@openstapps/tsconfig") - Removed ESLint and Prettier peer dependency hell by injecting them through the
.pnpmfile.cjs - Added syncpack for keeping dependency versions in sync (and consistent key ordering in
package.json) - Replaced conventional changelog with changesets
- Apps with binaries now use a top level
app.js
#!/usr/bin/env node import './lib/app.js'; - Removed extraneous files from packages
-
64caebaf: Migrate to ESMCommonJS is no longer supported in any capacity. To use the new version, you will need to migrate your package to ESM. We recommend using
tsupandNode 18.{ "type": "module" } -
64caebaf: Migrate package to Node 18- Consumers of this package will need to migrate to Node 18 or higher.
- Packages have been migrated from promisified
readFileorreadFileSynctowardsfs/promises - Packages use native
flatMapnow
-
64caebaf: Migrate build system totsupAll packages now use an
index.tsfile to expose contents.You will need to migrate paths from
import foo from '@scope/package/lib/footoimport foo from '@scope/package'
Minor Changes
-
64caebaf: Migrate tests to C8/Chai/Mocha@testdeckOOP testing has been removed.- Tests have been unified
- CommonJS module mocking has been replaced through refactoring of tests, as ES Modules cannot be mocked (do yourself a favor and don't try to mock them)
- C8 now replaces NYC as a native coverage tool
-
64caebaf: Migrate away from@krlwlfrt/async-poolimport {mapAsyncLimit} from '@openstapps/collection-utils'; await mapAsyncLimit( [1, 2, 3], async it => { await someNetworkRequest(it); }, 5, );
Patch Changes
-
64caebaf: Migrated changelogs to changeset formatimport fs from 'fs'; const path = 'packages/logger/CHANGELOG.md'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); -
98546a97: Migrate away from @openstapps/configuration -
23481d0d: Update to TypeScript 5.1.6 -
98546a97: Fix an issue with chalk terminal colors in tests
3.0.0-next.4
Patch Changes
23481d0d: Update to TypeScript 5.1.6
3.0.0-next.0
Major Changes
-
64caebaf: Move project to a turbo monorepo & pnpmInternal dependencies are now defined using
"@openstapps/package": "workspace:*"- Removed extraneous files from packages
.npmrc.npmignore.mailmap.gitignoreCONTRIBUTING.mdLICENSE(Project license file is added upon publishing, see pnpm.io)package-lock.json.editorconfig.eslintrc.json(moved eslint config topackage.json).eslintignore.gitlab-ci.yml(Most workflows are workspace-level).gitlab/**(issue templates etc. are now workspace-level).dockerignore(Docker files are determined by which files are deployed withpnpm deploy, as perpackage.json/files)
- TSConfig has been moved to its own package (You can now use
"extends": "@openstapps/tsconfig") - Removed ESLint and Prettier peer dependency hell by injecting them through the
.pnpmfile.cjs - Added syncpack for keeping dependency versions in sync (and consistent key ordering in
package.json) - Replaced conventional changelog with changesets
- Apps with binaries now use a top level
app.js
#!/usr/bin/env node import './lib/app.js'; - Removed extraneous files from packages
-
64caebaf: Migrate to ESMCommonJS is no longer supported in any capacity. To use the new version, you will need to migrate your package to ESM. We recommend using
tsupandNode 18.{ "type": "module" } -
64caebaf: Migrate package to Node 18- Consumers of this package will need to migrate to Node 18 or higher.
- Packages have been migrated from promisified
readFileorreadFileSynctowardsfs/promises - Packages use native
flatMapnow
-
64caebaf: Migrate build system totsupAll packages now use an
index.tsfile to expose contents.You will need to migrate paths from
import foo from '@scope/package/lib/footoimport foo from '@scope/package'
Minor Changes
-
64caebaf: Migrate tests to C8/Chai/Mocha@testdeckOOP testing has been removed.- Tests have been unified
- CommonJS module mocking has been replaced through refactoring of tests, as ES Modules cannot be mocked (do yourself a favor and don't try to mock them)
- C8 now replaces NYC as a native coverage tool
-
64caebaf: Migrate away from@krlwlfrt/async-poolimport {mapAsyncLimit} from '@openstapps/collection-utils'; await mapAsyncLimit( [1, 2, 3], async it => { await someNetworkRequest(it); }, 5, );
Patch Changes
-
64caebaf: Migrated changelogs to changeset formatimport fs from 'fs'; const path = 'packages/logger/CHANGELOG.md'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); -
98546a97: Migrate away from @openstapps/configuration -
98546a97: Fix an issue with chalk terminal colors in tests
1.1.1 (2022-11-08)
Bug Fixes
- removing transformations in production (8d6ea04)
1.1.0 (2022-11-01)
Bug Fixes
- compatibility with log aggregators (8aef5b8)
1.0.1 (2022-10-12)
1.0.0 (2022-08-17)
0.8.1 (2022-05-27)
0.8.0 (2021-12-14)
0.7.0 (2021-05-18)
0.6.0 (2021-04-06)
Bug Fixes
- log level exclusiveness calculation (100b921)
Features
- add EXIT log level (edc6e6f)
0.4.0 (2019-07-12)
Features
0.3.1 (2019-06-05)
Bug Fixes
- correct meta information for imports (d2cb99f)
0.3.0 (2019-06-04)
0.2.1 (2019-05-27)
0.2.0 (2019-05-27)
Features
0.1.0 (2019-05-07)
0.0.5 (2019-01-16)
Features
0.0.4 (2018-11-28)
0.0.3 (2018-11-28)
0.0.2 (2018-11-28)
0.0.1 (2018-11-28)
Features
- add logger (911d71c)