Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
subject-path: "dist/*.whl"

- name: Upload artefacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dist-wheels
path: ./dist/*.whl
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
subject-path: "dist/*.tar.gz"

- name: Upload artefacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dist-sdist
path: ./dist/*.tar.gz
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: dist-wheels
path: wheelhouse
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.13
rev: v0.15.15
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/rvben/rumdl-pre-commit
rev: v0.1.87
rev: v0.2.3
hooks:
- id: rumdl
- repo: https://github.com/zizmorcore/zizmor-pre-commit
Expand Down
13 changes: 1 addition & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@

## 2.0.0 (In development)

* The shim now writes to Apple's unified logging system (`os_log`) instead
of the deprecated `NSLog` API. Output written to `stdout` and `stderr`
appears in Console.app and `log stream` as before, but is now tagged with
the `OS_LOG_TYPE_DEFAULT` and `OS_LOG_TYPE_ERROR` levels respectively,
so the two streams can be filtered separately.
* The `STD_NSLOG_SUBSYSTEM` and `STD_NSLOG_CATEGORY` environment variables
can be used to associate log output with a specific subsystem and category
for `log` predicate filtering. If unset, `OS_LOG_DEFAULT` is used,
preserving the legacy behavior.
* The package now ships a native extension module (`_oslog_shim`) and is
therefore distributed as platform-specific wheels for macOS and iOS rather
than a pure-Python wheel.
* The shim now writes to Apple's unified logging system (`os_log`) instead of the deprecated `NSLog` API. Output written to `stdout` and `stderr` appears in Console.app and `log stream` as before, but is now tagged with the `OS_LOG_TYPE_DEFAULT` and `OS_LOG_TYPE_ERROR` levels respectively, so the two streams can be filtered separately.
* The `encoding` attribute on the writer is now `"utf-8"` (previously `"utf-16-le"` / `"utf-16-be"`), reflecting the underlying API.

## 1.0.3 (November 25 2022)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools==82.0.0",
"setuptools_scm==9.2.2",
"setuptools==82.0.1",
"setuptools_scm==10.0.5",
]
build-backend = "setuptools.build_meta"

Expand Down
Loading