Skip to content

Commit

Permalink
Prepare release 2.3.0 (#50)
Browse files Browse the repository at this point in the history
* Versions and date updated

* Buildout updated

* Fixed doctest

* Removed orphan comment
  • Loading branch information
ramonski authored Oct 3, 2022
1 parent 4e5a093 commit 58f7d31
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Feedback and support
License
-------

**SENAITE.JSONAPI** Copyright (C) 2017-2020 RIDING BYTES & NARALABS
**SENAITE.JSONAPI** Copyright (C) 2017-2022 RIDING BYTES & NARALABS

This program is free software; you can redistribute it and/or modify it under
the terms of the `GNU General Public License version 2
Expand Down
17 changes: 0 additions & 17 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,13 @@ user = ${buildout:plone-user}
wsgi = on
eggs =
Plone
plone.app.upgrade
${buildout:package-name}
${buildout:eggs}
deprecation-warnings = on
environment-vars =
zope_i18n_compile_mo_files true
zcml =

[instance:python27]
recipe = plone.recipe.zope2instance
http-address = 127.0.0.1:8080
user = ${buildout:plone-user}
wsgi = off
eggs =
Plone[archetypes]
plone.app.upgrade
${buildout:package-name}
${buildout:eggs}
deprecation-warnings = on
environment-vars =
zope_i18n_compile_mo_files true
resources = ${buildout:directory}/resources
zcml =

[i18ndude]
unzip = true
recipe = zc.recipe.egg
Expand Down
3 changes: 1 addition & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ Changelog
=========


2.3.0 (unreleased)
2.3.0 (2022-10-03)
------------------

- #49 Fix no error message is sent back for push consumer calls
- no changes yet


2.2.0 (2022-06-10)
Expand Down
3 changes: 0 additions & 3 deletions src/senaite/jsonapi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@
#
# Copyright 2017-2022 by it's authors.
# Some rights reserved, see README and LICENSE.

# The creation of objects from portal types that belong to these products are
# not supported, unless a custom adapter of ICreate is provided
2 changes: 2 additions & 0 deletions src/senaite/jsonapi/tests/doctests/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ required attribute:

>>> data = {"portal_type": "SampleType",
... "parent_path": api.get_path(setup.bika_sampletypes),
... "MinimumVolume": "20 ml",
... "title": "Fresh Egg",
... "Prefix": "FE"}
>>> post("create", data)
Expand Down Expand Up @@ -179,6 +180,7 @@ Create a Sample Type
... "parent_path": api.get_path(setup.bika_sampletypes),
... "title": "Fresh Egg",
... "MinimumVolume": "10 gr",
... "AdmittedStickerTemplates": [{"admitted": ["QR_1x14mmx39mm.pt"], "small_default": ["QR_1x14mmx39mm.pt"], "large_default": ["QR_1x14mmx39mm.pt"]}],
... "Prefix": "FE"}
>>> sample_type = create(data)
>>> sample_type.Title()
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/jsonapi/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from senaite.jsonapi import add_route as add_senaite_route

__version__ = "2.3.0"
__date__ = "2022-06-10"
__date__ = "2022-10-03"

BASE_URL = "/senaite/v1"

Expand Down

0 comments on commit 58f7d31

Please sign in to comment.