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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ In the future, this is expected to change. It's likely that at 0.5.0, we will de

Format [Keep A ChangeLog](https://keepachangelog.com/en/1.0.0/)

## [0.5.0-beta.1]

### Changed
- [185](https://github.com/evinism/mistql/pull/185)
JS: Updated `filterkeys`, `filtervalues`, `matchkeys`,`matchvalues` to reject non-objects.
- [203](https://github.com/evinism/mistql/pull/203)Python: Made typeguard opt-in via env var.
- [201](https://github.com/evinism/mistql/pull/201)Python: Enabled an LRU cache for the parser.
- [202](https://github.com/evinism/mistql/pull/202)Python: Enabled lazy conversion and evaluation of input objects via an opt-in instance flag.

### Fixed
- [185](https://github.com/evinism/mistql/pull/185) Made `string` throw errors for deeply-nested non-stringable values.
- [185](https://github.com/evinism/mistql/pull/185) JS: Modulo operator now throws an error for division by zero.

## [0.4.12]

### Changed
Expand Down
4 changes: 2 additions & 2 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mistql",
"version": "0.4.12",
"version": "0.5.0-beta.1",
"description": "JS implementation of miniature query language",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
Expand All @@ -12,7 +12,7 @@
"bin"
],
"bin": {
"mq": "./bin/mq.js"
"mq": "bin/mq.js"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.4.12"
"version": "0.5.0-beta.1"
}
2 changes: 1 addition & 1 deletion py/mistql/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.4.12"
__version__ = "0.5.0b1"

from .query import query # noqa: F401
from .instance import MistQLInstance # noqa: F401
Expand Down
2 changes: 1 addition & 1 deletion py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages = ["mistql"]

[project]
name = "mistql"
version = "0.4.12"
version = "0.5.0b1"
description = "Python implementation of MistQL query language"
readme = "README.md"
requires-python = ">=3.8.1"
Expand Down
2 changes: 1 addition & 1 deletion py/tests/test_mistql.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_version():
meta_file_path = os.path.join(os.path.dirname(__file__), "..", "..", "meta.json")
assert __version__ == toml.load(pyproject_path)["project"]["version"]
with open(meta_file_path) as f:
assert __version__ == json.load(f)["version"]
assert __version__ == json.load(f)["version"].replace("-beta.", "b")


def test_query_is_callable():
Expand Down
2 changes: 1 addition & 1 deletion py/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions version-cutting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ This is a checklist (mostly for me) on how to cut a new version of MistQL.
1. Update the version in `py/mistql/__init__.py`
1. Update the version in `py/pyproject.toml`
1. Update the version in `js/package.json`
1. Update the version in `meta.yaml`
1. Update the version in `meta.json`
1. Build the python via `talc build py` to update the version in the wheel.
1. One final test via `talc test all`
1. Commit the changes (You should have 5 files changed)
1. Commit the changes (You should have 6 files changed)
1. Publish the npm and pypi packages via `talc publish js` and `talc publish py`
1. Update the doc version of MistQL
1. Version the docs via `npm run docusaurus docs:version X.Y.Z`
1. Commit the changes
1. Push the branch
1. Create a PR and merge it


Notes:
- Beta versions are formatted as `X.Y.Z-beta.N` for JS and `X.Y.ZbN` for Python, starting with N=1.
Loading