Commit Graph

90 Commits

Author SHA1 Message Date
denobot
c5d7930d57
chore: release 2024.09.12 (#5969)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-12 19:18:10 +09:00
Yoshiya Hinosawa
e564069936
chore: lint docs of unstable paths (#5940) 2024-09-12 12:59:12 +09:00
Yoshiya Hinosawa
95d4c19c5d
refactor(uuid): move UUID v7 APIs to ./unstable-v7 (#5937) 2024-09-11 20:23:31 +09:00
denobot
67e9cfa0ff
chore: release 2024.09.04 (#5908)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +09:00
Liam Tait
b808ee6de6
feat(uuid/unstable): @std/uuid/v7 (#5887)
* feat(uuid): add uuid v7 generation and validation

* remove as string

* fmt

* update mod-exports check

* mark more items experimental

* fix test name

* call getRandomValues once

* add checks for user provided timestamp

* fmt

* consolidate checks

* fix missing options.timestamp

* consolidate error check

* use pre-shifted variant and version

* add extractTimestamp function for UUIDv7

* remove random option from uuid v7 generate

* fix import statements for extractTimestamp function in uuid/v7.ts

* remove bad comment

* tweaks

* add uuid v7 module doc

* fmt

* align extractTimestamp invalid uuid error message with style guide

* fmt

* add experimental tags

* use timestamp argument instead of options generate v7 uuid

* fmt

* tweak

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-04 02:57:49 +00:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Yoshiya Hinosawa
600dfa47b1
test(uuid): assert error message of version() (#5819) 2024-08-26 13:45:37 +09:00
Ian Bull
96bc247998
refactor(uuid): align additional error messages (#5803) 2024-08-26 13:36:01 +09:00
denobot
f7f275bd3b
chore: release 2024.08.16 (#5687)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-16 15:33:08 +09:00
David Luis
1428c9c94c
perf(uuid): make uuidToBytes() up to 2.5x faster (#5670)
perf(uuid): make `uuidToBytes` up to 2.5x faster
2024-08-10 08:48:05 +02:00
David Luis
0333255ead
perf(uuid): make bytesToUuid() up to 100x faster (#5655)
perf(uuid): make `bytesToUuid()` 100x faster
2024-08-08 11:45:56 +02:00
Yoshiya Hinosawa
d753d4ba7b
chore: release uuid@1.0.0 (#5200)
chore: release uuid@1.0.0
2024-07-01 20:04:00 +10:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
Asher Gomez
cfa7cbc16c
chore(uuid): release uuid@1.0.0-rc.1 (#4867)
* chore(uuid): release `uuid@1.0.0-rc.1`

* temp fix

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-31 22:03:36 +10:00
Asher Gomez
0bfa4faed5
BREAKING(uuid): remove V1Options in favor of GenerateOptions (#4925) 2024-05-31 11:48:51 +00:00
Asher Gomez
b1684ec912
BREAKING(uuid): remove v1.generate() signature with buf and offset parameters and number[] return type (#4877) 2024-05-31 21:10:04 +10:00
denobot
673c436739
chore: release 2024.05.29 (#4883)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-29 18:56:12 +09:00
Asher Gomez
bd7c465ccb
fix(uuid): validate namespace UUIDs in v3.generate() and v5.generate() (#4874)
* fix(uuid): validate namespace UUIDs

* update

* revert

* tweak

* tweaks
2024-05-29 19:09:30 +10:00
Asher Gomez
5ffeab756e
deprecation(uuid): deprecate v1.generate() signature with buf and offset parameters (#4880) 2024-05-29 19:07:20 +10:00
Asher Gomez
fc3d376447
test(uuid): add tests for invalid namespace UUID (#4875) 2024-05-29 18:19:55 +10:00
Asher Gomez
a0b0f4c553
deprecation(uuid): rename V1Options to GenerateOptions (#4872)
* refactor(uuid): deprecate `V1Options` in favor of `GenerateOptions`

* tweak
2024-05-29 17:47:06 +10:00
Marvin Hagemeister
999e5e7a97
docs(uuid): update module docs (#4790) 2024-05-29 15:47:42 +10:00
denobot
51dc36d563
chore: release 2024.05.22 (#4830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 19:57:28 +09:00
Yoshiya Hinosawa
722844250d
docs(csv,encoding,http,json,media-types,uuid): use rfc-editor.org for RFC links (#4777)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-20 16:14:09 +09:00
denobot
66e8fc9869
chore: release 2024.05.16 (#4755)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-16 20:10:44 +09:00
Asher Gomez
89d95a5633
refactor(uuid): factor out common symbols into common module (#4749) 2024-05-16 16:18:08 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Simon Holloway
5c23dcbe86
refactor(uuid): prepare for noUncheckedIndexedAccess (#4445)
* refactor(uuid): prepare for `noUncheckedIndexedAccess`

* added a test and updated the error message

* changed to !== 6 and added another test

* update error message to be clearer
2024-03-11 08:59:30 +11:00
Nano Miratus
514a0270dd
feat(uuid): add type predicate return type to validate (v4) (#4301) 2024-02-29 13:52:53 +09:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
David Luis
328e3d2a88
docs(uuid): complete documentation (#4044)
* chore(uuid): complete documentation

* fmt

* tweaks

* further tweaks

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-31 09:40:48 +11:00
David Luis
29015d20c1
refactor(uuid): format test names and improve test coverage (#4002)
* chore(uuid): improve test coverage and format test names

* refactor: remove version prefix
2023-12-21 08:52:37 +11:00
Asher Gomez
029a3edc7d
BREAKING(bytes): deprecate concat() signatures that don't use Uint8Array[] argument (#3784)
* BREAKING(bytes): deprecate spreaded `concat()`

* fix

* cleanup
2023-11-13 16:34:32 +11:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
David Luis
a5b9694784
feat(uuid): add pre-defined namespace UUIDs (#3352) 2023-05-02 23:51:43 +09:00
Lino Le Van
934cb11a7e
feat(uuid): uuid v3 (#3324) 2023-04-25 11:03:15 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
e1117a8c0d
refactor(bytes): move to single-export files (#2955) 2022-11-29 15:01:21 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
792f1334fe
refactor: use _util/asserts.ts for non-test code (#2857) 2022-11-10 16:28:20 +09:00
Asher Gomez
db40030a4f
chore(uuid): cleanup unused internal functions (#2797) 2022-10-21 17:40:24 +09:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
Asher Gomez
bddda3c473
chore: remove deprecated APIs across collections, streams, textproto and uuid (#2720) 2022-09-30 16:27:11 +09:00
Tim Reichen
2f7713a164
chore(tools): add deprecation check (#2613) 2022-09-15 16:06:04 +09:00
Erfan Safari
04dee6e627
chore(uuid): add missing new identifier (#2650) 2022-09-13 17:22:50 -04:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
Bartek Iwańczuk
a06298b0b5
chore: Update top level module JSDocs (#2343)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-14 11:20:56 +02:00
like-nanhai
c75454c44b
docs: add module level docs (#2190) 2022-05-04 19:34:37 +09:00
Jesse Jackson
ac880e83e3
refactor(uuid): mark modules as browser compatible (#2040) 2022-03-19 00:46:13 +09:00