Skip to content
Open
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog


## Version 4.0.1 (2026-09-11)

* Migrate away from using `dart.library.js` in conditional import (the library
is going to be removed in the future, which will make the condition
evaluate to false)

## Version 4.0.0 (2025-02-12)

* Add support for utf-16 in ans1_bmp_string.dart
Expand Down
2 changes: 1 addition & 1 deletion lib/src/platform_check/platform_check.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:pointycastle/src/impl/entropy.dart';

import 'abstract.dart'
if (dart.library.io) 'native.dart'
if (dart.library.js) 'web.dart';
if (dart.library.js_interop) 'web.dart';

abstract class Platform {
static Platform get instance => getPlatform();
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pointycastle
version: 4.0.0
version: 4.0.1
description: A Dart library implementing cryptographic algorithms and primitives, modeled on the BouncyCastle library.
homepage: https://github.com/bcgit/pc-dart
topics:
Expand Down